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

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

File:
1 edited

Legend:

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

    • Property svn:executable set to *
    r20764 r20809  
    4141                <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> --> 
    4242                <!--{if $HeaderTopNaviItem.php_path != ""}--> 
    43                     <!--{include_php file=$HeaderTopNaviItem.php_path}--> 
     43                    <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}--> 
    4444                <!--{else}--> 
    45                     <!--{include file=$HeaderTopNaviItem.tpl_path}--> 
     45                    <!--{include file=$HeaderTopNaviItem.tpl_path items=$HeaderTopNaviItem}--> 
    4646                <!--{/if}--> 
    4747                <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     
    6767                    <!-- ▼<!--{$TopNaviItem.bloc_name}--> --> 
    6868                    <!--{if $TopNaviItem.php_path != ""}--> 
    69                         <!--{include_php file=$TopNaviItem.php_path}--> 
    70                     <!--{else}--> 
    71                         <!--{include file=$TopNaviItem.tpl_path}--> 
     69                        <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}--> 
     70                    <!--{else}--> 
     71                        <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}--> 
    7272                    <!--{/if}--> 
    7373                    <!-- ▲<!--{$TopNaviItem.bloc_name}--> --> 
     
    8585                    <!-- ▼<!--{$LeftNaviItem.bloc_name}--> --> 
    8686                    <!--{if $LeftNaviItem.php_path != ""}--> 
    87                         <!--{include_php file=$LeftNaviItem.php_path}--> 
    88                     <!--{else}--> 
    89                         <!--{include file=$LeftNaviItem.tpl_path}--> 
     87                        <!--{include_php file=$LeftNaviItem.php_path items=$LeftNaviItem}--> 
     88                    <!--{else}--> 
     89                        <!--{include file=$LeftNaviItem.tpl_path items=$LeftNaviItem}--> 
    9090                    <!--{/if}--> 
    9191                    <!-- ▲<!--{$LeftNaviItem.bloc_name}--> --> 
     
    116116                    <!-- ▼<!--{$MainHeadItem.bloc_name}--> --> 
    117117                    <!--{if $MainHeadItem.php_path != ""}--> 
    118                         <!--{include_php file=$MainHeadItem.php_path}--> 
    119                     <!--{else}--> 
    120                         <!--{include file=$MainHeadItem.tpl_path}--> 
     118                        <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}--> 
     119                    <!--{else}--> 
     120                        <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}--> 
    121121                    <!--{/if}--> 
    122122                    <!-- ▲<!--{$MainHeadItem.bloc_name}--> --> 
     
    134134                    <!-- ▼<!--{$MainFootItem.bloc_name}--> --> 
    135135                    <!--{if $MainFootItem.php_path != ""}--> 
    136                         <!--{include_php file=$MainFootItem.php_path}--> 
    137                     <!--{else}--> 
    138                         <!--{include file=$MainFootItem.tpl_path}--> 
     136                        <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}--> 
     137                    <!--{else}--> 
     138                        <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}--> 
    139139                    <!--{/if}--> 
    140140                    <!-- ▲<!--{$MainFootItem.bloc_name}--> --> 
     
    152152                    <!-- ▼<!--{$RightNaviItem.bloc_name}--> --> 
    153153                    <!--{if $RightNaviItem.php_path != ""}--> 
    154                         <!--{include_php file=$RightNaviItem.php_path}--> 
    155                     <!--{else}--> 
    156                         <!--{include file=$RightNaviItem.tpl_path}--> 
     154                        <!--{include_php file=$RightNaviItem.php_path items=$RightNaviItem}--> 
     155                    <!--{else}--> 
     156                        <!--{include file=$RightNaviItem.tpl_path items=$RightNaviItem}--> 
    157157                    <!--{/if}--> 
    158158                    <!-- ▲<!--{$RightNaviItem.bloc_name}--> --> 
     
    170170                    <!-- ▼<!--{$BottomNaviItem.bloc_name}--> --> 
    171171                    <!--{if $BottomNaviItem.php_path != ""}--> 
    172                         <!--{include_php file=$BottomNaviItem.php_path}--> 
    173                     <!--{else}--> 
    174                         <!--{include file=$BottomNaviItem.tpl_path}--> 
     172                        <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}--> 
     173                    <!--{else}--> 
     174                        <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}--> 
    175175                    <!--{/if}--> 
    176176                    <!-- ▲<!--{$BottomNaviItem.bloc_name}--> --> 
     
    196196                <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> --> 
    197197                <!--{if $FooterBottomNaviItem.php_path != ""}--> 
    198                     <!--{include_php file=$FooterBottomNaviItem.php_path}--> 
     198                    <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}--> 
    199199                <!--{else}--> 
    200                     <!--{include file=$FooterBottomNaviItem.tpl_path}--> 
     200                    <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}--> 
    201201                <!--{/if}--> 
    202202                <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> --> 
Note: See TracChangeset for help on using the changeset viewer.