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

Revision 20407, 8.8 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<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
25<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
26<!--{foreach key=key item=item from=$arrSearchHidden}-->
27<input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
28<!--{/foreach}-->
29<input type="hidden" name="mode" value="complete" />
30  <!--{foreach key=key item=item from=$arrForm}-->
31    <!--{if $key == 'product_status'}-->
32      <!--{foreach item=statusVal from=$item}-->
33      <input type="hidden" name="<!--{$key}-->[]" value="<!--{$statusVal|h}-->" />
34      <!--{/foreach}-->
35    <!--{else}-->
36      <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
37    <!--{/if}-->
38  <!--{/foreach}-->
39  <div id="products" class="contents-main">
40
41  <table>
42    <tr>
43      <th>商品名</th>
44      <td>
45      <!--{$arrForm.name|h}-->
46      </td>
47    </tr>
48    <tr>
49      <th>商品カテゴリ</th>
50      <td>
51      <!--{section name=cnt loop=$arrForm.arrCategoryId}-->
52        <!--{assign var=key value=$arrForm.arrCategoryId[cnt]}-->
53        <!--{$arrCatList[$key]|strip|sfTrim}--><br />
54      <!--{/section}-->
55      </td>
56    </tr>
57    <tr>
58      <th>公開・非公開</th>
59      <td>
60      <!--{$arrDISP[$arrForm.status]}-->
61      </td>
62    </tr>
63    <tr>
64      <th>商品ステータス</th>
65      <td>
66      <!--{foreach from=$arrForm.product_status item=status}-->
67        <img src="<!--{$TPL_URLPATH_DEFAULT}--><!--{$arrSTATUS_IMAGE[$status]}-->">
68      <!--{/foreach}-->
69      </td>
70    </tr>
71
72    <!--{if $arrForm.has_product_class != true}-->
73    <tr>
74      <th>商品種別</th>
75      <td>
76      <!--{$arrProductType[$arrForm.product_type_id]}-->
77      </td>
78    </tr>
79    <tr>
80      <th>ダウンロード商品ファイル名</th>
81      <td>
82      <!--{$arrForm.down_filename|h}-->
83      </td>
84    </tr>
85    <tr>
86      <th>ダウンロード商品用<BR />ファイル</th>
87      <td>
88      <!--{if $arrForm.down_realfilename != ""}-->
89          <!--{$arrForm.down_realfilename|h}-->
90      <!--{/if}-->
91      </td>
92    </tr>
93    <tr>
94      <th>商品コード</th>
95      <td>
96      <!--{$arrForm.product_code|h}-->
97      </td>
98    </tr>
99    <tr>
100      <th><!--{$smarty.const.NORMAL_PRICE_TITLE}--></th>
101      <td>
102      <!--{$arrForm.price01|h}-->
103      円</td>
104    </tr>
105    <tr>
106      <th><!--{$smarty.const.SALE_PRICE_TITLE}--></th>
107      <td>
108      <!--{$arrForm.price02|h}-->
109      円</td>
110    </tr>
111    <tr>
112      <th>在庫数</th>
113      <td>
114      <!--{if $arrForm.stock_unlimited == 1}-->
115        無制限
116      <!--{else}-->
117        <!--{$arrForm.stock|h}-->
118      <!--{/if}-->
119      </td>
120    </tr>
121    <!--{/if}-->
122
123    <tr>
124      <th>商品送料</th>
125      <td>
126        <!--{$arrForm.deliv_fee|h}-->
127        円</td>
128    </tr>
129    <tr>
130      <th>ポイント付与率</th>
131      <td>
132      <!--{$arrForm.point_rate|h}-->
133      %</td>
134    </tr>
135    <tr>
136      <th>発送日目安</th>
137      <td>
138      <!--{$arrDELIVERYDATE[$arrForm.deliv_date_id]|h}-->
139      </td>
140    </tr>
141    <tr>
142      <th>購入制限</th>
143      <td>
144        <!--{$arrForm.sale_limit|default:'無制限'|h}-->
145      </td>
146    </tr>
147    <tr>
148      <th>メーカー</th>
149      <td>
150        <!--{$arrMaker[$arrForm.maker_id]|h}-->
151      </td>
152    </tr>
153    <tr>
154      <th>メーカーURL</th>
155      <td>
156      <!--{$arrForm.comment1|h|sfPutBR:$smarty.const.LINE_LIMIT_SIZE}-->
157      </td>
158    </tr>
159    <!--{*
160    <tr>
161      <th>成分</th>
162      <td>
163      <!--{$arrForm.comment2|h}-->
164      </td>
165    </tr>
166    *}-->
167    <tr>
168      <th>検索ワード</th>
169      <td>
170      <!--{$arrForm.comment3|h}-->
171      </td>
172    </tr>
173    <tr>
174      <th>備考欄(SHOP専用)</th>
175      <td>
176        <!--{$arrForm.note|h|nl2br}-->
177      </td>
178    </tr>
179    <tr>
180      <th>一覧-メインコメント</th>
181      <td>
182      <!--{$arrForm.main_list_comment|h|nl2br}-->
183      </td>
184    </tr>
185    <tr>
186      <th>詳細-メインコメント</th>
187      <td>
188      <!--{$arrForm.main_comment|nl2br_html}-->
189      </td>
190    </tr>
191    <tr>
192      <th>一覧-メイン画像</th>
193      <td>
194      <!--{assign var=key value="main_list_image"}-->
195      <!--{if $arrForm.arrFile[$key].filepath != ""}-->
196      <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
197      <!--{/if}-->
198      </td>
199    </tr>
200    <tr>
201      <th>詳細-メイン画像</th>
202      <td>
203      <!--{assign var=key value="main_image"}-->
204      <!--{if $arrForm.arrFile[$key].filepath != ""}-->
205      <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
206      <!--{/if}-->
207      </td>
208    </tr>
209    <tr>
210      <th>詳細-メイン拡大画像</th>
211      <td>
212      <!--{assign var=key value="main_large_image"}-->
213      <!--{if $arrForm.arrFile[$key].filepath != ""}-->
214      <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
215      <!--{/if}-->
216      </td>
217    </tr>
218
219    <!--{* オペビルダー用 *}-->
220    <!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
221    <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/admin_ope_view.tpl}-->
222    <!--{/if}-->
223
224    <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
225    <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
226    <tr>
227      <th>詳細-サブタイトル(<!--{$smarty.section.cnt.iteration}-->)</th>
228      <td>
229      <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
230      <!--{$arrForm[$key]|h}-->
231      </td>
232    </tr>
233    <tr>
234      <th>詳細-サブコメント(<!--{$smarty.section.cnt.iteration}-->)</th>
235      <td>
236      <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
237      <!--{$arrForm[$key]|nl2br_html}-->
238      </td>
239    </tr>
240    <tr>
241      <th>詳細-サブ画像(<!--{$smarty.section.cnt.iteration}-->)</th>
242      <td>
243      <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
244      <!--{if $arrForm.arrFile[$key].filepath != ""}-->
245      <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
246      <!--{/if}-->
247      </td>
248    </tr>
249    <tr>
250      <th>詳細-サブ拡大画像(<!--{$smarty.section.cnt.iteration}-->)</th>
251      <td>
252      <!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
253      <!--{if $arrForm.arrFile[$key].filepath != ""}-->
254      <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
255      <!--{/if}-->
256      </td>
257    </tr>
258    <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
259    <!--{/section}-->
260
261    <!--{if $smarty.const.OPTION_RECOMMEND == 1}-->
262    <!--▼関連商品-->
263    <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->
264    <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
265    <tr>
266      <th>関連商品(<!--{$smarty.section.cnt.iteration}-->)<br />
267      <!--{if $arrRecommend[$recommend_no].product_id|strlen >= 1}-->
268        <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrRecommend[$recommend_no].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[$recommend_no].name|h}-->">
269      <!--{/if}-->
270      </th>
271      <td>
272      <!--{if $arrRecommend[$recommend_no].product_id|strlen >= 1}-->
273        商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--><br />
274        商品名:<!--{$arrRecommend[$recommend_no].name|h}--><br />
275        コメント:<br />
276        <!--{$arrRecommend[$recommend_no].comment|h|nl2br}-->
277      <!--{/if}-->
278      </td>
279    </tr>
280    <!--{/section}-->
281    <!--▲関連商品-->
282    <!--{/if}-->
283  </table>
284
285    <div class="btn-area">
286        <ul>
287            <li><a class="btn-action" href="javascript:;" onclick="fnModeSubmit('confirm_return','',''); return false;"><span class="btn-prev">前のページに戻る</span></a></li>
288            <li><a class="btn-action" href="javascript:;" onclick="document.form1.submit(); return false;"><span class="btn-next">この内容で登録する</span></a></li>
289        </ul>
290    </div>
291</div>
292</form>
Note: See TracBrowser for help on using the repository browser.