source: branches/version-2_5-dev/data/Smarty/templates/default/contact/confirm.tpl @ 20407

Revision 20407, 4.2 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
23<div id="undercolumn">
24  <h2 class="title"><!--{$tpl_title|h}--></h2>
25  <div id="undercolumn_contact">
26    <p>下記入力内容で送信してもよろしいでしょうか?<br />
27      よろしければ、一番下の「完了ページへ」ボタンをクリックしてください。</p>
28    <form name="form1" id="form1" method="post" action="?">
29      <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
30      <input type="hidden" name="mode" value="complete" />
31      <!--{foreach key=key item=item from=$arrForm}-->
32        <!--{if $key ne 'mode'}-->
33      <input type="hidden" name="<!--{$key}-->" value="<!--{$item.value|h}-->" />
34        <!--{/if}-->
35      <!--{/foreach}-->
36      <table summary="お問い合わせ内容確認">
37        <colgroup width="30%"></colgroup>
38        <colgroup width="70%"></colgroup>
39        <tr>
40          <th>お名前<span class="attention">※</span></th>
41          <td><!--{$arrForm.name01.value|h}--> <!--{$arrForm.name02.value|h}--></td>
42        </tr>
43        <tr>
44          <th>お名前(フリガナ)<span class="attention">※</span></th>
45          <td><!--{$arrForm.kana01.value|h}--> <!--{$arrForm.kana02.value|h}--></td>
46        </tr>
47        <tr>
48          <th>郵便番号</th>
49          <td>
50             <!--{if strlen($arrForm.zip01.value) > 0 && strlen($arrForm.zip02.value) > 0}-->
51               〒<!--{$arrForm.zip01.value|h}-->-<!--{$arrForm.zip02.value|h}-->
52             <!--{/if}-->
53          </td>
54        </tr>
55        <tr>
56          <th>住所</th>
57          <td><!--{$arrPref[$arrForm.pref.value]}--><!--{$arrForm.addr01.value|h}--><!--{$arrForm.addr02.value|h}--></td>
58        </tr>
59        <tr>
60          <th>電話番号</th>
61          <td>
62            <!--{if strlen($arrForm.tel01.value) > 0 && strlen($arrForm.tel02.value) > 0 && strlen($arrForm.tel03.value) > 0}-->
63              <!--{$arrForm.tel01.value|h}-->-<!--{$arrForm.tel02.value|h}-->-<!--{$arrForm.tel03.value|h}-->
64            <!--{/if}-->
65          </td>
66        </tr>
67        <tr>
68          <th>メールアドレス<span class="attention">※</span></th>
69          <td><a href="mailto:<!--{$arrForm.email.value|escape:'hex'}-->"><!--{$arrForm.email.value|escape:'hexentity'}--></a></td>
70        </tr>
71        <tr>
72          <th>お問い合わせ内容<span class="attention">※</span><br />
73             <span class="mini">(全角1000字以下)</span></th>
74          <td><!--{$arrForm.contents.value|h|nl2br}--></td>
75        </tr>
76      </table>
77      <div class="btn_area">
78            <ul>
79                <li>
80                      <a href="?" onclick="fnModeSubmit('return', '', ''); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg','back02');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg','back02');"> <img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" name="back02" id="back02" /></a>
81                </li>
82                <li>
83                     <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_complete.jpg" alt="送信" name="send" id="send" />
84                </li>
85            </ul>
86       </div>
87
88     </form>
89   </div>
90</div>
91<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.