Ignore:
Timestamp:
2008/03/04 18:45:03 (16 years ago)
Author:
satou
Message:

【管理画面>デザイン管理>レイアウト編集】左右ナビ位置の変更が反映されない不具合を改修。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2/data/Smarty/templates/default/site_main.tpl

    r17049 r17104  
    4242<div id="container"> 
    4343 
    44   <!--{if $tpl_column_num > 1}--> 
    4544  <!--{* ▼LEFT COLUMN *}--> 
     45  <!--{if $arrPageLayout.LeftNavi|@count > 0}--> 
    4646  <div id="leftcolumn"> 
    47  
    4847    <!--{* ▼左ナビ *}--> 
    49     <!--{if $arrPageLayout.LeftNavi|@count > 0}--> 
    5048      <!--{foreach key=LeftNaviKey item=LeftNaviItem from=$arrPageLayout.LeftNavi}--> 
    5149        <!-- ▼<!--{$LeftNaviItem.bloc_name}--> ここから--> 
     
    5755        <!-- ▲<!--{$LeftNaviItem.bloc_name}--> ここまで--> 
    5856      <!--{/foreach}--> 
    59     <!--{/if}--> 
    6057    <!--{* ▲左ナビ *}--> 
    6158  </div> 
     59  <!--{/if}--> 
    6260  <!--{* ▲LEFT COLUMN *}--> 
     61 
     62  <!--{* ▼CENTER COLUMN *}--> 
     63  <!--{if $tpl_column_num == 3}--> 
     64  <div id="three_maincolumn"> 
     65  <!--{elseif $tpl_column_num == 2}--> 
     66  <div id="two_maincolumn"> 
     67  <!--{elseif $tpl_column_num == 1}--> 
     68  <div id="one_maincolumn"> 
    6369  <!--{/if}--> 
    64  
    65   <!--{if $tpl_column_num == 3}--> 
    66   <!--{* ▼CENTER COLUMN *}--> 
    67   <div id="centercolumn"> 
    68   <!--{/if}--> 
    69  
    7070    <!--{* ▼メイン上部 *}--> 
    7171    <!--{if $arrPageLayout.MainHead|@count > 0}--> 
     
    8181    <!--{/if}--> 
    8282    <!--{* ▲メイン上部 *}--> 
    83  
    84     <!--{if $tpl_column_num == 1}--> 
    85     <div id="one_column"> 
    86     <!--{/if}--> 
     83     
     84    <!--{* ▼メイン *}--> 
    8785    <!--{include file=$tpl_mainpage}--> 
    88     <!--{if $tpl_column_num == 1}--> 
    89     </div> 
    90     <!--{/if}--> 
    91  
     86    <!--{* ▲メイン *}--> 
     87     
    9288    <!--{* ▼メイン下部 *}--> 
    9389    <!--{if $arrPageLayout.MainFoot|@count > 0}--> 
     
    10399    <!--{/if}--> 
    104100    <!--{* ▲メイン下部 *}--> 
    105  
    106   <!--{if $tpl_column_num == 3}--> 
    107101  </div> 
    108102  <!--{* ▲CENTER COLUMN *}--> 
    109103 
    110104  <!--{* ▼RIGHT COLUMN *}--> 
     105  <!--{if $arrPageLayout.RightNavi|@count > 0}--> 
    111106  <div id="rightcolumn"> 
    112107    <!--{* ▼右ナビ *}--> 
    113     <!--{if $arrPageLayout.RightNavi|@count > 0}--> 
    114108      <!--{foreach key=RightNaviKey item=RightNaviItem from=$arrPageLayout.RightNavi}--> 
    115109        <!-- ▼<!--{$RightNaviItem.bloc_name}--> ここから--> 
     
    121115        <!-- ▲<!--{$RightNaviItem.bloc_name}--> ここまで--> 
    122116      <!--{/foreach}--> 
    123     <!--{/if}--> 
    124117    <!--{* ▲右ナビ *}--> 
    125118  </div> 
     119  <!--{/if}--> 
    126120  <!--{* ▲RIGHT COLUMN *}--> 
    127   <!--{/if}--> 
    128121 
    129122</div> 
Note: See TracChangeset for help on using the changeset viewer.