Ignore:
Timestamp:
2012/02/19 02:22:11 (12 years ago)
Author:
Seasoft
Message:

#1613 (ソース整形・ソースコメントの改善)

File:
1 edited

Legend:

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

    r21535 r21537  
    2222 */ 
    2323*}--> 
    24 <body bgcolor="#ffffff" text="#555555" link="#3a75af" vlink="#3a75af"> 
    25     <a name="top" id="top"></a> 
    26 <!--{* Moba8リクエスト用 *}--> 
    27 <!--{if "sfRequestMoba8"|function_exists === TRUE}--> 
    28 <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_moba8/request_moba8.tpl}--> 
    29 <!--{/if}--> 
    3024 
    31 <!--{* ▼HeaderHeaderTop COLUMN *}--> 
    32 <!--{if $arrPageLayout.HeaderTopNavi|@count > 0}--> 
    33     <!--{* ▼上ナビ *}--> 
    34     <!--{foreach key=HeaderTopNaviKey item=HeaderTopNaviItem from=$arrPageLayout.HeaderTopNavi}--> 
    35         <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> --> 
    36         <!--{if $HeaderTopNaviItem.php_path != ""}--> 
    37             <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}--> 
    38         <!--{else}--> 
    39             <!--{include file=$HeaderTopNaviItem.tpl_path items=$HeaderTopNaviItem}--> 
     25<!--{strip}--> 
     26    <body bgcolor="#ffffff" text="#555555" link="#3a75af" vlink="#3a75af"> 
     27        <a name="top" id="top"></a> 
     28        <!--{* Moba8リクエスト用 *}--> 
     29        <!--{if "sfRequestMoba8"|function_exists === TRUE}--> 
     30            <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_moba8/request_moba8.tpl}--> 
    4031        <!--{/if}--> 
    41         <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> --> 
    42     <!--{/foreach}--> 
    43     <!--{* ▲上ナビ *}--> 
    44 <!--{/if}--> 
    45 <!--{* ▲HeaderHeaderTop COLUMN *}--> 
    4632 
    47 <!--{* ▼HEADER *}--> 
    48 <!--{if $arrPageLayout.header_chk != 2}--> 
    49 <!--{include file= $header_tpl}--> 
    50 <!--{/if}--> 
    51 <!--{* ▲HEADER *}--> 
     33        <!--{* ▼HeaderHeaderTop COLUMN *}--> 
     34        <!--{if $arrPageLayout.HeaderTopNavi|@count > 0}--> 
     35            <!--{* ▼上ナビ *}--> 
     36            <!--{foreach key=HeaderTopNaviKey item=HeaderTopNaviItem from=$arrPageLayout.HeaderTopNavi}--> 
     37                <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     38                <!--{if $HeaderTopNaviItem.php_path != ""}--> 
     39                    <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}--> 
     40                <!--{else}--> 
     41                    <!--{include file=$HeaderTopNaviItem.tpl_path items=$HeaderTopNaviItem}--> 
     42                <!--{/if}--> 
     43                <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     44            <!--{/foreach}--> 
     45            <!--{* ▲上ナビ *}--> 
     46        <!--{/if}--> 
     47        <!--{* ▲HeaderHeaderTop COLUMN *}--> 
    5248 
    53 <!--{* ▼TOP COLUMN *}--> 
    54 <!--{if $arrPageLayout.TopNavi|@count > 0}--> 
    55     <!--{* ▼上ナビ *}--> 
    56     <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}--> 
    57         <!-- ▼<!--{$TopNaviItem.bloc_name}--> --> 
    58         <!--{if $TopNaviItem.php_path != ""}--> 
    59             <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}--> 
    60         <!--{else}--> 
    61             <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}--> 
     49        <!--{* ▼HEADER *}--> 
     50        <!--{if $arrPageLayout.header_chk != 2}--> 
     51            <!--{include file= $header_tpl}--> 
    6252        <!--{/if}--> 
    63         <!-- ▲<!--{$TopNaviItem.bloc_name}--> --> 
    64     <!--{/foreach}--> 
    65     <!--{* ▲上ナビ *}--> 
    66 <!--{/if}--> 
    67 <!--{* ▲TOP COLUMN *}--> 
     53        <!--{* ▲HEADER *}--> 
    6854 
    69 <!--{* ▼メイン上部 *}--> 
    70 <!--{if $arrPageLayout.MainHead|@count > 0}--> 
    71     <!--{foreach key=MainHeadKey item=MainHeadItem from=$arrPageLayout.MainHead}--> 
    72         <!-- ▼<!--{$MainHeadItem.bloc_name}--> --> 
    73         <!--{if $MainHeadItem.php_path != ""}--> 
    74             <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}--> 
    75         <!--{else}--> 
    76             <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}--> 
     55        <!--{* ▼TOP COLUMN *}--> 
     56        <!--{if $arrPageLayout.TopNavi|@count > 0}--> 
     57            <!--{* ▼上ナビ *}--> 
     58            <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}--> 
     59                <!-- ▼<!--{$TopNaviItem.bloc_name}--> --> 
     60                <!--{if $TopNaviItem.php_path != ""}--> 
     61                    <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}--> 
     62                <!--{else}--> 
     63                    <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}--> 
     64                <!--{/if}--> 
     65                <!-- ▲<!--{$TopNaviItem.bloc_name}--> --> 
     66            <!--{/foreach}--> 
     67            <!--{* ▲上ナビ *}--> 
    7768        <!--{/if}--> 
    78         <!-- ▲<!--{$MainHeadItem.bloc_name}--> --> 
    79     <!--{/foreach}--> 
    80 <!--{/if}--> 
    81 <!--{* ▲メイン上部 *}--> 
     69        <!--{* ▲TOP COLUMN *}--> 
    8270 
    83 <!--▼MAIN--> 
    84 <!--{include file=$tpl_mainpage}--> 
    85 <!--▲MAIN--> 
     71        <!--{* ▼メイン上部 *}--> 
     72        <!--{if $arrPageLayout.MainHead|@count > 0}--> 
     73            <!--{foreach key=MainHeadKey item=MainHeadItem from=$arrPageLayout.MainHead}--> 
     74                <!-- ▼<!--{$MainHeadItem.bloc_name}--> --> 
     75                <!--{if $MainHeadItem.php_path != ""}--> 
     76                    <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}--> 
     77                <!--{else}--> 
     78                    <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}--> 
     79                <!--{/if}--> 
     80                <!-- ▲<!--{$MainHeadItem.bloc_name}--> --> 
     81            <!--{/foreach}--> 
     82        <!--{/if}--> 
     83        <!--{* ▲メイン上部 *}--> 
    8684 
    87 <!--{* ▼メイン下部 *}--> 
    88 <!--{if $arrPageLayout.MainFoot|@count > 0}--> 
    89     <!--{foreach key=MainFootKey item=MainFootItem from=$arrPageLayout.MainFoot}--> 
    90         <!-- ▼<!--{$MainFootItem.bloc_name}--> --> 
    91         <!--{if $MainFootItem.php_path != ""}--> 
    92             <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}--> 
    93         <!--{else}--> 
    94             <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}--> 
     85        <!--▼MAIN--> 
     86        <!--{include file=$tpl_mainpage}--> 
     87        <!--▲MAIN--> 
     88 
     89        <!--{* ▼メイン下部 *}--> 
     90        <!--{if $arrPageLayout.MainFoot|@count > 0}--> 
     91            <!--{foreach key=MainFootKey item=MainFootItem from=$arrPageLayout.MainFoot}--> 
     92                <!-- ▼<!--{$MainFootItem.bloc_name}--> --> 
     93                <!--{if $MainFootItem.php_path != ""}--> 
     94                    <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}--> 
     95                <!--{else}--> 
     96                    <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}--> 
     97                <!--{/if}--> 
     98                <!-- ▲<!--{$MainFootItem.bloc_name}--> --> 
     99            <!--{/foreach}--> 
     100            <!--{/if}--> 
     101        <!--{* ▲メイン下部 *}--> 
     102 
     103        <!--{* ▼BOTTOM COLUMN*}--> 
     104        <!--{if $arrPageLayout.BottomNavi|@count > 0}--> 
     105            <!--{* ▼下ナビ *}--> 
     106            <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}--> 
     107                <!-- ▼<!--{$BottomNaviItem.bloc_name}--> --> 
     108                <!--{if $BottomNaviItem.php_path != ""}--> 
     109                    <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}--> 
     110                <!--{else}--> 
     111                    <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}--> 
     112                <!--{/if}--> 
     113                <!-- ▲<!--{$BottomNaviItem.bloc_name}--> --> 
     114            <!--{/foreach}--> 
     115            <!--{* ▲下ナビ *}--> 
    95116        <!--{/if}--> 
    96         <!-- ▲<!--{$MainFootItem.bloc_name}--> --> 
    97     <!--{/foreach}--> 
    98     <!--{/if}--> 
    99 <!--{* ▲メイン下部 *}--> 
     117        <!--{* ▲BOTTOM COLUMN*}--> 
    100118 
    101 <!--{* ▼BOTTOM COLUMN*}--> 
    102 <!--{if $arrPageLayout.BottomNavi|@count > 0}--> 
    103     <!--{* ▼下ナビ *}--> 
    104     <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}--> 
    105         <!-- ▼<!--{$BottomNaviItem.bloc_name}--> --> 
    106         <!--{if $BottomNaviItem.php_path != ""}--> 
    107             <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}--> 
    108         <!--{else}--> 
    109             <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}--> 
     119        <!--{* ▼FOOTER *}--> 
     120        <!--{if $arrPageLayout.footer_chk != 2}--> 
     121            <!--{include file=$footer_tpl}--> 
    110122        <!--{/if}--> 
    111         <!-- ▲<!--{$BottomNaviItem.bloc_name}--> --> 
    112     <!--{/foreach}--> 
    113     <!--{* ▲下ナビ *}--> 
    114 <!--{/if}--> 
    115 <!--{* ▲BOTTOM COLUMN*}--> 
     123        <!--{* ▲FOOTER *}--> 
    116124 
    117 <!--{* ▼FOOTER *}--> 
    118 <!--{if $arrPageLayout.footer_chk != 2}--> 
    119 <!--{include file=$footer_tpl}--> 
    120 <!--{/if}--> 
    121 <!--{* ▲FOOTER *}--> 
    122  
    123 <!--{* ▼FooterBottom COLUMN *}--> 
    124 <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}--> 
    125     <!--{* ▼上ナビ *}--> 
    126     <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}--> 
    127         <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> --> 
    128         <!--{if $FooterBottomNaviItem.php_path != ""}--> 
    129             <!--{include_php file=$FooterBottomNaviItem.php_path items=$BottomNaviItem}--> 
    130         <!--{else}--> 
    131             <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}--> 
     125        <!--{* ▼FooterBottom COLUMN *}--> 
     126        <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}--> 
     127            <!--{* ▼上ナビ *}--> 
     128            <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}--> 
     129                <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> --> 
     130                <!--{if $FooterBottomNaviItem.php_path != ""}--> 
     131                    <!--{include_php file=$FooterBottomNaviItem.php_path items=$BottomNaviItem}--> 
     132                <!--{else}--> 
     133                    <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}--> 
     134                <!--{/if}--> 
     135                <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> --> 
     136            <!--{/foreach}--> 
     137            <!--{* ▲上ナビ *}--> 
    132138        <!--{/if}--> 
    133         <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> --> 
    134     <!--{/foreach}--> 
    135     <!--{* ▲上ナビ *}--> 
    136 <!--{/if}--> 
    137 <!--{* ▲FooterBottom COLUMN *}--> 
    138 </body> 
     139        <!--{* ▲FooterBottom COLUMN *}--> 
     140    </body> 
     141<!--{/strip}--> 
Note: See TracChangeset for help on using the changeset viewer.