Ignore:
Timestamp:
2011/01/19 14:36:49 (16 years ago)
Author:
kotani
Message:

#748 モバイル/スマートフォンのデザイン管理機能

  • SEO管理をデバイス毎に登録できるように改修
File:
1 edited

Legend:

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

    r19954 r19967  
    2424<form name="form1" id="form1" method="post" action="?" onSubmit="return window.confirm('登録しても宜しいですか');"> 
    2525<input type="hidden" name="mode" value="confirm"> 
     26<input type="hidden" name="device_type_id" value="" /> 
    2627<input type="hidden" name="page_id" value="" /> 
    2728<div id="basis" class="contents-main"> 
    2829  <!--{if count($arrPageData) > 0 }--> 
    29     <!--{foreach name=page key=key item=item from=$arrPageData}--> 
    30     <input type="hidden" name="disp_flg<!--{$item.page_id}-->" value="<!--{$disp_flg[$item.page_id]}-->" /> 
     30    <!--{foreach name=device key=device_key item=arrDevicePageData from=$arrPageData}--> 
     31    <!--{if count($arrDevicePageData) > 0 }--> 
     32    <!--{foreach name=page key=key item=item from=$arrDevicePageData}--> 
    3133    <!-- <!--{$item.page_name}--> ここから --> 
    32     <h2><!--{$item.page_name}--> <!--{$item.url}--><a href="#" id="switch<!--{$item.page_id}-->" style="float:right " onClick="fnDispChange('disp<!--{$item.page_id}-->', 'switch<!--{$item.page_id}-->', 'disp_flg<!--{$item.page_id}-->');"><!--{if $disp_flg[$item.page_id] == ""}--> &gt;&gt; 非表示<!--{else}--> << 表示<!--{/if}--></a></h2> 
     34    <!--{if $smarty.foreach.page.first == true}--><h1><!--{$arrDeviceTypeName[$item.device_type_id]}--></h1><!--{/if}--> 
     35    <h2><!--{$item.page_name}--> <!--{$item.url}--></h2> 
    3336     
    34     <div id="disp<!--{$item.page_id}-->" style="display:<!--{$disp_flg[$item.page_id]}-->"> 
     37    <div id=" 
     38         _<!--{$item.device_type_id}-->_<!--{$item.page_id}-->"> 
    3539      <table> 
    3640        <tr> 
    3741          <th>メタタグ:Author</th> 
    3842          <td> 
    39           <span class="attention"><!--{$arrErr[$item.page_id].author}--></span> 
    40           <input type="text" name="meta[<!--{$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> 
     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> 
    4145        </tr> 
    4246        <tr> 
    4347          <th>メタタグ:Description</th> 
    4448          <td> 
    45           <span class="attention"><!--{$arrErr[$item.page_id].description}--></span> 
    46           <input type="text" name="meta[<!--{$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> 
     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> 
    4751        </tr> 
    4852        <tr> 
    4953          <th>メタタグ:Keywords</th> 
    5054          <td> 
    51           <span class="attention"><!--{$arrErr[$item.page_id].keyword}--></span> 
    52           <input type="text" name="meta[<!--{$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> 
     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> 
    5357        </tr> 
    5458      </table> 
     
    5660      <div class="btn-area"> 
    5761        <ul> 
    58           <li><a class="btn-action" href="javascript:;" onclick="document.form1.page_id.value = <!--{$item.page_id}-->; fnFormModeSubmit('form1', 'confirm', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li> 
     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> 
    5963        </ul> 
    6064      </div> 
     
    6266    </div> 
    6367    <!-- <!--{$item.page_name}--> ここまで --> 
     68    <!--{/foreach}--> 
     69    <!--{/if}--> 
    6470    <!--{/foreach}--> 
    6571  <!--{else}--> 
Note: See TracChangeset for help on using the changeset viewer.