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

Revision 23063, 11.6 KB checked in by pineray, 11 years ago (diff)

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