Ignore:
Timestamp:
2011/03/05 13:17:47 (13 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/admin/basis/seo.tpl

    r20509 r20516  
    3030    <!--{if count($arrPageData) > 0}--> 
    3131        <!--{foreach name=device key=device_key item=arrDevicePageData from=$arrPageData}--> 
    32         <!--{if count($arrDevicePageData) > 0}--> 
    33         <!--{foreach name=page key=key item=item from=$arrDevicePageData}--> 
    34         <!-- <!--{$item.page_name}--> ここから --> 
    35         <!--{if $smarty.foreach.page.first == true}--><h1><!--{$arrDeviceTypeName[$item.device_type_id]}--></h1><!--{/if}--> 
    36         <h2><!--{$item.page_name}--> <!--{$item.url}--></h2> 
     32            <!--{if count($arrDevicePageData) > 0}--> 
     33                <!--{foreach name=page key=key item=item from=$arrDevicePageData}--> 
     34                    <!-- <!--{$item.page_name}--> ここから --> 
     35                    <!--{if $smarty.foreach.page.first == true}--><h1><!--{$arrDeviceTypeName[$item.device_type_id]}--></h1><!--{/if}--> 
     36                    <h2><!--{$item.page_name}--> <!--{$item.url}--></h2> 
    3737 
    38         <div id=" 
    39                  _<!--{$item.device_type_id}-->_<!--{$item.page_id}-->"> 
    40             <table> 
    41                 <tr> 
    42                     <th>メタタグ:Author</th> 
    43                     <td> 
    44                     <span class="attention"><!--{$arrErr[$item.device_type_id][$item.page_id].author}--></span> 
    45                     <input type="text" name="meta[<!--{$item.device_type_id}-->][<!--{$item.page_id}-->][author]" value="<!--{$item.author|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style='<!--{if $arrErr[$item.page_id].author != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->' /><span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></td> 
    46                 </tr> 
    47                 <tr> 
    48                     <th>メタタグ:Description</th> 
    49                     <td> 
    50                     <span class="attention"><!--{$arrErr[$item.device_type_id][$item.page_id].description}--></span> 
    51                     <input type="text" name="meta[<!--{$item.device_type_id}-->][<!--{$item.page_id}-->][description]" value="<!--{$item.description|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style='<!--{if $arrErr[$item.page_id].description != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->' /><span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></td> 
    52                 </tr> 
    53                 <tr> 
    54                     <th>メタタグ:Keywords</th> 
    55                     <td> 
    56                     <span class="attention"><!--{$arrErr[$item.device_type_id][$item.page_id].keyword}--></span> 
    57                     <input type="text" name="meta[<!--{$item.device_type_id}-->][<!--{$item.page_id}-->][keyword]" value="<!--{$item.keyword|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style='<!--{if $arrErr[$item.page_id].keyword != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->' /><span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></td> 
    58                 </tr> 
    59             </table> 
    60          
    61             <div class="btn-area"> 
    62                 <ul> 
    63                     <li><a class="btn-action" href="javascript:;" onclick="document.form1.device_type_id.value = <!--{$item.device_type_id}-->; document.form1.page_id.value = <!--{$item.page_id}-->; fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li> 
    64                 </ul> 
    65             </div> 
    66          
    67         </div> 
    68         <!-- <!--{$item.page_name}--> ここまで --> 
    69         <!--{/foreach}--> 
    70         <!--{/if}--> 
     38                    <div id="_<!--{$item.device_type_id}-->_<!--{$item.page_id}-->"> 
     39                        <table> 
     40                            <tr> 
     41                                <th>メタタグ:Author</th> 
     42                                <td> 
     43                                <span class="attention"><!--{$arrErr[$item.device_type_id][$item.page_id].author}--></span> 
     44                                <input type="text" name="meta[<!--{$item.device_type_id}-->][<!--{$item.page_id}-->][author]" value="<!--{$item.author|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style='<!--{if $arrErr[$item.page_id].author != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->' /><span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></td> 
     45                            </tr> 
     46                            <tr> 
     47                                <th>メタタグ:Description</th> 
     48                                <td> 
     49                                <span class="attention"><!--{$arrErr[$item.device_type_id][$item.page_id].description}--></span> 
     50                                <input type="text" name="meta[<!--{$item.device_type_id}-->][<!--{$item.page_id}-->][description]" value="<!--{$item.description|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style='<!--{if $arrErr[$item.page_id].description != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->' /><span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></td> 
     51                            </tr> 
     52                            <tr> 
     53                                <th>メタタグ:Keywords</th> 
     54                                <td> 
     55                                <span class="attention"><!--{$arrErr[$item.device_type_id][$item.page_id].keyword}--></span> 
     56                                <input type="text" name="meta[<!--{$item.device_type_id}-->][<!--{$item.page_id}-->][keyword]" value="<!--{$item.keyword|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" size="60" class="box60" style='<!--{if $arrErr[$item.page_id].keyword != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->' /><span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span></td> 
     57                            </tr> 
     58                        </table> 
     59 
     60                        <div class="btn-area"> 
     61                            <ul> 
     62                                <li><a class="btn-action" href="javascript:;" onclick="document.form1.device_type_id.value = <!--{$item.device_type_id}-->; document.form1.page_id.value = <!--{$item.page_id}-->; fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li> 
     63                            </ul> 
     64                        </div> 
     65 
     66                    </div> 
     67                    <!-- <!--{$item.page_name}--> ここまで --> 
     68                <!--{/foreach}--> 
     69            <!--{/if}--> 
    7170        <!--{/foreach}--> 
    7271    <!--{else}--> 
Note: See TracChangeset for help on using the changeset viewer.