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/sphone/site_main.tpl

    r21533 r21537  
    2020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
    2121 *}--> 
     22 
    2223<body> 
    23 <div data-role="page" data-keep-native=".data-role-none" data-theme="f"> 
     24    <div data-role="page" data-keep-native=".data-role-none" data-theme="f"> 
    2425 
    25     <!--{* ▼HeaderHeaderTop COLUMN*}--> 
    26     <!--{if $arrPageLayout.HeaderTopNavi|@count > 0}--> 
    27         <div class="header_utility"> 
    28             <!--{* ▼上ナビ *}--> 
    29             <!--{foreach key=HeaderTopNaviKey item=HeaderTopNaviItem from=$arrPageLayout.HeaderTopNavi}--> 
    30                 <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> --> 
    31                 <!--{if $HeaderTopNaviItem.php_path != ""}--> 
    32                     <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}--> 
    33                 <!--{else}--> 
    34                     <!--{include file=$HeaderTopNaviItem.tpl_path items=$HeaderTopNaviItem}--> 
    35                 <!--{/if}--> 
    36                 <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> --> 
    37             <!--{/foreach}--> 
    38             <!--{* ▲上ナビ *}--> 
    39         </div> 
    40     <!--{/if}--> 
    41     <!--{* ▲HeaderHeaderTop COLUMN*}--> 
     26        <!--{* ▼HeaderHeaderTop COLUMN*}--> 
     27        <!--{if $arrPageLayout.HeaderTopNavi|@count > 0}--> 
     28            <div class="header_utility"> 
     29                <!--{* ▼上ナビ *}--> 
     30                <!--{foreach key=HeaderTopNaviKey item=HeaderTopNaviItem from=$arrPageLayout.HeaderTopNavi}--> 
     31                    <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     32                    <!--{if $HeaderTopNaviItem.php_path != ""}--> 
     33                        <!--{include_php file=$HeaderTopNaviItem.php_path items=$HeaderTopNaviItem}--> 
     34                    <!--{else}--> 
     35                        <!--{include file=$HeaderTopNaviItem.tpl_path items=$HeaderTopNaviItem}--> 
     36                    <!--{/if}--> 
     37                    <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     38                <!--{/foreach}--> 
     39                <!--{* ▲上ナビ *}--> 
     40            </div> 
     41        <!--{/if}--> 
     42        <!--{* ▲HeaderHeaderTop COLUMN*}--> 
    4243 
    43     <!--{* ▼HEADER *}--> 
    44     <!--{if $arrPageLayout.header_chk != 2}--> 
    45         <!--{include file= $header_tpl}--> 
    46     <!--{/if}--> 
    47     <!--{* ▲HEADER *}--> 
     44        <!--{* ▼HEADER *}--> 
     45        <!--{if $arrPageLayout.header_chk != 2}--> 
     46            <!--{include file= $header_tpl}--> 
     47        <!--{/if}--> 
     48        <!--{* ▲HEADER *}--> 
    4849 
    4950 
    50     <!--{* ▼TOP COLUMN*}--> 
    51     <!--{if $arrPageLayout.TopNavi|@count > 0}--> 
    52         <div class="header_utility"> 
    53             <!--{* ▼上ナビ *}--> 
    54             <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}--> 
    55                 <!-- ▼<!--{$TopNaviItem.bloc_name}--> --> 
    56                 <!--{if $TopNaviItem.php_path != ""}--> 
    57                     <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}--> 
    58                 <!--{else}--> 
    59                     <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}--> 
    60                 <!--{/if}--> 
    61                 <!-- ▲<!--{$TopNaviItem.bloc_name}--> --> 
    62             <!--{/foreach}--> 
    63             <!--{* ▲上ナビ *}--> 
     51        <!--{* ▼TOP COLUMN*}--> 
     52        <!--{if $arrPageLayout.TopNavi|@count > 0}--> 
     53            <div class="header_utility"> 
     54                <!--{* ▼上ナビ *}--> 
     55                <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}--> 
     56                    <!-- ▼<!--{$TopNaviItem.bloc_name}--> --> 
     57                    <!--{if $TopNaviItem.php_path != ""}--> 
     58                        <!--{include_php file=$TopNaviItem.php_path items=$TopNaviItem}--> 
     59                    <!--{else}--> 
     60                        <!--{include file=$TopNaviItem.tpl_path items=$TopNaviItem}--> 
     61                    <!--{/if}--> 
     62                    <!-- ▲<!--{$TopNaviItem.bloc_name}--> --> 
     63                <!--{/foreach}--> 
     64                <!--{* ▲上ナビ *}--> 
     65            </div> 
     66        <!--{/if}--> 
     67        <!--{* ▲TOP COLUMN*}--> 
     68 
     69        <!--{* ▼CENTER COLUMN *}--> 
     70        <div id="main-content"> 
     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            <!--{* ▲メイン上部 *}--> 
     84 
     85            <!-- ▼メイン --> 
     86            <!--{include file=$tpl_mainpage}--> 
     87            <!-- ▲メイン --> 
     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            <!--{* ▲メイン下部 *}--> 
    64102        </div> 
    65     <!--{/if}--> 
    66     <!--{* ▲TOP COLUMN*}--> 
     103        <!--{* ▲CENTER COLUMN *}--> 
    67104 
    68     <!--{* ▼CENTER COLUMN *}--> 
    69     <div id="main-content"> 
    70         <!--{* ▼メイン上部 *}--> 
    71         <!--{if $arrPageLayout.MainHead|@count > 0}--> 
    72             <!--{foreach key=MainHeadKey item=MainHeadItem from=$arrPageLayout.MainHead}--> 
    73                 <!-- ▼<!--{$MainHeadItem.bloc_name}--> --> 
    74                 <!--{if $MainHeadItem.php_path != ""}--> 
    75                     <!--{include_php file=$MainHeadItem.php_path items=$MainHeadItem}--> 
    76                 <!--{else}--> 
    77                     <!--{include file=$MainHeadItem.tpl_path items=$MainHeadItem}--> 
    78                 <!--{/if}--> 
    79                 <!-- ▲<!--{$MainHeadItem.bloc_name}--> --> 
    80             <!--{/foreach}--> 
     105        <!--{* ▼BOTTOM COLUMN*}--> 
     106        <!--{if $arrPageLayout.BottomNavi|@count > 0}--> 
     107            <div id="footer_utility"> 
     108                <!--{* ▼下ナビ *}--> 
     109                <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}--> 
     110                    <!-- ▼<!--{$BottomNaviItem.bloc_name}--> --> 
     111                    <!--{if $BottomNaviItem.php_path != ""}--> 
     112                        <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}--> 
     113                    <!--{else}--> 
     114                        <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}--> 
     115                    <!--{/if}--> 
     116                    <!-- ▲<!--{$BottomNaviItem.bloc_name}--> --> 
     117                <!--{/foreach}--> 
     118                <!--{* ▲下ナビ *}--> 
     119            </div> 
    81120        <!--{/if}--> 
    82         <!--{* ▲メイン上部 *}--> 
    83  
    84         <!--{* ▼メイン *}--> 
    85         <!--{include file=$tpl_mainpage}--> 
    86         <!--{* ▲メイン *}--> 
    87  
    88         <!--{* ▼メイン下部 *}--> 
    89         <!--{if $arrPageLayout.MainFoot|@count > 0}--> 
    90             <!--{foreach key=MainFootKey item=MainFootItem from=$arrPageLayout.MainFoot}--> 
    91                 <!-- ▼<!--{$MainFootItem.bloc_name}--> --> 
    92                 <!--{if $MainFootItem.php_path != ""}--> 
    93                     <!--{include_php file=$MainFootItem.php_path items=$MainFootItem}--> 
    94                 <!--{else}--> 
    95                     <!--{include file=$MainFootItem.tpl_path items=$MainFootItem}--> 
    96                 <!--{/if}--> 
    97                 <!-- ▲<!--{$MainFootItem.bloc_name}--> --> 
    98             <!--{/foreach}--> 
    99         <!--{/if}--> 
    100         <!--{* ▲メイン下部 *}--> 
    101     </div> 
    102     <!--{* ▲CENTER COLUMN *}--> 
    103  
    104     <!--{* ▼BOTTOM COLUMN*}--> 
    105     <!--{if $arrPageLayout.BottomNavi|@count > 0}--> 
    106         <div id="footer_utility"> 
    107             <!--{* ▼下ナビ *}--> 
    108             <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}--> 
    109                 <!-- ▼<!--{$BottomNaviItem.bloc_name}--> --> 
    110                 <!--{if $BottomNaviItem.php_path != ""}--> 
    111                     <!--{include_php file=$BottomNaviItem.php_path items=$BottomNaviItem}--> 
    112                 <!--{else}--> 
    113                     <!--{include file=$BottomNaviItem.tpl_path items=$BottomNaviItem}--> 
    114                 <!--{/if}--> 
    115                 <!-- ▲<!--{$BottomNaviItem.bloc_name}--> --> 
    116             <!--{/foreach}--> 
    117             <!--{* ▲下ナビ *}--> 
    118         </div> 
    119     <!--{/if}--> 
    120     <!--{* ▲BOTTOM COLUMN*}--> 
     121        <!--{* ▲BOTTOM COLUMN*}--> 
    121122 
    122123 
    123     <!--{* ▼FOOTER *}--> 
    124     <!--{if $arrPageLayout.footer_chk != 2}--> 
    125         <!--{include file= './footer.tpl'}--> 
    126     <!--{/if}--> 
    127     <!--{* ▲FOOTER *}--> 
     124        <!--{* ▼FOOTER *}--> 
     125        <!--{if $arrPageLayout.footer_chk != 2}--> 
     126            <!--{include file= './footer.tpl'}--> 
     127        <!--{/if}--> 
     128        <!--{* ▲FOOTER *}--> 
    128129 
    129     <!--{* ▼FooterBottom COLUMN*}--> 
    130     <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}--> 
    131         <div id="footerbottomcolumn"> 
    132             <!--{* ▼上ナビ *}--> 
    133             <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}--> 
    134                 <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> --> 
    135                 <!--{if $FooterBottomNaviItem.php_path != ""}--> 
    136                     <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}--> 
    137                 <!--{else}--> 
    138                     <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}--> 
    139                 <!--{/if}--> 
    140                 <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> --> 
    141             <!--{/foreach}--> 
    142             <!--{* ▲上ナビ *}--> 
    143         </div> 
    144     <!--{/if}--> 
    145     <!--{* ▲FooterBottom COLUMN*}--> 
     130        <!--{* ▼FooterBottom COLUMN*}--> 
     131        <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}--> 
     132            <div id="footerbottomcolumn"> 
     133                <!--{* ▼上ナビ *}--> 
     134                <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}--> 
     135                    <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> --> 
     136                    <!--{if $FooterBottomNaviItem.php_path != ""}--> 
     137                        <!--{include_php file=$FooterBottomNaviItem.php_path items=$FooterBottomNaviItem}--> 
     138                    <!--{else}--> 
     139                        <!--{include file=$FooterBottomNaviItem.tpl_path items=$FooterBottomNaviItem}--> 
     140                    <!--{/if}--> 
     141                    <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> --> 
     142                <!--{/foreach}--> 
     143                <!--{* ▲上ナビ *}--> 
     144            </div> 
     145        <!--{/if}--> 
     146        <!--{* ▲FooterBottom COLUMN*}--> 
    146147 
    147 </div> 
    148  
    149 <!-- ▼明細情報 --> 
    150 <div id="windowcolumn" data-role="dialog"> 
    151     <div data-role="header" data-backbtn="true" data-theme="f"> 
    152         <h2>新着情報</h2> 
    153148    </div> 
    154149 
    155     <div data-role="content" data-theme="d"> 
    156         <dl class="view_detail"> 
    157             <dt><a href="javascript:;" rel="external" target="_blank"></a></dt> 
    158             <dd id="newsComment"></dd> 
    159         </dl> 
    160         <p><a href="<!--{$smarty.const.HTTP_URL}-->" class="btn_more" data-rel="back">新着一覧にもどる</a></p> 
     150    <!-- ▼明細情報 --> 
     151    <div id="windowcolumn" data-role="dialog"> 
     152        <div data-role="header" data-backbtn="true" data-theme="f"> 
     153            <h2>新着情報</h2> 
     154        </div> 
     155 
     156        <div data-role="content" data-theme="d"> 
     157            <dl class="view_detail"> 
     158                <dt><a href="javascript:;" rel="external" target="_blank"></a></dt> 
     159                <dd id="newsComment"></dd> 
     160            </dl> 
     161            <p><a href="<!--{$smarty.const.HTTP_URL}-->" class="btn_more" data-rel="back">新着一覧にもどる</a></p> 
     162        </div> 
    161163    </div> 
    162 </div> 
    163 <!-- ▲明細情報 --> 
     164    <!-- ▲明細情報 --> 
    164165 
    165166</body> 
Note: See TracChangeset for help on using the changeset viewer.