Ignore:
Timestamp:
2011/01/30 17:21:46 (13 years ago)
Author:
Seasoft
Message:

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

  • Smarty タグの不要なスペースを削除
File:
1 edited

Legend:

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

    r19983 r20049  
    4444                    </li> 
    4545                <!--{/if}--> 
    46             <li class="level<!--{$level}--><!--{if in_array($arrTree[cnt].category_id, $tpl_category_id) }--> onmark<!--{/if}-->"><a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrTree[cnt].category_id}-->"<!--{if in_array($arrTree[cnt].category_id, $tpl_category_id) }--> class="onlink"<!--{/if}-->><!--{$arrTree[cnt].category_name|h}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a> 
     46            <li class="level<!--{$level}--><!--{if in_array($arrTree[cnt].category_id, $tpl_category_id)}--> onmark<!--{/if}-->"><a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrTree[cnt].category_id}-->"<!--{if in_array($arrTree[cnt].category_id, $tpl_category_id)}--> class="onlink"<!--{/if}-->><!--{$arrTree[cnt].category_name|h}-->(<!--{$arrTree[cnt].product_count|default:0}-->)</a> 
    4747            <!--{if $firstdone == 0}--><!--{assign var=firstdone value=1}--><!--{/if}--> 
    4848            <!--{assign var=preLev value=`$level`}--> 
     
    5050            <!--{* セクションの最後に閉じタグを追加 *}--> 
    5151            <!--{if $smarty.section.cnt.last}--> 
    52                 <!--{if $preLev-1 > 0 }--> 
     52                <!--{if $preLev-1 > 0}--> 
    5353                    <!--{section name=d loop=`$preLev-1`}--> 
    5454                        </li> 
Note: See TracChangeset for help on using the changeset viewer.