Ignore:
Timestamp:
2011/04/05 10:49:14 (12 years ago)
Author:
kimoto
Message:

ブロックの情報をphpに渡すように修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/Smarty/templates/mobile/site_main.tpl

    • Property svn:executable set to *
    r20764 r20809  
    3535        <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> --> 
    3636        <!--{if $HeaderTopNaviItem.php_path != ""}--> 
    37             <!--{include_php file=$HeaderTopNaviItem.php_path}--> 
     37            <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}--> 
    3838        <!--{else}--> 
    39             <!--{include file=$HeaderTopNaviItem.tpl_path}--> 
     39            <!--{include file=$HeaderTopNaviItem.tpl_path items=$HeaderTopNaviItem}--> 
    4040        <!--{/if}--> 
    4141        <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     
    5555        <!-- ▼<!--{$TopNaviItem.bloc_name}--> --> 
    5656        <!--{if $TopNaviItem.php_path != ""}--> 
    57             <!--{include_php file=$TopNaviItem.php_path}--> 
     57            <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}--> 
    5858        <!--{else}--> 
    59             <!--{include file=$TopNaviItem.tpl_path}--> 
     59            <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}--> 
    6060        <!--{/if}--> 
    6161        <!-- ▲<!--{$TopNaviItem.bloc_name}--> --> 
     
    7070        <!-- ▼<!--{$MainHeadItem.bloc_name}--> --> 
    7171        <!--{if $MainHeadItem.php_path != ""}--> 
    72            <!--{include_php file=$MainHeadItem.php_path}--> 
     72           <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}--> 
    7373        <!--{else}--> 
    74             <!--{include file=$MainHeadItem.tpl_path}--> 
     74            <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}--> 
    7575        <!--{/if}--> 
    7676        <!-- ▲<!--{$MainHeadItem.bloc_name}--> --> 
     
    8888        <!-- ▼<!--{$MainFootItem.bloc_name}--> --> 
    8989        <!--{if $MainFootItem.php_path != ""}--> 
    90             <!--{include_php file=$MainFootItem.php_path}--> 
     90            <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}--> 
    9191        <!--{else}--> 
    92             <!--{include file=$MainFootItem.tpl_path}--> 
     92            <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}--> 
    9393        <!--{/if}--> 
    9494        <!-- ▲<!--{$MainFootItem.bloc_name}--> --> 
     
    103103        <!-- ▼<!--{$BottomNaviItem.bloc_name}--> --> 
    104104        <!--{if $BottomNaviItem.php_path != ""}--> 
    105             <!--{include_php file=$BottomNaviItem.php_path}--> 
     105            <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}--> 
    106106        <!--{else}--> 
    107             <!--{include file=$BottomNaviItem.tpl_path}--> 
     107            <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}--> 
    108108        <!--{/if}--> 
    109109        <!-- ▲<!--{$BottomNaviItem.bloc_name}--> --> 
     
    123123        <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> --> 
    124124        <!--{if $FooterBottomNaviItem.php_path != ""}--> 
    125             <!--{include_php file=$FooterBottomNaviItem.php_path}--> 
     125            <!--{include_php file=$FooterBottomNaviItem.php_path items=$BottomNaviItem}--> 
    126126        <!--{else}--> 
    127             <!--{include file=$FooterBottomNaviItem.tpl_path}--> 
     127            <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}--> 
    128128        <!--{/if}--> 
    129129        <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> --> 
Note: See TracChangeset for help on using the changeset viewer.