source: branches/version-2_5-dev/data/Smarty/templates/sphone/shopping/deliv.tpl @ 20407

Revision 20407, 5.9 KB checked in by kotani, 13 years ago (diff)

#812 (トランザクションIDの自動生成/自動検証), #1053 (transactionidが埋め込まれる前にクリックされるとエラー)

  • transactionid用hiddenタグをJavaScriptで生成しないように変更
  • 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 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
22<!--▼CONTENTS-->
23<div id="under02column">
24    <div id="under02column_shopping">
25        <h2 class="title"><!--{$tpl_title|h}--></h2>
26
27        <p>下記一覧よりお届け先住所を選択して、「選択したお届け先に送る」ボタンをクリックしてください。</p>
28        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
29            <p>一覧にご希望の住所が無い場合は、「新しいお届け先を追加する」より追加登録してください。</p>
30        <!--{/if}-->
31        <p>※最大<!--{$smarty.const.DELIV_ADDR_MAX|h}-->件まで登録できます。</p>
32
33        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
34            <p class="addbtn">
35                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.PHP_SELF|h}-->','new_deiv','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.gif','addition');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address.gif','addition');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_address.gif" width="160" height="22" alt="新しいお届け先を追加する" name="addition" id="addition" /></a>
36            </p>
37        <!--{/if}-->
38        <form name="form1" id="form1" method="post" action="?">
39            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
40            <input type="hidden" name="mode" value="customer_addr" />
41            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
42            <input type="hidden" name="other_deliv_id" value="" />
43            <!--{if $arrErr.deli != ""}-->
44                <p class="attention"><!--{$arrErr.deli}--></p>
45            <!--{/if}-->
46            <table summary="お届け先の指定">
47                <tr>
48                    <th>選択</th>
49                    <th>住所種類</th>
50                    <th>お届け先</th>
51                    <th>変更</th>
52                    <th>削除</th>
53                </tr>
54                <!--{section name=cnt loop=$arrAddr}-->
55                <tr>
56                     <td class="centertd">
57                         <!--{if $smarty.section.cnt.first}-->
58                            <input type="radio" name="deliv_check" id="chk_id_<!--{$smarty.section.cnt.iteration}-->" value="-1" <!--{if $arrForm.deliv_check.value == "" || $arrForm.deliv_check.value == -1}--> checked="checked"<!--{/if}--> />
59                         <!--{else}-->
60                            <input type="radio" name="deliv_check" id="chk_id_<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrAddr[cnt].other_deliv_id}-->"<!--{if $arrForm.deliv_check.value == $arrAddr[cnt].other_deliv_id}--> checked="checked"<!--{/if}--> />
61                         <!--{/if}-->
62                    </td>
63                    <td>
64                        <label for="chk_id_<!--{$smarty.section.cnt.iteration}-->">
65                            <!--{if $smarty.section.cnt.first}-->
66                                会員登録住所
67                            <!--{else}-->
68                                追加登録住所
69                            <!--{/if}-->
70                        </label>
71                    </td>
72                    <td>
73                        <!--{assign var=key value=$arrAddr[cnt].pref}-->
74                        <!--{$arrPref[$key]}--><!--{$arrAddr[cnt].addr01|h}--><!--{$arrAddr[cnt].addr02|h}--><br />
75                        <!--{$arrAddr[cnt].name01|h}--> <!--{$arrAddr[cnt].name02|h}-->
76                    </td>
77                    <td class="centertd">
78                        <!--{if !$smarty.section.cnt.first}-->
79                            <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.PHP_SELF|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->','new_deiv','600','640'); return false;">変更</a>
80                        <!--{/if}-->
81                    </td>
82                    <td class="centertd">
83                        <!--{if !$smarty.section.cnt.first}-->
84                            <a href="?" onclick="fnModeSubmit('delete', 'other_deliv_id', '<!--{$arrAddr[cnt].other_deliv_id}-->'); return false">削除</a>
85                        <!--{/if}-->
86                    </td>
87                </tr>
88            <!--{/section}-->
89        </table>
90 <p><a href="javascript:;" onclick="fnModeSubmit('multiple', '', ''); return false">お届け先を複数指定する</a></p>
91            <div class="tblareabtn">
92                      <a href="<!--{$smarty.const.CART_URLPATH}-->" class="spbtn spbtn-medeum">
93                    戻る</a>&nbsp;
94                 <input type="submit" value="選択したお届け先に送る" class="spbtn spbtn-shopping" width="130" height="30" alt="選択したお届け先に送る" name="send_button" id="next" />
95            </div>
96        </form>
97    </div>
98</div>
99<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.