Ignore:
Timestamp:
2011/03/05 12:56:14 (13 years ago)
Author:
Seasoft
Message:

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

File:
1 edited

Legend:

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

    r20407 r20515  
    2323*}--> 
    2424 
    25 <form name="index_form"  method="post" action="?">  
    26   <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
    27   <input type="hidden" name="mode" value="confirm" /> 
     25<form name="index_form" method="post" action="?">  
     26    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> 
     27    <input type="hidden" name="mode" value="confirm" /> 
    2828    <div class="btn"> 
    2929        <a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('index_form', 'confirm', '', '');"><span class="btn-next">変更する</span></a> 
    3030    </div> 
    31       <table class="list"> 
     31    <table class="list"> 
    3232        <colgroup width="5%"> 
    3333        <colgroup width="5%"> 
     
    3535        <colgroup width="25%"> 
    3636        <colgroup width="43%"> 
    37       <tr> 
    38         <th colspan="2">インデックス</th> 
    39         <th rowspan="2">テーブル名</th> 
    40         <th rowspan="2">カラム名</th> 
    41         <th rowspan="2">説明</th> 
    42       </tr> 
    43       <tr> 
    44         <th>ON</th> 
    45         <th>OFF</th> 
    46       </tr> 
     37        <tr> 
     38            <th colspan="2">インデックス</th> 
     39            <th rowspan="2">テーブル名</th> 
     40            <th rowspan="2">カラム名</th> 
     41            <th rowspan="2">説明</th> 
     42        </tr> 
     43        <tr> 
     44            <th>ON</th> 
     45            <th>OFF</th> 
     46        </tr> 
    4747 
    48        
    49  <!--{section name=cnt loop=$arrForm}--> 
    50    
    51     <tr> 
    52     <td class="center"><input type="radio" name="indexflag_new[<!--{$smarty.section.cnt.iteration}-->]" value="1" <!--{if $arrForm[cnt].indexflag == "1"}-->checked<!--{/if}--> /></td> 
    53     <td class="center"><input type="radio" name="indexflag_new[<!--{$smarty.section.cnt.iteration}-->]" value="" <!--{if $arrForm[cnt].indexflag != "1"}-->checked<!--{/if}--> /></td> 
    54     <th class="column"><!--{$arrForm[cnt].table_name}--></th> 
    55     <th class="column"><!--{$arrForm[cnt].column_name}--></th> 
    56     <td><!--{$arrForm[cnt].recommend_comment}--></td> 
    57     </tr> 
    58 <input type="hidden" name="table_name[<!--{$smarty.section.cnt.iteration}-->]" value="<!--{$arrForm[cnt].table_name}-->" /> 
    59 <input type="hidden" name="column_name[<!--{$smarty.section.cnt.iteration}-->]" value="<!--{$arrForm[cnt].column_name}-->" /> 
    60 <input type="hidden" name="indexflag[<!--{$smarty.section.cnt.iteration}-->]" value="<!--{$arrForm[cnt].indexflag}-->" /> 
     48        <!--{section name=cnt loop=$arrForm}--> 
     49            <tr> 
     50                <td class="center"><input type="radio" name="indexflag_new[<!--{$smarty.section.cnt.iteration}-->]" value="1" <!--{if $arrForm[cnt].indexflag == "1"}-->checked<!--{/if}--> /></td> 
     51                <td class="center"><input type="radio" name="indexflag_new[<!--{$smarty.section.cnt.iteration}-->]" value="" <!--{if $arrForm[cnt].indexflag != "1"}-->checked<!--{/if}--> /></td> 
     52                <th class="column"><!--{$arrForm[cnt].table_name}--></th> 
     53                <th class="column"><!--{$arrForm[cnt].column_name}--></th> 
     54                <td><!--{$arrForm[cnt].recommend_comment}--></td> 
     55            </tr> 
     56            <input type="hidden" name="table_name[<!--{$smarty.section.cnt.iteration}-->]" value="<!--{$arrForm[cnt].table_name}-->" /> 
     57            <input type="hidden" name="column_name[<!--{$smarty.section.cnt.iteration}-->]" value="<!--{$arrForm[cnt].column_name}-->" /> 
     58            <input type="hidden" name="indexflag[<!--{$smarty.section.cnt.iteration}-->]" value="<!--{$arrForm[cnt].indexflag}-->" /> 
     59        <!--{/section}--> 
     60    </table> 
    6161 
    62 <!--{/section}--> 
    63 </table> 
    64  
    65 <a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('index_form', 'confirm', '', ''); return false;">変更する</a> 
     62    <a class="btn-normal" href="javascript:;" onclick="fnFormModeSubmit('index_form', 'confirm', '', ''); return false;">変更する</a> 
    6663</form> 
Note: See TracChangeset for help on using the changeset viewer.