Ignore:
Timestamp:
2011/01/19 11:23:20 (13 years ago)
Author:
uemoto
Message:

#382(管理画面XHTMLに変更)

  • 細部調整
File:
1 edited

Legend:

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

    r19954 r19965  
    8989        <tr> 
    9090            <td colspan="2"> 
    91  
    92                 <label for="header-chk"><input type="checkbox" name="header_chk" id="header-chk" <!--{$arrPageData.header_chk}--> />共通のヘッダーを使用する</label>&nbsp; 
    93                 <label for="footer-chk"><input type="checkbox" name="footer_chk" id="footer-chk" <!--{$arrPageData.footer_chk}--> />共通のフッターを使用する</label> 
     91                <label for="header-chk"><input type="checkbox" name="header_chk" id="header-chk" checked="<!--{$arrPageData.header_chk}-->" />共通のヘッダーを使用する</label>&nbsp; 
     92                <label for="footer-chk"><input type="checkbox" name="footer_chk" id="footer-chk" checked="<!--{$arrPageData.footer_chk}-->" />共通のフッターを使用する</label> 
    9493                <div> 
    95                     <textarea id="tpl_data" name="tpl_data" rows=<!--{$text_row}--> style="width: 100%;"><!--{$arrPageData.tpl_data|h|smarty:nodefaults}--></textarea> 
    96                     <input type="hidden" name="html_area_row" value="<!--{$text_row}-->" /> 
     94                    <textarea id="tpl_data" class="top" name="tpl_data" rows=<!--{$text_row}--> style="width: 98%;"><!--{$arrPageData.tpl_data|h|smarty:nodefaults}--></textarea> 
     95                    <input type="hidden" name="html_area_row" value="<!--{$text_row}-->" /><br /> 
    9796                    <a id="resize-btn" class="btn-normal" href="javascript:;" onclick="ChangeSize('#resize-btn', '#tpl_data', 50, 13); return false;"><span>拡大</span></a> 
    9897                </div> 
     
    101100    </table> 
    102101 
    103  
    104     <div class="btn"> 
    105       <a class="btn-action" href="javascript:;" name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form_edit','confirm','',''); return false;"><span class="btn-next">登録する</span></a> 
    106       <a class="btn-normal" href="javascript:;" name='preview' onclick="doPreview(); return false;"><span>プレビュー</span></a> 
     102    <div class="btn-area"> 
     103        <ul> 
     104          <li><a class="btn-action" href="javascript:;" name='preview' onclick="doPreview(); return false;"><span class="btn-prev">プレビュー</span></a></li> 
     105          <li><a class="btn-action" href="javascript:;" name='subm' onclick="fnTargetSelf(); fnFormModeSubmit('form_edit','confirm','',''); return false;"><span class="btn-next">登録する</span></a></li> 
     106        </ul> 
    107107    </div> 
    108108 
    109109    <h2>編集可能ページ一覧</h2> 
    110     <table class="list center"> 
     110    <table class="list"> 
     111        <colgroup width="70%"> 
     112        <colgroup width="10%"> 
     113        <colgroup width="10%"> 
     114        <colgroup width="10%"> 
    111115        <tr> 
    112116            <th>名称</th> 
    113117            <th>レイアウト</th> 
    114             <th><strong>ページ詳細</strong></th> 
     118            <th>ページ詳細</th> 
    115119            <th>削除</th> 
    116120        </tr> 
     
    120124                    <!--{$item.page_name}--> 
    121125                </td> 
    122                 <td> 
     126                <td class="center"> 
    123127                    <a href="./<!--{$smarty.const.DIR_INDEX_URL}-->?page_id=<!--{$item.page_id}-->&amp;device_type_id=<!--{$item.device_type_id}-->" >編集</a> 
    124128                </td> 
    125                 <td> 
     129                <td class="center"> 
    126130                    <!--{if $item.filename|strlen >= 1}--> 
    127131                        <a href="?page_id=<!--{$item.page_id}-->&amp;device_type_id=<!--{$item.device_type_id}-->">編集</a> 
    128132                    <!--{/if}--> 
    129133                </td> 
    130                 <td> 
     134                <td class="center"> 
    131135                    <!--{if $item.edit_flg == 1}--> 
    132136                        <a href="javascript:;" onclick="fnTargetSelf(); fnFormModeSubmit('form_edit','delete','page_id','<!--{$item.page_id|escape:'javascript'|h}-->'); return false;">削除</a> 
Note: See TracChangeset for help on using the changeset viewer.