- Timestamp:
- 2010/12/29 13:10:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/Smarty/templates/default/products/list.tpl
r19775 r19785 140 140 <div id="undercolumn" class="product product_list"> 141 141 <form name="form1" id="form1" method="get" action="?"> 142 <input type="hidden" name="mode" value="<!--{$mode| escape}-->" />142 <input type="hidden" name="mode" value="<!--{$mode|h}-->" /> 143 143 <!--{* ▼検索条件 *}--> 144 <input type="hidden" name="category_id" value="<!--{$arrSearchData.category_id| escape}-->" />145 <input type="hidden" name="maker_id" value="<!--{$arrSearchData.maker_id| escape}-->" />146 <input type="hidden" name="name" value="<!--{$arrSearchData.name| escape}-->" />144 <input type="hidden" name="category_id" value="<!--{$arrSearchData.category_id|h}-->" /> 145 <input type="hidden" name="maker_id" value="<!--{$arrSearchData.maker_id|h}-->" /> 146 <input type="hidden" name="name" value="<!--{$arrSearchData.name|h}-->" /> 147 147 <!--{* ▲検索条件 *}--> 148 148 <!--{* ▼ページナビ関連 *}--> 149 <input type="hidden" name="orderby" value="<!--{$orderby| escape}-->" />150 <input type="hidden" name="disp_number" value="<!--{$disp_number| escape}-->" />151 <input type="hidden" name="pageno" value="<!--{$tpl_pageno| escape}-->" />149 <input type="hidden" name="orderby" value="<!--{$orderby|h}-->" /> 150 <input type="hidden" name="disp_number" value="<!--{$disp_number|h}-->" /> 151 <input type="hidden" name="pageno" value="<!--{$tpl_pageno|h}-->" /> 152 152 <!--{* ▲ページナビ関連 *}--> 153 153 <!--{* ▼注文関連 *}--> … … 159 159 <input type="hidden" name="quantity" value="" /> 160 160 <!--{* ▲注文関連 *}--> 161 <input type="hidden" name="rnd" value="<!--{$tpl_rnd| escape}-->" />161 <input type="hidden" name="rnd" value="<!--{$tpl_rnd|h}-->" /> 162 162 </form> 163 163 164 164 <!--★タイトル★--> 165 <h2 class="title"><!--{$tpl_subtitle| escape}--></h2>165 <h2 class="title"><!--{$tpl_subtitle|h}--></h2> 166 166 167 167 <!--▼検索条件--> 168 168 <!--{if $tpl_subtitle == "検索結果"}--> 169 169 <ul class="pagecondarea"> 170 <li><strong>商品カテゴリ:</strong><!--{$arrSearch.category| escape}--></li>171 <!--{if $arrSearch.maker|strlen >= 1}--><li><strong>メーカー:</strong><!--{$arrSearch.maker| escape}--></li><!--{/if}-->172 <li><strong>商品名:</strong><!--{$arrSearch.name| escape}--></li>170 <li><strong>商品カテゴリ:</strong><!--{$arrSearch.category|h}--></li> 171 <!--{if $arrSearch.maker|strlen >= 1}--><li><strong>メーカー:</strong><!--{$arrSearch.maker|h}--></li><!--{/if}--> 172 <li><strong>商品名:</strong><!--{$arrSearch.name|h}--></li> 173 173 </ul> 174 174 <!--{/if}--> … … 225 225 <!--▼商品--> 226 226 <div class="listarea"> 227 <a name="product<!--{$id| escape}-->" />227 <a name="product<!--{$id|h}-->" /> 228 228 <div class="listphoto"> 229 229 <!--★画像★--> 230 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id| escape:url}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProduct.main_list_image|sfNoImageMainList|escape}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /></a>230 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id|u}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProduct.main_list_image|sfNoImageMainList|h}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /></a> 231 231 </div> 232 232 … … 246 246 <!--★商品名★--> 247 247 <h3> 248 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id| escape:url}-->" name="product<!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|escape}--></a>248 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id|u}-->" name="product<!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|h}--></a> 249 249 </h3> 250 250 251 251 <!--★コメント★--> 252 <p class="listcomment"><!--{$arrProduct.main_list_comment| escape|nl2br}--></p>252 <p class="listcomment"><!--{$arrProduct.main_list_comment|h|nl2br}--></p> 253 253 254 254 <p> … … 269 269 <span class="btnbox"> 270 270 <!--{assign var=name value="detail`$id`"}--> 271 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id| escape:url}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_detail.gif','<!--{$name}-->');">271 <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id|u}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_detail.gif','<!--{$name}-->');"> 272 272 <img src="<!--{$TPL_DIR}-->img/button/btn_detail.gif" width="115" height="25" alt="詳しくはこちら" name="<!--{$name}-->" id="<!--{$name}-->" /></a> 273 273 </span> … … 275 275 276 276 <!--▼買い物かご--> 277 <form name="product_form<!--{$id| escape}-->" action="?" onsubmit="return false;">278 <input type="hidden" name="product_id" value="<!--{$id| escape}-->" />279 <input type="hidden" name="product_class_id" id="product_class_id<!--{$id| escape}-->" value="<!--{$tpl_product_class_id[$id]}-->" />280 <input type="hidden" name="product_type" id="product_type<!--{$id| escape}-->" value="<!--{$tpl_product_type[$id]}-->" />277 <form name="product_form<!--{$id|h}-->" action="?" onsubmit="return false;"> 278 <input type="hidden" name="product_id" value="<!--{$id|h}-->" /> 279 <input type="hidden" name="product_class_id" id="product_class_id<!--{$id|h}-->" value="<!--{$tpl_product_class_id[$id]}-->" /> 280 <input type="hidden" name="product_type" id="product_type<!--{$id|h}-->" value="<!--{$tpl_product_type[$id]}-->" /> 281 281 <div class="in_cart"> 282 282 <!--{if $tpl_stock_find[$id]}--> … … 284 284 <!--{if $tpl_classcat_find1[$id]}--> 285 285 <!--▼規格1--> 286 <dt><!--{$tpl_class_name1[$id]| escape}-->:</dt>286 <dt><!--{$tpl_class_name1[$id]|h}-->:</dt> 287 287 <dd> 288 288 <select name="classcategory_id1" … … 300 300 <!--{if $tpl_classcat_find2[$id]}--> 301 301 <!--▼規格2--> 302 <dt><!--{$tpl_class_name2[$id]| escape}-->:</dt>302 <dt><!--{$tpl_class_name2[$id]|h}-->:</dt> 303 303 <dd> 304 304 <select name="classcategory_id2" … … 316 316 <dt>数量:</dt> 317 317 <dd> 318 <input type="text" name="quantity" class="box54" value="<!--{$arrProduct.quantity|default:1| escape}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" />318 <input type="text" name="quantity" class="box54" value="<!--{$arrProduct.quantity|default:1|h}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 319 319 <!--{if $arrErr.quantity != ""}--> 320 320 <br /><span class="attention"><!--{$arrErr.quantity}--></span>
Note: See TracChangeset
for help on using the changeset viewer.