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

Revision 21535, 4.3 KB checked in by Seasoft, 12 years ago (diff)

#1613 (ソース整形・ソースコメントの改善)

  • 主にテンプレートのスペース関連
  • 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<!--{if $arrErr.deli != ""}-->
25<font color="#ff0000"><!--{$arrErr.deli}--></font>
26<!--{/if}-->
27
28<!--▼CONTENTS-->
29<!--{section name=cnt loop=$arrAddr}-->
30<form method="post" action="?">
31<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
32<input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
33<input type="hidden" name="deli" value="<!--{$smarty.section.cnt.iteration}-->">
34<input type="hidden" name="mode" value="customer_addr">
35<!--{if $smarty.section.cnt.first}-->
36<input type="hidden" name="other_deliv_id" value="">
37<input type="hidden" name="deliv_check" value="-1">
38<!--{else}-->
39<input type="hidden" name="other_deliv_id" value="<!--{$arrAddr[cnt].other_deliv_id}-->">
40<input type="hidden" name="deliv_check" value="<!--{$arrAddr[cnt].other_deliv_id}-->">
41<br>
42<!--{/if}-->
43■お届け先<!--{$smarty.section.cnt.iteration}--><br>
44〒<!--{$arrAddr[cnt].zip01}-->-<!--{$arrAddr[cnt].zip02}--><br>
45<!--{assign var=key value=$arrAddr[cnt].pref}--><!--{$arrPref[$key]}--><!--{$arrAddr[cnt].addr01|h}--><br>
46<!--{if $arrAddr[cnt].addr02 != ""}-->
47<!--{$arrAddr[cnt].addr02|h}--><br>
48<!--{/if}-->
49<!--{$arrAddr[cnt].name01}--> <!--{$arrAddr[cnt].name02}--><br>
50<center><input type="submit" value="ここに送る"></center>
51</form>
52<!--{if !$smarty.section.cnt.first}-->
53    <!--{* リンクにした方がすっきりしますが、お届け先削除処理がother_deliv_idをPOSTしか受け付けていないので、ボタンで統一しています *}-->
54    <!--{* <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.PHP_SELF|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->&amp;uniqid=<!--{$tpl_uniqid}-->">変更</a> *}-->
55    <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php">
56    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
57    <input type="hidden" name="page" value="<!--{$smarty.server.PHP_SELF|h}-->">
58    <input type="hidden" name="other_deliv_id" value="<!--{$arrAddr[cnt].other_deliv_id}-->">
59    <center><input type="submit" value="お届け先情報変更"></center>
60    </form>
61
62    <form method="post" action="?">
63    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
64    <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
65    <input type="hidden" name="mode" value="delete">
66    <input type="hidden" name="other_deliv_id" value="<!--{$arrAddr[cnt].other_deliv_id}-->">
67    <center><input type="submit" value="お届け先を削除"></center>
68    </form>
69<!--{/if}-->
70
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}-->
Note: See TracBrowser for help on using the repository browser.