source: branches/version-2_5-dev/data/Smarty/templates/admin/products/product_class_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/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 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<h2>確認</h2>
25<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
26<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
27<!--{foreach key=key item=item from=$arrForm}-->
28    <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
29<!--{/foreach}-->
30
31<!--{foreach key=key item=item from=$arrHidden}-->
32<input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
33<!--{/foreach}-->
34<div id="products" class="contents-main">
35
36  <!--{if $tpl_check > 0}-->
37  <table class="list">
38    <!--{assign var=class_id1 value=$arrForm.class_id1}-->
39    <!--{assign var=class_id2 value=$arrForm.class_id2}-->
40    <tr>
41      <th>規格1(<!--{$arrClass[$class_id1]|default:"未選択"}-->)</th>
42      <th>規格2(<!--{$arrClass[$class_id2]|default:"未選択"}-->)</th>
43      <th>商品コード</th>
44      <th>在庫数</th>
45      <th><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</th>
46      <th><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)</th>
47      <th>商品種別</th>
48      <th>ダウンロードファイル名</th>
49      <th>ダウンロード商品用ファイルアップロード</th>
50    </tr>
51    <!--{section name=cnt loop=$tpl_count}-->
52    <!--{assign var=key value="check:`$smarty.section.cnt.iteration`"}-->
53    <!--{if $arrForm[$key] == 1}-->
54    <tr>
55      <!--{assign var=key value="name1:`$smarty.section.cnt.iteration`"}-->
56      <td><!--{$arrForm[$key]}--></td>
57      <!--{assign var=key value="name2:`$smarty.section.cnt.iteration`"}-->
58      <td><!--{$arrForm[$key]}--></td>
59      <!--{assign var=key value="product_code:`$smarty.section.cnt.iteration`"}-->
60      <td><!--{$arrForm[$key]}--></td>
61      <!--{assign var=key1 value="stock:`$smarty.section.cnt.iteration`"}-->
62      <!--{assign var=key2 value="stock_unlimited:`$smarty.section.cnt.iteration`"}-->
63      <td class="right">
64      <!--{if $arrForm[$key2] == 1}-->
65        無制限
66      <!--{else}-->
67        <!--{$arrForm[$key1]}-->
68      <!--{/if}-->
69      </td>
70      <!--{assign var=key value="price01:`$smarty.section.cnt.iteration`"}-->
71      <td class="right"><!--{$arrForm[$key]}--></td>
72      <!--{assign var=key value="price02:`$smarty.section.cnt.iteration`"}-->
73      <td class="right"><!--{$arrForm[$key]}--></td>
74      <!--{assign var=key value="product_type_id:`$smarty.section.cnt.iteration`"}-->
75      <td class="right">
76      <!--{foreach from=$arrForm[$key] item=product_type_id}-->
77        <!--{$arrProductType[$product_type_id]|h}-->
78      <!--{/foreach}-->
79      </td>
80      <!--{assign var=key value="down_filename:`$smarty.section.cnt.iteration`"}-->
81      <td class="right"><!--{$arrForm[$key]}--></td>
82      <!--{assign var=key value="down_realfilename:`$smarty.section.cnt.iteration`"}-->
83      <td class="right"><!--{$arrForm[$key]}--></td>
84    </tr>
85    <!--{/if}-->
86    <!--{/section}-->
87  </table>
88  <!--{else}-->
89  <div class="message">規格が選択されていません。</div>
90  <!--{/if}-->
91
92  <div class="btn-area">
93    <ul>
94      <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'confirm_return','',''); return false"><span class="btn-prev">前へ戻る</span></a></li>
95    <!--{if $tpl_check > 0}-->
96      <li><a class="btn-action" href="javascript:;" onclick="document.form1.submit(); return false;"><span class="btn-next">この内容で登録する</span></a></li>
97    <!--{/if}-->
98    </ul>
99  </div>
100</div>
101</form>
Note: See TracBrowser for help on using the repository browser.