Ignore:
Timestamp:
2013/07/08 21:58:43 (11 years ago)
Author:
Seasoft
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • ソースコードのインデントを適切にする
  • 出力 HTML の冗長なインデントを減らす (strip)
File:
1 edited

Legend:

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

    r22930 r22959  
    2121 *}--> 
    2222 
    23 <body class="<!--{$tpl_page_class_name|h}-->"> 
    24 <!--{$GLOBAL_ERR}--> 
    25 <noscript> 
    26     <p>JavaScript を有効にしてご利用下さい.</p> 
    27 </noscript> 
     23<!--{strip}--> 
     24    <body class="<!--{$tpl_page_class_name|h}-->"> 
     25        <!--{$GLOBAL_ERR}--> 
     26        <noscript> 
     27            <p>JavaScript を有効にしてご利用下さい.</p> 
     28        </noscript> 
    2829 
    29 <div class="frame_outer"> 
    30     <a name="top" id="top"></a> 
     30        <div class="frame_outer"> 
     31            <a name="top" id="top"></a> 
    3132 
    32     <!--{* ▼HeaderHeaderTop COLUMN*}--> 
    33     <!--{if $arrPageLayout.HeaderTopNavi|@count > 0}--> 
    34         <div id="headertopcolumn"> 
    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}--> 
     33            <!--{* ▼HeaderHeaderTop COLUMN*}--> 
     34            <!--{if $arrPageLayout.HeaderTopNavi|@count > 0}--> 
     35                <div id="headertopcolumn"> 
     36                    <!--{* ▼上ナビ *}--> 
     37                    <!--{foreach key=HeaderTopNaviKey item=HeaderTopNaviItem from=$arrPageLayout.HeaderTopNavi}--> 
     38                        <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     39                        <!--{if $HeaderTopNaviItem.php_path != ""}--> 
     40                            <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}--> 
     41                        <!--{else}--> 
     42                            <!--{include file=$HeaderTopNaviItem.tpl_path items=$HeaderTopNaviItem}--> 
     43                        <!--{/if}--> 
     44                        <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     45                    <!--{/foreach}--> 
     46                    <!--{* ▲上ナビ *}--> 
     47                </div> 
     48            <!--{/if}--> 
     49            <!--{* ▲HeaderHeaderTop COLUMN*}--> 
     50            <!--{* ▼HEADER *}--> 
     51            <!--{if $arrPageLayout.header_chk != 2}--> 
     52                <!--{include file= $header_tpl}--> 
     53            <!--{/if}--> 
     54            <!--{* ▲HEADER *}--> 
     55 
     56            <div id="container" class="clearfix"> 
     57 
     58                <!--{* ▼TOP COLUMN*}--> 
     59                <!--{if $arrPageLayout.TopNavi|@count > 0}--> 
     60                    <div id="topcolumn"> 
     61                        <!--{* ▼上ナビ *}--> 
     62                        <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}--> 
     63                            <!-- ▼<!--{$TopNaviItem.bloc_name}--> --> 
     64                            <!--{if $TopNaviItem.php_path != ""}--> 
     65                                <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}--> 
     66                            <!--{else}--> 
     67                                <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}--> 
     68                            <!--{/if}--> 
     69                            <!-- ▲<!--{$TopNaviItem.bloc_name}--> --> 
     70                        <!--{/foreach}--> 
     71                        <!--{* ▲上ナビ *}--> 
     72                    </div> 
    4273                <!--{/if}--> 
    43                 <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> --> 
    44             <!--{/foreach}--> 
    45             <!--{* ▲上ナビ *}--> 
     74                <!--{* ▲TOP COLUMN*}--> 
     75 
     76                <!--{* ▼LEFT COLUMN *}--> 
     77                <!--{if $arrPageLayout.LeftNavi|@count > 0}--> 
     78                    <div id="leftcolumn" class="side_column"> 
     79                        <!--{* ▼左ナビ *}--> 
     80                        <!--{foreach key=LeftNaviKey item=LeftNaviItem from=$arrPageLayout.LeftNavi}--> 
     81                            <!-- ▼<!--{$LeftNaviItem.bloc_name}--> --> 
     82                            <!--{if $LeftNaviItem.php_path != ""}--> 
     83                                <!--{include_php file=$LeftNaviItem.php_path items=$LeftNaviItem}--> 
     84                            <!--{else}--> 
     85                                <!--{include file=$LeftNaviItem.tpl_path items=$LeftNaviItem}--> 
     86                            <!--{/if}--> 
     87                            <!-- ▲<!--{$LeftNaviItem.bloc_name}--> --> 
     88                        <!--{/foreach}--> 
     89                        <!--{* ▲左ナビ *}--> 
     90                    </div> 
     91                <!--{/if}--> 
     92                <!--{* ▲LEFT COLUMN *}--> 
     93 
     94                <!--{* ▼CENTER COLUMN *}--> 
     95                <div id="main_column" <!--{**}--> 
     96                    class="colnum<!--{$tpl_column_num|h}--> 
     97                        <!--{if $tpl_column_num == 2}--> 
     98                            <!--{" "}--><!--{if $arrPageLayout.LeftNavi|@count == 0}-->left<!--{else}-->right<!--{/if}--> 
     99                        <!--{/if}--> 
     100                    " 
     101                > 
     102                    <!--{* ▼メイン上部 *}--> 
     103                    <!--{if $arrPageLayout.MainHead|@count > 0}--> 
     104                        <!--{foreach key=MainHeadKey item=MainHeadItem from=$arrPageLayout.MainHead}--> 
     105                            <!-- ▼<!--{$MainHeadItem.bloc_name}--> --> 
     106                            <!--{if $MainHeadItem.php_path != ""}--> 
     107                                <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}--> 
     108                            <!--{else}--> 
     109                                <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}--> 
     110                            <!--{/if}--> 
     111                            <!-- ▲<!--{$MainHeadItem.bloc_name}--> --> 
     112                        <!--{/foreach}--> 
     113                    <!--{/if}--> 
     114                    <!--{* ▲メイン上部 *}--> 
     115 
     116                    <!-- ▼メイン --> 
     117                    <!--{include file=$tpl_mainpage}--> 
     118                    <!-- ▲メイン --> 
     119 
     120                    <!--{* ▼メイン下部 *}--> 
     121                    <!--{if $arrPageLayout.MainFoot|@count > 0}--> 
     122                        <!--{foreach key=MainFootKey item=MainFootItem from=$arrPageLayout.MainFoot}--> 
     123                            <!-- ▼<!--{$MainFootItem.bloc_name}--> --> 
     124                            <!--{if $MainFootItem.php_path != ""}--> 
     125                                <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}--> 
     126                            <!--{else}--> 
     127                                <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}--> 
     128                            <!--{/if}--> 
     129                            <!-- ▲<!--{$MainFootItem.bloc_name}--> --> 
     130                        <!--{/foreach}--> 
     131                    <!--{/if}--> 
     132                    <!--{* ▲メイン下部 *}--> 
     133                </div> 
     134                <!--{* ▲CENTER COLUMN *}--> 
     135 
     136                <!--{* ▼RIGHT COLUMN *}--> 
     137                <!--{if $arrPageLayout.RightNavi|@count > 0}--> 
     138                    <div id="rightcolumn" class="side_column"> 
     139                        <!--{* ▼右ナビ *}--> 
     140                        <!--{foreach key=RightNaviKey item=RightNaviItem from=$arrPageLayout.RightNavi}--> 
     141                            <!-- ▼<!--{$RightNaviItem.bloc_name}--> --> 
     142                            <!--{if $RightNaviItem.php_path != ""}--> 
     143                                <!--{include_php file=$RightNaviItem.php_path items=$RightNaviItem}--> 
     144                            <!--{else}--> 
     145                                <!--{include file=$RightNaviItem.tpl_path items=$RightNaviItem}--> 
     146                            <!--{/if}--> 
     147                            <!-- ▲<!--{$RightNaviItem.bloc_name}--> --> 
     148                        <!--{/foreach}--> 
     149                        <!--{* ▲右ナビ *}--> 
     150                    </div> 
     151                <!--{/if}--> 
     152                <!--{* ▲RIGHT COLUMN *}--> 
     153 
     154                <!--{* ▼BOTTOM COLUMN*}--> 
     155                <!--{if $arrPageLayout.BottomNavi|@count > 0}--> 
     156                    <div id="bottomcolumn"> 
     157                        <!--{* ▼下ナビ *}--> 
     158                        <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}--> 
     159                            <!-- ▼<!--{$BottomNaviItem.bloc_name}--> --> 
     160                            <!--{if $BottomNaviItem.php_path != ""}--> 
     161                                <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}--> 
     162                            <!--{else}--> 
     163                                <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}--> 
     164                            <!--{/if}--> 
     165                            <!-- ▲<!--{$BottomNaviItem.bloc_name}--> --> 
     166                        <!--{/foreach}--> 
     167                        <!--{* ▲下ナビ *}--> 
     168                    </div> 
     169                <!--{/if}--> 
     170                <!--{* ▲BOTTOM COLUMN*}--> 
     171 
     172            </div> 
     173 
     174            <!--{* ▼FOOTER *}--> 
     175            <!--{if $arrPageLayout.footer_chk != 2}--> 
     176                <!--{include file=$footer_tpl}--> 
     177            <!--{/if}--> 
     178            <!--{* ▲FOOTER *}--> 
     179            <!--{* ▼FooterBottom COLUMN*}--> 
     180            <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}--> 
     181                <div id="footerbottomcolumn"> 
     182                    <!--{* ▼上ナビ *}--> 
     183                    <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}--> 
     184                        <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> --> 
     185                        <!--{if $FooterBottomNaviItem.php_path != ""}--> 
     186                            <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}--> 
     187                        <!--{else}--> 
     188                            <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}--> 
     189                        <!--{/if}--> 
     190                        <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> --> 
     191                    <!--{/foreach}--> 
     192                    <!--{* ▲上ナビ *}--> 
     193                </div> 
     194            <!--{/if}--> 
     195            <!--{* ▲FooterBottom COLUMN*}--> 
    46196        </div> 
    47     <!--{/if}--> 
    48     <!--{* ▲HeaderHeaderTop COLUMN*}--> 
    49     <!--{* ▼HEADER *}--> 
    50     <!--{if $arrPageLayout.header_chk != 2}--> 
    51         <!--{include file= $header_tpl}--> 
    52     <!--{/if}--> 
    53     <!--{* ▲HEADER *}--> 
    54197 
    55     <div id="container" class="clearfix"> 
    56  
    57         <!--{* ▼TOP COLUMN*}--> 
    58         <!--{if $arrPageLayout.TopNavi|@count > 0}--> 
    59             <div id="topcolumn"> 
    60                 <!--{* ▼上ナビ *}--> 
    61                 <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}--> 
    62                     <!-- ▼<!--{$TopNaviItem.bloc_name}--> --> 
    63                     <!--{if $TopNaviItem.php_path != ""}--> 
    64                         <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}--> 
    65                     <!--{else}--> 
    66                         <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}--> 
    67                     <!--{/if}--> 
    68                     <!-- ▲<!--{$TopNaviItem.bloc_name}--> --> 
    69                 <!--{/foreach}--> 
    70                 <!--{* ▲上ナビ *}--> 
    71             </div> 
    72         <!--{/if}--> 
    73         <!--{* ▲TOP COLUMN*}--> 
    74  
    75         <!--{* ▼LEFT COLUMN *}--> 
    76         <!--{if $arrPageLayout.LeftNavi|@count > 0}--> 
    77             <div id="leftcolumn" class="side_column"> 
    78                 <!--{* ▼左ナビ *}--> 
    79                 <!--{foreach key=LeftNaviKey item=LeftNaviItem from=$arrPageLayout.LeftNavi}--> 
    80                     <!-- ▼<!--{$LeftNaviItem.bloc_name}--> --> 
    81                     <!--{if $LeftNaviItem.php_path != ""}--> 
    82                         <!--{include_php file=$LeftNaviItem.php_path items=$LeftNaviItem}--> 
    83                     <!--{else}--> 
    84                         <!--{include file=$LeftNaviItem.tpl_path items=$LeftNaviItem}--> 
    85                     <!--{/if}--> 
    86                     <!-- ▲<!--{$LeftNaviItem.bloc_name}--> --> 
    87                 <!--{/foreach}--> 
    88                 <!--{* ▲左ナビ *}--> 
    89             </div> 
    90         <!--{/if}--> 
    91         <!--{* ▲LEFT COLUMN *}--> 
    92  
    93         <!--{* ▼CENTER COLUMN *}--> 
    94         <div id="main_column" 
    95             class="colnum<!--{$tpl_column_num|h}--> 
    96                 <!--{if $tpl_column_num == 2}--> 
    97                     <!--{" "}--><!--{if $arrPageLayout.LeftNavi|@count == 0}-->left<!--{else}-->right<!--{/if}--> 
    98                 <!--{/if}--> 
    99             " 
    100         > 
    101             <!--{* ▼メイン上部 *}--> 
    102             <!--{if $arrPageLayout.MainHead|@count > 0}--> 
    103                 <!--{foreach key=MainHeadKey item=MainHeadItem from=$arrPageLayout.MainHead}--> 
    104                     <!-- ▼<!--{$MainHeadItem.bloc_name}--> --> 
    105                     <!--{if $MainHeadItem.php_path != ""}--> 
    106                         <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}--> 
    107                     <!--{else}--> 
    108                         <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}--> 
    109                     <!--{/if}--> 
    110                     <!-- ▲<!--{$MainHeadItem.bloc_name}--> --> 
    111                 <!--{/foreach}--> 
    112             <!--{/if}--> 
    113             <!--{* ▲メイン上部 *}--> 
    114  
    115             <!-- ▼メイン --> 
    116             <!--{include file=$tpl_mainpage}--> 
    117             <!-- ▲メイン --> 
    118  
    119             <!--{* ▼メイン下部 *}--> 
    120             <!--{if $arrPageLayout.MainFoot|@count > 0}--> 
    121                 <!--{foreach key=MainFootKey item=MainFootItem from=$arrPageLayout.MainFoot}--> 
    122                     <!-- ▼<!--{$MainFootItem.bloc_name}--> --> 
    123                     <!--{if $MainFootItem.php_path != ""}--> 
    124                         <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}--> 
    125                     <!--{else}--> 
    126                         <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}--> 
    127                     <!--{/if}--> 
    128                     <!-- ▲<!--{$MainFootItem.bloc_name}--> --> 
    129                 <!--{/foreach}--> 
    130             <!--{/if}--> 
    131             <!--{* ▲メイン下部 *}--> 
    132         </div> 
    133         <!--{* ▲CENTER COLUMN *}--> 
    134  
    135         <!--{* ▼RIGHT COLUMN *}--> 
    136         <!--{if $arrPageLayout.RightNavi|@count > 0}--> 
    137             <div id="rightcolumn" class="side_column"> 
    138                 <!--{* ▼右ナビ *}--> 
    139                 <!--{foreach key=RightNaviKey item=RightNaviItem from=$arrPageLayout.RightNavi}--> 
    140                     <!-- ▼<!--{$RightNaviItem.bloc_name}--> --> 
    141                     <!--{if $RightNaviItem.php_path != ""}--> 
    142                         <!--{include_php file=$RightNaviItem.php_path items=$RightNaviItem}--> 
    143                     <!--{else}--> 
    144                         <!--{include file=$RightNaviItem.tpl_path items=$RightNaviItem}--> 
    145                     <!--{/if}--> 
    146                     <!-- ▲<!--{$RightNaviItem.bloc_name}--> --> 
    147                 <!--{/foreach}--> 
    148                 <!--{* ▲右ナビ *}--> 
    149             </div> 
    150         <!--{/if}--> 
    151         <!--{* ▲RIGHT COLUMN *}--> 
    152  
    153         <!--{* ▼BOTTOM COLUMN*}--> 
    154         <!--{if $arrPageLayout.BottomNavi|@count > 0}--> 
    155             <div id="bottomcolumn"> 
    156                 <!--{* ▼下ナビ *}--> 
    157                 <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}--> 
    158                     <!-- ▼<!--{$BottomNaviItem.bloc_name}--> --> 
    159                     <!--{if $BottomNaviItem.php_path != ""}--> 
    160                         <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}--> 
    161                     <!--{else}--> 
    162                         <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}--> 
    163                     <!--{/if}--> 
    164                     <!-- ▲<!--{$BottomNaviItem.bloc_name}--> --> 
    165                 <!--{/foreach}--> 
    166                 <!--{* ▲下ナビ *}--> 
    167             </div> 
    168         <!--{/if}--> 
    169         <!--{* ▲BOTTOM COLUMN*}--> 
    170  
    171     </div> 
    172  
    173     <!--{* ▼FOOTER *}--> 
    174     <!--{if $arrPageLayout.footer_chk != 2}--> 
    175         <!--{include file=$footer_tpl}--> 
    176     <!--{/if}--> 
    177     <!--{* ▲FOOTER *}--> 
    178     <!--{* ▼FooterBottom COLUMN*}--> 
    179     <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}--> 
    180         <div id="footerbottomcolumn"> 
    181             <!--{* ▼上ナビ *}--> 
    182             <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}--> 
    183                 <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> --> 
    184                 <!--{if $FooterBottomNaviItem.php_path != ""}--> 
    185                     <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}--> 
    186                 <!--{else}--> 
    187                     <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}--> 
    188                 <!--{/if}--> 
    189                 <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> --> 
    190             <!--{/foreach}--> 
    191             <!--{* ▲上ナビ *}--> 
    192         </div> 
    193     <!--{/if}--> 
    194     <!--{* ▲FooterBottom COLUMN*}--> 
    195 </div> 
    196  
    197 </body> 
     198    </body> 
     199<!--{/strip}--> 
Note: See TracChangeset for help on using the changeset viewer.