Ignore:
Timestamp:
2010/11/24 05:30:01 (16 years ago)
Author:
Seasoft
Message:

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

  • 「pretax」は収入に関する税込みを意味する英単語だと思いますので、より適切と考えられる「including tax」を基にした単語「inctax」に書き換えます。またメソッド名としては「calculate」を基にした「calc」を前置するように改めます。英文法・命名規則的に正しいか確信はないのですが少なくとも現状よりは理想に近づくと考えます。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/html/user_data/plugins/recommend/tpl/bloc.tpl

    r18499 r19680  
    2222                <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> 
    2323                    <!--{if $price02_min == $price02_max}--> 
    24                         <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     24                        <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    2525                    <!--{else}--> 
    26                         <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     26                        <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    2727                    <!--{/if}-->円</span></p> 
    2828                <p class="mini"><!--{$arrProduct.comment|escape|nl2br}--></p> 
Note: See TracChangeset for help on using the changeset viewer.