Ignore:
Timestamp:
2011/03/20 14:45:13 (13 years ago)
Author:
kotani
Message:

#862 (テンプレート上のエスケープを簡単に)実装漏れ箇所

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/Smarty/templates/admin/order/product_select.tpl

    r20516 r20741  
    4242    var opner_product_id = 'edit_product_id'; 
    4343    var opner_product_class_id = 'edit_product_class_id'; 
    44     fm1.getElementById("no").value = <!--{$tpl_no}-->; 
     44    fm1.getElementById("no").value = <!--{$tpl_no|h}-->; 
    4545    <!--{else}--> 
    4646    var opner_product_id = 'add_product_id'; 
     
    130130<input name="anchor_key" type="hidden" value="" /> 
    131131<input name="search_pageno" type="hidden" value="" /> 
    132 <input name="no" type="hidden" value="<!--{$tpl_no}-->" /> 
     132<input name="no" type="hidden" value="<!--{$tpl_no|h}-->" /> 
    133133<table class="form"> 
    134134    <colgroup width="20%"> 
     
    145145    <tr> 
    146146        <th>商品名</th> 
    147         <td><input type="text" name="search_name" value="<!--{$arrForm.search_name}-->" size="35" class="box35" /></td> 
     147        <td><input type="text" name="search_name" value="<!--{$arrForm.search_name|h}-->" size="35" class="box35" /></td> 
    148148    </tr> 
    149149    <tr> 
    150150        <th>商品コード</th> 
    151         <td><input type="text" name="search_product_code" value="<!--{$arrForm.search_product_code}-->" size="35" class="box35" /></td> 
     151        <td><input type="text" name="search_product_code" value="<!--{$arrForm.search_product_code|h}-->" size="35" class="box35" /></td> 
    152152    </tr> 
    153153</table> 
Note: See TracChangeset for help on using the changeset viewer.