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_select.tpl

    r19771 r19785  
    4141  
    4242<!--▼検索フォーム--> 
    43 <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> 
     43<form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|h}-->"> 
    4444<input name="mode" type="hidden" value="search" /> 
    4545<input name="anchor_key" type="hidden" value="" /> 
     
    8484            <tr style="background:<!--{$arrPRODUCTSTATUS_COLOR[$status]}-->;"> 
    8585                <td align="center"> 
    86                     <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProducts[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[$recommend_no].name|escape}-->" /> 
     86                    <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProducts[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[$recommend_no].name|h}-->" /> 
    8787                </td> 
    88                 <td><!--{$arrProducts[cnt].product_code|escape|default:"-"}--></td> 
    89                 <td><!--{$arrProducts[cnt].name|escape}--></td> 
     88                <td><!--{$arrProducts[cnt].product_code|default:"-"|h}--></td> 
     89                <td><!--{$arrProducts[cnt].name|h}--></td> 
    9090                <td align="center"><a href="#" onclick="return func_submit(<!--{$arrProducts[cnt].product_id}-->)">決定</a></td> 
    9191            </tr> 
Note: See TracChangeset for help on using the changeset viewer.