source: branches/version-2_5-dev/data/Smarty/templates/mobile/cart/index.tpl @ 20050

Revision 20050, 4.7 KB checked in by Seasoft, 13 years ago (diff)

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

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24<!--{* カゴの中に商品がある場合にのみ表示 *}-->
25<!--{if count($cartKeys) > 1}-->
26<font color="#FF0000"><!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}-->、<!--{/if}--><!--{/foreach}-->
27は同時購入できません。お手数ですが、個別に購入手続きをお願い致します。<br></font>
28<!--{/if}-->
29
30<!--{if strlen($tpl_error) != 0}-->
31<font color="#FF0000"><!--{$tpl_error|h}--></font><br>
32<!--{/if}-->
33
34<!--{if strlen($tpl_message) != 0}-->
35<!--{$tpl_message|h|nl2br}--><br>
36<!--{/if}-->
37
38<!--{if count($cartItems) > 0}-->
39<!--{foreach from=$cartKeys item=key}-->
40<form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="?"  utn>
41    <input type="hidden" name="mode" value="confirm">
42    <input type="hidden" name="cart_no" value="">
43    <input type="hidden" name="cartKey" value="<!--{$key}-->">
44    <!--ご注文内容ここから-->
45    <!--{if count($cartKeys) > 1}-->
46    <hr>
47    <!--{$arrProductType[$key]}-->
48    <hr>
49    <!--{/if}-->
50    <!--{foreach from=$cartItems[$key] item=item}-->
51        <!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br>
52        <!--{* 規格名1 *}--><!--{if $item.productsClass.classcategory_name1 != ""}--><!--{$item.productsClass.class_name1}-->:<!--{$item.productsClass.classcategory_name1}--><br><!--{/if}-->
53        <!--{* 規格名2 *}--><!--{if $item.productsClass.classcategory_name2 != ""}--><!--{$item.productsClass.class_name2}-->:<!--{$item.productsClass.classcategory_name2}--><br><!--{/if}-->
54        <!--{* 販売価格 *}-->
55        &yen;<!--{$item.productsClass.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->
56        × <!--{$item.quantity}--><br>
57        <br>
58        <!--{* 数量 *}-->
59        数量:<!--{$item.quantity}-->
60        <a href="?mode=up&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">+</a>
61        <a href="?mode=down&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">-</a>
62        <a href="?mode=delete&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">削除</a><br>
63        <!--{* 合計 *}-->
64        小計:<!--{$item.total_inctax|number_format}-->円<br>
65        <div align="right"><a href="<!--{$smarty.const.MOBILE_P_DETAIL_URLPATH}--><!--{$item.productsClass.product_id|u}-->">商品詳細へ→</a></div>
66        <HR>
67    <!--{/foreach}-->
68    商品合計:<!--{$tpl_total_inctax[$key]|number_format}-->円<br>
69    合計:<!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}-->円<br>
70    <br>
71
72    <!--{if $arrInfo.free_rule > 0}-->
73    <!--{if $arrData[$key].deliv_fee > 0}-->
74        あと「<!--{$tpl_deliv_free[$key]|number_format}-->円」で送料無料です!!<br>
75    <!--{else}-->
76        現在、「送料無料」です!!<br>
77    <!--{/if}-->
78    <br>
79    <!--{/if}-->
80
81    <!--{if $smarty.const.USE_POINT !== false}-->
82    <!--{if $arrData[$key].birth_point > 0}-->
83        お誕生月ポイント<br>
84        <!--{$arrData[$key].birth_point|number_format}-->pt<br>
85    <!--{/if}-->
86    今回加算ポイント<br>
87    <!--{$arrData[$key].add_point|number_format}-->pt<br>
88    <br>
89    <!--{/if}-->
90   
91    <center><input type="submit" value="注文する"></center>
92</form>
93
94<!--{if $tpl_prev_url != ""}-->
95    <a href="<!--{$tpl_prev_url|h}-->">[emoji:69]お買物を続ける</a>
96<!--{/if}-->
97<!--{/foreach}-->
98<!--{else}-->
99    ※現在カート内に商品はございません。<br>
100<!--{/if}-->
101
102<!--{if $smarty.const.USE_POINT !== false}-->
103<hr>
104<!--{if $tpl_login}-->
105<!--{$tpl_name|h}--> 様の、現在の所持ポイントは「<!--{$tpl_user_point|number_format|default:0}--> pt」です。<br>
106<!--{else}-->
107ポイント制度をご利用になられる場合は、会員登録後ログインしてくださいますようお願い致します。<br>
108<!--{/if}-->
109ポイントは商品購入時に1ptを<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br>
110<!--{/if}-->
111<br>
Note: See TracBrowser for help on using the repository browser.