Ignore:
Timestamp:
2011/03/05 03:37:32 (16 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

    r20407 r20509  
    2828<input type="hidden" name="page_id" value="" /> 
    2929<div id="basis" class="contents-main"> 
    30   <!--{if count($arrPageData) > 0}--> 
    31     <!--{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> 
    37      
    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}--> 
     30    <!--{if count($arrPageData) > 0}--> 
     31        <!--{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> 
     37 
     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}--> 
     71        <!--{/foreach}--> 
     72    <!--{else}--> 
     73        <div class="no-data"> 
     74            表示するデータがありません 
     75        </div> 
    7076    <!--{/if}--> 
    71     <!--{/foreach}--> 
    72   <!--{else}--> 
    73     <div class="no-data"> 
    74           表示するデータがありません 
    75     </div> 
    76   <!--{/if}--> 
    7777 
    7878</div> 
Note: See TracChangeset for help on using the changeset viewer.