Ignore:
Timestamp:
2010/12/29 13:10:01 (13 years ago)
Author:
Seasoft
Message:

#862(テンプレート上のエスケープを簡単に)
#628(未使用処理・定義などの削除)

  • Smarty 変数 tpl_start

#879(jQuery の ready イベントと競合する body の onload イベントを使用している)

File:
1 edited

Legend:

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

    r19756 r19785  
    3333<div id="under02column"> 
    3434    <div id="under02column_cart"> 
    35         <h2 class="title"><!--{$tpl_title|escape}--></h2> 
     35        <h2 class="title"><!--{$tpl_title|h}--></h2> 
    3636        <!--{if $smarty.const.USE_POINT !== false || count($arrProductsClass) > 0}--> 
    3737            <p class="totalmoneyarea"> 
     
    3939                <!--{if $smarty.const.USE_POINT !== false}--> 
    4040                    <!--{if $tpl_login}--> 
    41                         <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br /> 
     41                        <!--{$tpl_name|h}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br /> 
    4242                    <!--{else}--> 
    4343                        ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br /> 
     
    6363 
    6464    <!--{if strlen($tpl_error) != 0}--> 
    65         <p class="attention"><!--{$tpl_error|escape}--></p> 
     65        <p class="attention"><!--{$tpl_error|h}--></p> 
    6666    <!--{/if}--> 
    6767 
    6868    <!--{if strlen($tpl_message) != 0}--> 
    69         <p class="attention"><!--{$tpl_message|escape|nl2br}--></p> 
     69        <p class="attention"><!--{$tpl_message|h|nl2br}--></p> 
    7070    <!--{/if}--> 
    7171 
     
    9797                        <a 
    9898                            <!--{if $item.productsClass.main_image|strlen >= 1}--> 
    99                                 href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$item.productsClass.main_image|sfNoImageMainList|escape}-->" 
     99                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->" 
    100100                                class="expansion" 
    101101                                target="_blank" 
    102102                            <!--{/if}--> 
    103103                        > 
    104                             <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|escape}-->" /></a> 
     104                            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /></a> 
    105105                        </td> 
    106                         <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|escape}--></strong><br /> 
     106                        <td><!--{* 商品名 *}--><strong><!--{$item.productsClass.name|h}--></strong><br /> 
    107107                            <!--{if $item.productsClass.classcategory_name1 != ""}--> 
    108108                                <!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br /> 
Note: See TracChangeset for help on using the changeset viewer.