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

Revision 20640, 10.7 KB checked in by t_yuo, 13 years ago (diff)

#1100 ([管理画面]商品管理(商品登録):「商品ステータス」をなにも選択しない場合、確認画面で空の<img>タグが出力される)
修正しました。

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