Changeset 15211


Ignore:
Timestamp:
2007/08/06 12:19:20 (14 years ago)
Author:
Yammy
Message:

変数置換のreplaceテスト

Location:
branches/comu-utf8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-utf8/data/locale/ja.html

    r15109 r15211  
    125125<!--end--> 
    126126 
     127 
     128 
     129<h2>html/user_data/include/bloc/cart.tpl</h2> 
     130<p>Product:__%Quantity%__</p> 
     131<!--product_quantity--> 
     132商品数:__%Quantity%__点 
     133<!--end--> 
     134 
    127135</body> 
    128136 
  • branches/comu-utf8/html/user_data/include/bloc/cart.tpl

    r15100 r15211  
    1515            <tr><td height="5"></td></tr> 
    1616            <tr> 
    17                 <td class="fs10">商品数:<!--{$arrCartList.0.TotalQuantity|number_format|default:0}-->点</td> 
     17                <!--{assign var=val value=$arrCartList.0.TotalQuantity|number_format|default:0}--> 
     18                <td class="fs10"><!--{$smarty.const._lang_product_quantity|replace:"__%Quantity%__":$val}--></td> 
    1819            </tr> 
    1920            <tr><td height="10"><img src="<!--{$smarty.const.URL_DIR}-->img/side/line_146.gif" width="146" height="1" alt=""></td></tr> 
Note: See TracChangeset for help on using the changeset viewer.