source: branches/version-2_12-dev/data/Smarty/templates/mobile/shopping/deliv.tpl @ 21704

Revision 21704, 4.9 KB checked in by Seasoft, 10 years ago (diff)

#1717 (URL のファイルパス部の取得は PHP_SELF の代わりに SCRIPT_NAME を使用する)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • 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-2011 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<!--{strip}-->
26    <!--{if $arrErr.deli != ""}-->
27        <font color="#ff0000"><!--{$arrErr.deli}--></font>
28    <!--{/if}-->
29
30        <!--{section name=cnt loop=$arrAddr}-->
31        <form method="post" action="?">
32            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
33            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
34            <input type="hidden" name="deli" value="<!--{$smarty.section.cnt.iteration}-->">
35            <input type="hidden" name="mode" value="customer_addr">
36            <!--{if $smarty.section.cnt.first}-->
37                <input type="hidden" name="other_deliv_id" value="">
38                <input type="hidden" name="deliv_check" value="-1">
39            <!--{else}-->
40                <input type="hidden" name="other_deliv_id" value="<!--{$arrAddr[cnt].other_deliv_id}-->">
41                <input type="hidden" name="deliv_check" value="<!--{$arrAddr[cnt].other_deliv_id}-->">
42                <br>
43            <!--{/if}-->
44            ■お届け先<!--{$smarty.section.cnt.iteration}--><br>
45            〒<!--{$arrAddr[cnt].zip01}-->-<!--{$arrAddr[cnt].zip02}--><br>
46            <!--{assign var=key value=$arrAddr[cnt].pref}--><!--{$arrPref[$key]}--><!--{$arrAddr[cnt].addr01|h}--><br>
47            <!--{if $arrAddr[cnt].addr02 != ""}-->
48                <!--{$arrAddr[cnt].addr02|h}--><br>
49            <!--{/if}-->
50            <!--{$arrAddr[cnt].name01}--> <!--{$arrAddr[cnt].name02}--><br>
51            <center><input type="submit" value="ここに送る"></center>
52        </form>
53        <!--{if !$smarty.section.cnt.first}-->
54            <!--{* リンクにした方がすっきりしますが、お届け先削除処理がother_deliv_idをPOSTしか受け付けていないので、ボタンで統一しています *}-->
55            <!--{* <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->&amp;uniqid=<!--{$tpl_uniqid}-->">変更</a> *}-->
56            <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php">
57                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
58                <input type="hidden" name="page" value="<!--{$smarty.server.SCRIPT_NAME|h}-->">
59                <input type="hidden" name="other_deliv_id" value="<!--{$arrAddr[cnt].other_deliv_id}-->">
60                <center><input type="submit" value="お届け先情報変更"></center>
61            </form>
62
63            <form method="post" action="?">
64                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
65                <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
66                <input type="hidden" name="mode" value="delete">
67                <input type="hidden" name="other_deliv_id" value="<!--{$arrAddr[cnt].other_deliv_id}-->">
68                <center><input type="submit" value="お届け先を削除"></center>
69            </form>
70        <!--{/if}-->
71    <!--{/section}-->
72
73    <br>
74
75    ■新しいお届け先を追加する<br>
76    <form method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php">
77    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
78    <input type="hidden" name="ParentPage" value="<!--{$smarty.const.DELIV_URLPATH}-->">
79    <center><input type="submit" value="新規登録"></center>
80    </form>
81
82    <!--{if $smarty.const.USE_MULTIPLE_SHIPPING !== false}-->
83        <br>
84
85        ■お届け先を複数指定する<br>
86        <form method="post" action="?">
87            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
88            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
89            <input type="hidden" name="mode" value="multiple">
90            <center><input type="submit" value="複数お届け先"></center>
91        </form>
92    <!--{/if}-->
93<!--{/strip}-->
Note: See TracBrowser for help on using the repository browser.