Changeset 19840


Ignore:
Timestamp:
2011/01/06 17:31:19 (13 years ago)
Author:
yomoro
Message:

#748 スマートフォンのデザイン管理機能の実現。管理画面においてスマートフォンとモバイルはレイアウト調整は1カラムになるよう調整。

File:
1 edited

Legend:

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

    r19802 r19840  
    114114                <!-- ★☆★ 上部ナビテーブル ☆★☆ --> 
    115115            </tr> 
     116             
     117        <!--{if $device_type_id == $smarty.const.DEVICE_TYPE_MOBILE || $device_type_id == $smarty.const.DEVICE_TYPE_SMARTPHONE}--> 
     118            <!--{* メイン上部テーブルここから *}--> 
     119            <tr> 
     120                <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}-->" class="ui-sortable"> 
     121                    <!--{assign var="firstflg" value=false}--> 
     122                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> 
     123                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_HEAD]}--> 
     124                            <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> 
     125                                <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> 
     126                                <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> 
     127                                <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> 
     128                                <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> 
     129                                <!--{$item.name}--> 
     130                                <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label>  
     131                            </div> 
     132                            <!--{assign var="firstflg" value=true}--> 
     133                        <!--{/if}--> 
     134                    <!--{/foreach}--> 
     135                </td> 
     136            </tr> 
     137            <!--{* メイン上部テーブルここまで *}--> 
     138            <!--{* メインここから *}--> 
     139            <tr> 
     140                <th colspan="3" id="layout-main">メイン</td> 
     141            </tr> 
     142            <!--{* メインここまで *}--> 
     143            <!--{* メイン下部ここから *}--> 
     144            <tr> 
     145                <td colspan="3" id="<!--{$arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}-->" class="ui-sortable"> 
     146                    <!--{assign var="firstflg" value=false}--> 
     147                    <!--{foreach key=key item=item from=$tpl_arrBloc name="bloc_loop"}--> 
     148                        <!--{if $item.target_id == $arrTarget[$smarty.const.TARGET_ID_MAIN_FOOT]}--> 
     149                            <div class="sort<!--{if !$firstflg}--> first<!--{/if}-->"> 
     150                                <input type="hidden" class="name" name="name_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.name}-->" /> 
     151                                <input type="hidden" class="id" name="id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_id}-->" /> 
     152                                <input type="hidden" class="target-id" name="target_id_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.target_id}-->" /> 
     153                                <input type="hidden" class="top" name="top_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="<!--{$item.bloc_row}-->" /> 
     154                                <!--{$item.name}--> 
     155                                <label class="anywherecheck">(<input type="checkbox" class="anywhere" name="anywhere_<!--{$smarty.foreach.bloc_loop.iteration}-->" value="1" <!--{$item.anywhere_selected}--> />全ページ)</label>  
     156                            </div> 
     157                            <!--{assign var="firstflg" value=true}--> 
     158                        <!--{/if}--> 
     159                    <!--{/foreach}--> 
     160                </td> 
     161            </tr> 
     162        <!--{else}--> 
    116163            <tr> 
    117164                <!--{* 左ナビテーブルここから *}--> 
     
    194241                </td> 
    195242            </tr> 
     243        <!--{/if}--> 
    196244            <tr> 
    197245            <!--{* メイン下部ここまで *}--> 
Note: See TracChangeset for help on using the changeset viewer.