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

Revision 20989, 2.9 KB checked in by Seasoft, 9 years ago (diff)

#1294 (ソースを読みやすくする)

  • 冗長な記述を単純に
  • 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<!--{/section}-->
53
54<br>
55
56■新しいお届け先を追加する<br>
57<form method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php">
58<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
59<input type="hidden" name="ParentPage" value="<!--{$smarty.const.DELIV_URLPATH}-->">
60<center><input type="submit" value="新規登録"></center>
61</form>
62
63<br>
64
65■お届け先を複数指定する<br>
66<form method="post" action="?">
67<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
68<input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->">
69<input type="hidden" name="mode" value="multiple">
70<center><input type="submit" value="複数お届け先"></center>
71</form>
Note: See TracBrowser for help on using the repository browser.