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

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

Location:
branches/version-2_12-dev/data/Smarty/templates/mobile/frontparts/bloc
Files:
4 edited

Legend:

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

    r21317 r21537  
    2222 */ 
    2323*}--> 
    24 <!--▼商品カテゴリここから--> 
    25 <!--{1|numeric_emoji}-->商品カテゴリ<br> 
    26 <!--{section name=cnt loop=$arrCat}--> 
    27 <!--{assign var=disp_name value="`$arrCat[cnt].category_name`"}--> 
    28 <!--{if $arrCat[cnt].has_children}--> 
    29 <!--{assign var=path value="`$smarty.const.ROOT_URLPATH`products/category_list.php"}--> 
    30 <!--{else}--> 
    31 <!--{assign var=path value="`$smarty.const.ROOT_URLPATH`products/list.php"}--> 
    32 <!--{/if}--> 
    33  <font color="<!--{cycle values="#000000,#880000,#8888ff,#88ff88,#ff0000"}-->">■</font><a href="<!--{$path}-->?category_id=<!--{$arrCat[cnt].category_id}-->"><!--{$disp_name|sfCutString:10:false|h}--></a><br> 
    34 <!--{/section}--> 
    35 <!--▲商品カテゴリここまで--> 
     24 
     25<!--{strip}--> 
     26    <!--{1|numeric_emoji}-->商品カテゴリ<br> 
     27    <!--{section name=cnt loop=$arrCat}--> 
     28        <!--{assign var=disp_name value="`$arrCat[cnt].category_name`"}--> 
     29        <!--{if $arrCat[cnt].has_children}--> 
     30            <!--{assign var=path value="`$smarty.const.ROOT_URLPATH`products/category_list.php"}--> 
     31        <!--{else}--> 
     32            <!--{assign var=path value="`$smarty.const.ROOT_URLPATH`products/list.php"}--> 
     33        <!--{/if}--> 
     34         <font color="<!--{cycle values="#000000,#880000,#8888ff,#88ff88,#ff0000"}-->">■</font><a href="<!--{$path}-->?category_id=<!--{$arrCat[cnt].category_id}-->"><!--{$disp_name|sfCutString:10:false|h}--></a><br> 
     35    <!--{/section}--> 
     36<!--{/strip}--> 
  • branches/version-2_12-dev/data/Smarty/templates/mobile/frontparts/bloc/news.tpl

    r20764 r21537  
    2222 */ 
    2323*}--> 
    24 <!--{if count($arrNews) > 0}--> 
    25 <center> 
    26 ―――――――――<br> 
    27 <!--{marquee}--> 
    28 <!--{if $arrNews[0].news_url}--><a href="<!--{$arrNews[0].news_url|h}-->"><!--{/if}--> 
    29 <!--{$arrNews[0].news_title|h}--> 
    30 <!--{if $arrNews[0].news_url}--></a><!--{/if}--> 
    31 <!--{/marquee}--> 
    32 ―――――――――<br> 
    33 </center> 
    34 <!--{/if}--> 
     24 
     25<!--{strip}--> 
     26    <!--{if count($arrNews) > 0}--> 
     27        <center> 
     28        ―――――――――<br> 
     29        <!--{marquee}--> 
     30            <!--{if $arrNews[0].news_url}--><a href="<!--{$arrNews[0].news_url|h}-->"><!--{/if}--> 
     31            <!--{$arrNews[0].news_title|h}--> 
     32            <!--{if $arrNews[0].news_url}--></a><!--{/if}--> 
     33        <!--{/marquee}--> 
     34        ―――――――――<br> 
     35        </center> 
     36    <!--{/if}--> 
     37<!--{/strip}--> 
  • branches/version-2_12-dev/data/Smarty/templates/mobile/frontparts/bloc/recommend.tpl

    r20764 r21537  
    2222 */ 
    2323*}--> 
    24 <!--{if count($arrBestProducts) > 0}--> 
    2524 
    26 <!--{foreach from=$arrBestProducts item=arrProduct name=best_products}--> 
     25<!--{strip}--> 
     26    <!--{if count($arrBestProducts) > 0}--> 
    2727 
    28 <!-- ▼おすすめ商品コメント ここから --> 
    29 <a href="<!--{$smarty.const.MOBILE_P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"> 
    30 <!--{$arrProduct.comment|h|nl2br}--></a> 
    31 <!-- ▲おすすめ商品コメント ここまで --> 
     28        <!--{foreach from=$arrBestProducts item=arrProduct name=best_products}--> 
    3229 
    33 <!--{if !$smarty.foreach.best_products.last}--><br><!--{/if}--> 
    34 <!--{/foreach}--> 
     30            <a href="<!--{$smarty.const.MOBILE_P_DETAIL_URLPATH}--><!--{$arrProduct.product_id|u}-->"> 
     31            <!--{$arrProduct.comment|h|nl2br}--></a> 
    3532 
    36 <br> 
    37 <br> 
    38 <hr> 
     33            <!--{if !$smarty.foreach.best_products.last}--><br><!--{/if}--> 
     34        <!--{/foreach}--> 
    3935 
    40 <!--{/if}--> 
     36        <br> 
     37        <br> 
     38        <hr> 
     39 
     40    <!--{/if}--> 
     41<!--{/strip}--> 
  • branches/version-2_12-dev/data/Smarty/templates/mobile/frontparts/bloc/site_logo.tpl

    r20116 r21537  
    1 <!-- ▼ロゴ ここから --> 
    21<center><img src="<!--{$TPL_URLPATH}-->img/header/logo.gif" alt="<!--{$arrSiteInfo.shop_name|h}-->"></center> 
    3 <!-- ▲ロゴ ここまで --> 
    42<br> 
Note: See TracChangeset for help on using the changeset viewer.