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/mypage/favorite.tpl

    r19713 r19785  
    2323*}--> 
    2424<div id="mypagecolumn"> 
    25   <h2 class="title"><!--{$tpl_title|escape}--></h2> 
     25  <h2 class="title"><!--{$tpl_title|h}--></h2> 
    2626  <!--{if $tpl_navi != ""}--> 
    2727    <!--{include file=$tpl_navi}--> 
     
    3434    <input type="hidden" name="order_id" value="" /> 
    3535    <input type="hidden" name="pageno" value="<!--{$tpl_pageno}-->" /> 
    36     <h3><!--{$tpl_subtitle|escape}--></h3> 
     36    <h3><!--{$tpl_subtitle|h}--></h3> 
    3737 
    3838<!--{if $tpl_linemax > 0}--> 
     
    5858      <!--{assign var=product_id value="`$arrFavorite[cnt].product_id`"}--> 
    5959      <tr> 
    60        <td><a href="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id|escape}-->');">削除</a></td> 
    61        <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id|escape:url}-->"><img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrFavorite[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65"></a></td> 
    62        <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id|escape:url}-->"><!--{$arrFavorite[cnt].name}--></a></td> 
     60       <td><a href="javascript:fnModeSubmit('delete_favorite','product_id','<!--{$product_id|h}-->');">削除</a></td> 
     61       <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id|u}-->"><img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrFavorite[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65"></a></td> 
     62       <td><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$product_id|u}-->"><!--{$arrFavorite[cnt].name}--></a></td> 
    6363       <td class="right sale_price"> 
    6464        <span class="price"> 
Note: See TracChangeset for help on using the changeset viewer.