Ignore:
Timestamp:
2011/01/06 17:07:48 (13 years ago)
Author:
yomoro
Message:

#748 スマートフォンのデザイン管理機能の実現に向けた暫定的措置

Location:
branches/version-2_5-dev/data/Smarty/templates/sphone
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/sphone/index.tpl

    r19805 r19837  
    2020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
    2121 *}--> 
    22  
    23 <div id="topbox"> 
    24 <!--{* ▼ロゴ ここから *}--> 
    25 <div id="header"> 
    26 <h1> 
    27     <a href="<!--{$smarty.const.SMARTPHONE_HTTPS_URL}-->"> 
    28       <em><!--{$arrSiteInfo.shop_name|h}-->/<!--{$tpl_title|h}--></em></a> 
    29   </h1> 
    30 </div> 
    31 <!--{* ▲ロゴ ここまで *}--> 
    32  
    33 <!--{* ヘッダメニュー *}--> 
    34 <div id="headmenu"> 
    35  
    36 <!--{* 検索 *}--> 
    37 <div id="searchbar"> 
    38 <form method="get" action="<!--{$smarty.const.SMARTPHONE_HTTP_URL}-->products/list.php"> 
    39 <input type="text" name="name" maxlength="50" value="<!--{$smarty.get.name|h}-->" placeholder="商品検索" ><input type="submit" name="search" value="検索"> 
    40 </form> 
    41 <!--{* searchmenu *}--></div> 
    42 <!--{* headmenu *}--></div> 
    43 <!--{* topbox *}--></div> 
    44  
    45 <!--{* 新着情報 *}--> 
    46 <!--{include_php file=`$smarty.const.SMARTPHONE_HTML_REALDIR`/frontparts/bloc/news.php}--> 
    47  
    48 <!--{* ログイン *}--> 
    49 <!--{include_php file=`$smarty.const.SMARTPHONE_HTML_REALDIR`/frontparts/bloc/login.php}--> 
    50  
    51 <!--{* おすすめ商品 *}--> 
    52 <!--{include_php file=`$smarty.const.SMARTPHONE_HTML_REALDIR`/frontparts/bloc/best5.php}--> 
    53  
    54 <!-- ▼メニュー ここから --> 
    55 <!--{include_php file=`$smarty.const.SMARTPHONE_HTML_REALDIR`/frontparts/bloc/category.php}--> 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/site_frame.tpl

    r19802 r19837  
    6161//]]> 
    6262</script> 
    63  
     63<!--{* ▼Head COLUMN*}--> 
     64  <!--{if $arrPageLayout.HeadNavi|@count > 0}--> 
     65    <!--{* ▼上ナビ *}--> 
     66      <!--{foreach key=HeadNaviKey item=HeadNaviItem from=$arrPageLayout.HeadNavi}--> 
     67        <!--{* ▼<!--{$HeadNaviItem.bloc_name}--> ここから*}--> 
     68          <!--{if $HeadNaviItem.php_path != ""}--> 
     69            <!--{include_php file=$HeadNaviItem.php_path}--> 
     70          <!--{else}--> 
     71            <!--{include file=$HeadNaviItem.tpl_path}--> 
     72          <!--{/if}--> 
     73        <!--{* ▲<!--{$HeadNaviItem.bloc_name}--> ここまで*}--> 
     74      <!--{/foreach}--> 
     75    <!--{* ▲上ナビ *}--> 
     76  <!--{/if}--> 
     77<!--{* ▲Head COLUMN*}--> 
    6478</head> 
    6579 
  • branches/version-2_5-dev/data/Smarty/templates/sphone/site_main.tpl

    r19802 r19837  
    2929<a name="top" id="top"></a> 
    3030 
    31 <!--▼MAIN--> 
    32 <!--{include file=$tpl_mainpage}--> 
    33 <!--▲MAIN--> 
     31<!--{* ▼HeaderHeaderTop COLUMN*}--> 
     32    <!--{if $arrPageLayout.HeaderTopNavi|@count > 0}--> 
     33        <div> 
     34            <!--{* ▼上ナビ *}--> 
     35            <!--{foreach key=HeaderTopNaviKey item=HeaderTopNaviItem from=$arrPageLayout.HeaderTopNavi}--> 
     36                <!-- ▼<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     37                <!--{if $HeaderTopNaviItem.php_path != ""}--> 
     38                    <!--{include_php file=$HeaderTopNaviItem.php_path}--> 
     39                <!--{else}--> 
     40                    <!--{include file=$HeaderTopNaviItem.tpl_path}--> 
     41                <!--{/if}--> 
     42                <!-- ▲<!--{$HeaderTopNaviItem.bloc_name}--> --> 
     43            <!--{/foreach}--> 
     44            <!--{* ▲上ナビ *}--> 
     45        </div> 
     46    <!--{/if}--> 
     47<!--{* ▲HeaderHeaderTop COLUMN*}--> 
     48<!--{* ▼HEADER *}--> 
     49<!--{if $arrPageLayout.header_chk != 2}--> 
     50        <!--{include file= $header_tpl}--> 
     51<!--{/if}--> 
     52<!--{* ▲HEADER *}--> 
     53 
     54 
     55<!--{* ▼TOP COLUMN*}--> 
     56<!--{if $arrPageLayout.TopNavi|@count > 0}--> 
     57            <div> 
     58                <!--{* ▼上ナビ *}--> 
     59                <!--{foreach key=TopNaviKey item=TopNaviItem from=$arrPageLayout.TopNavi}--> 
     60                    <!-- ▼<!--{$TopNaviItem.bloc_name}--> --> 
     61                    <!--{if $TopNaviItem.php_path != ""}--> 
     62                        <!--{include_php file=$TopNaviItem.php_path}--> 
     63                    <!--{else}--> 
     64                        <!--{include file=$TopNaviItem.tpl_path}--> 
     65                    <!--{/if}--> 
     66                    <!-- ▲<!--{$TopNaviItem.bloc_name}--> --> 
     67                <!--{/foreach}--> 
     68                <!--{* ▲上ナビ *}--> 
     69            </div> 
     70<!--{/if}--> 
     71<!--{* ▲TOP COLUMN*}--> 
     72 
     73<!--{* ▼CENTER COLUMN *}--> 
     74        <div> 
     75            <!--{* ▼メイン上部 *}--> 
     76            <!--{if $arrPageLayout.MainHead|@count > 0}--> 
     77                <!--{foreach key=MainHeadKey item=MainHeadItem from=$arrPageLayout.MainHead}--> 
     78                    <!-- ▼<!--{$MainHeadItem.bloc_name}--> --> 
     79                    <!--{if $MainHeadItem.php_path != ""}--> 
     80                        <!--{include_php file=$MainHeadItem.php_path}--> 
     81                    <!--{else}--> 
     82                        <!--{include file=$MainHeadItem.tpl_path}--> 
     83                    <!--{/if}--> 
     84                    <!-- ▲<!--{$MainHeadItem.bloc_name}--> --> 
     85                <!--{/foreach}--> 
     86            <!--{/if}--> 
     87            <!--{* ▲メイン上部 *}--> 
     88 
     89            <!--{* ▼メイン *}--> 
     90            <!--{include file=$tpl_mainpage}--> 
     91            <!--{* ▲メイン *}--> 
     92 
     93            <!--{* ▼メイン下部 *}--> 
     94            <!--{if $arrPageLayout.MainFoot|@count > 0}--> 
     95                <!--{foreach key=MainFootKey item=MainFootItem from=$arrPageLayout.MainFoot}--> 
     96                    <!-- ▼<!--{$MainFootItem.bloc_name}--> --> 
     97                    <!--{if $MainFootItem.php_path != ""}--> 
     98                        <!--{include_php file=$MainFootItem.php_path}--> 
     99                    <!--{else}--> 
     100                        <!--{include file=$MainFootItem.tpl_path}--> 
     101                    <!--{/if}--> 
     102                    <!-- ▲<!--{$MainFootItem.bloc_name}--> --> 
     103                <!--{/foreach}--> 
     104            <!--{/if}--> 
     105            <!--{* ▲メイン下部 *}--> 
     106        </div> 
     107<!--{* ▲CENTER COLUMN *}--> 
     108         
     109<!--{* ▼BOTTOM COLUMN*}--> 
     110        <!--{if $arrPageLayout.BottomNavi|@count > 0}--> 
     111            <div> 
     112                <!--{* ▼下ナビ *}--> 
     113                <!--{foreach key=BottomNaviKey item=BottomNaviItem from=$arrPageLayout.BottomNavi}--> 
     114                    <!-- ▼<!--{$BottomNaviItem.bloc_name}--> --> 
     115                    <!--{if $BottomNaviItem.php_path != ""}--> 
     116                        <!--{include_php file=$BottomNaviItem.php_path}--> 
     117                    <!--{else}--> 
     118                        <!--{include file=$BottomNaviItem.tpl_path}--> 
     119                    <!--{/if}--> 
     120                    <!-- ▲<!--{$BottomNaviItem.bloc_name}--> --> 
     121                <!--{/foreach}--> 
     122                <!--{* ▲下ナビ *}--> 
     123            </div> 
     124        <!--{/if}--> 
     125<!--{* ▲BOTTOM COLUMN*}--> 
     126 
    34127 
    35128<!--{* ▼FOOTER *}--> 
     
    38131<!--{/if}--> 
    39132<!--{* ▲FOOTER *}--> 
     133 
     134 <!--{* ▼FooterBottom COLUMN*}--> 
     135    <!--{if $arrPageLayout.FooterBottomNavi|@count > 0}--> 
     136        <div id="footerbottomcolumn"> 
     137            <!--{* ▼上ナビ *}--> 
     138            <!--{foreach key=FooterBottomNaviKey item=FooterBottomNaviItem from=$arrPageLayout.FooterBottomNavi}--> 
     139                <!-- ▼<!--{$FooterBottomNaviItem.bloc_name}--> --> 
     140                <!--{if $FooterBottomNaviItem.php_path != ""}--> 
     141                    <!--{include_php file=$FooterBottomNaviItem.php_path}--> 
     142                <!--{else}--> 
     143                    <!--{include file=$FooterBottomNaviItem.tpl_path}--> 
     144                <!--{/if}--> 
     145                <!-- ▲<!--{$FooterBottomNaviItem.bloc_name}--> --> 
     146            <!--{/foreach}--> 
     147            <!--{* ▲上ナビ *}--> 
     148        </div> 
     149    <!--{/if}--> 
     150<!--{* ▲FooterBottom COLUMN*}--> 
    40151 
    41152</body> 
Note: See TracChangeset for help on using the changeset viewer.