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

Revision 19983, 8.6 KB checked in by Seasoft, 13 years ago (diff)

#834(パスに関わるパラメータ名が不適切)

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