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/admin/products/product_class_confirm.tpl

    r19771 r19785  
    2727  <!--{if '/payment_ids:/'|preg_match:$key}--> 
    2828    <!--{foreach item=paymentsVal from=$item}--> 
    29       <input type="hidden" name="<!--{$key}-->[]" value="<!--{$paymentsVal|escape}-->" /> 
     29      <input type="hidden" name="<!--{$key}-->[]" value="<!--{$paymentsVal|h}-->" /> 
    3030    <!--{/foreach}--> 
    3131  <!--{else}--> 
    32     <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" /> 
     32    <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> 
    3333  <!--{/if}--> 
    3434<!--{/foreach}--> 
    3535 
    3636<!--{foreach key=key item=item from=$arrHidden}--> 
    37 <input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" /> 
     37<input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> 
    3838<!--{/foreach}--> 
    3939<div id="products" class="contents-main"> 
     
    8484      <td> 
    8585      <!--{foreach from=$arrForm[$key] item=payment_id}--> 
    86         <!--{$arrPayments[$payment_id]|escape}-->&nbsp; 
     86        <!--{$arrPayments[$payment_id]|h}-->&nbsp; 
    8787      <!--{/foreach}--> 
    8888      </td> 
Note: See TracChangeset for help on using the changeset viewer.