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

Revision 22954, 12.9 KB checked in by Seasoft, 11 years ago (diff)

#2059 (HTML構文誤り for 2.13.0)

  • 閉じ漏れ

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.13.0)

  • インデント
  • wordwrap の引数

#2140 (標準テンプレートのカスタマイズ性を高める)

  • インデント
  • 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|h}--><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                <tr>
125                    <th>消費税率</th>
126                    <td>
127                        <!--{if strlen($arrForm.tax_rate) >= 1}--><!--{$arrForm.tax_rate|h}--> %<!--{/if}-->
128                    </td>
129                </tr>
130                <tr>
131                    <th>在庫数</th>
132                    <td>
133                        <!--{if $arrForm.stock_unlimited == 1}-->
134                            無制限
135                        <!--{else}-->
136                            <!--{$arrForm.stock|h}-->
137                        <!--{/if}-->
138                    </td>
139                </tr>
140            <!--{/if}-->
141
142            <tr>
143                <th>商品送料</th>
144                <td>
145                    <!--{if strlen($arrForm.deliv_fee) >= 1}--><!--{$arrForm.deliv_fee|h}--> 円<!--{/if}-->
146                </td>
147            </tr>
148            <tr>
149                <th>ポイント付与率</th>
150                <td>
151                    <!--{if strlen($arrForm.point_rate) >= 1}--><!--{$arrForm.point_rate|h}--> %<!--{/if}-->
152                </td>
153            </tr>
154            <tr>
155                <th>発送日目安</th>
156                <td>
157                    <!--{$arrDELIVERYDATE[$arrForm.deliv_date_id]|h}-->
158                </td>
159            </tr>
160            <tr>
161                <th>販売制限数</th>
162                <td>
163                    <!--{$arrForm.sale_limit|default:'無制限'|h}-->
164                </td>
165            </tr>
166            <tr>
167                <th>メーカー</th>
168                <td>
169                    <!--{$arrMaker[$arrForm.maker_id]|h}-->
170                </td>
171            </tr>
172            <tr>
173                <th>メーカーURL</th>
174                <td style="word-break: break-all;">
175                    <!--{$arrForm.comment1|h}-->
176                </td>
177            </tr>
178            <tr>
179                <th>検索ワード</th>
180                <td>
181                    <!--{$arrForm.comment3|h}-->
182                </td>
183            </tr>
184            <tr>
185                <th>備考欄(SHOP専用)</th>
186                <td>
187                    <!--{$arrForm.note|h|nl2br}-->
188                </td>
189            </tr>
190            <tr>
191                <th>一覧-メインコメント</th>
192                <td>
193                    <!--{$arrForm.main_list_comment|h|nl2br}-->
194                </td>
195            </tr>
196            <tr>
197                <th>詳細-メインコメント</th>
198                <td>
199                    <!--{$arrForm.main_comment|nl2br_html}-->
200                </td>
201            </tr>
202            <tr>
203                <th>一覧-メイン画像</th>
204                <td>
205                    <!--{assign var=key value="main_list_image"}-->
206                    <!--{if $arrForm.arrFile[$key].filepath != ""}-->
207                        <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
208                    <!--{/if}-->
209                </td>
210            </tr>
211            <tr>
212                <th>詳細-メイン画像</th>
213                <td>
214                    <!--{assign var=key value="main_image"}-->
215                    <!--{if $arrForm.arrFile[$key].filepath != ""}-->
216                        <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
217                    <!--{/if}-->
218                </td>
219            </tr>
220            <tr>
221                <th>詳細-メイン拡大画像</th>
222                <td>
223                    <!--{assign var=key value="main_large_image"}-->
224                    <!--{if $arrForm.arrFile[$key].filepath != ""}-->
225                        <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
226                    <!--{/if}-->
227                </td>
228            </tr>
229
230            <!--{* オペビルダー用 *}-->
231            <!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
232                <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/admin_ope_view.tpl}-->
233            <!--{/if}-->
234
235            <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
236                <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
237                <tr>
238                    <th>詳細-サブタイトル(<!--{$smarty.section.cnt.iteration}-->)</th>
239                    <td>
240                        <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
241                        <!--{$arrForm[$key]|h}-->
242                    </td>
243                </tr>
244                <tr>
245                    <th>詳細-サブコメント(<!--{$smarty.section.cnt.iteration}-->)</th>
246                    <td>
247                        <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
248                        <!--{$arrForm[$key]|nl2br_html}-->
249                    </td>
250                </tr>
251                <tr>
252                    <th>詳細-サブ画像(<!--{$smarty.section.cnt.iteration}-->)</th>
253                    <td>
254                        <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
255                        <!--{if $arrForm.arrFile[$key].filepath != ""}-->
256                            <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
257                        <!--{/if}-->
258                    </td>
259                </tr>
260                <tr>
261                    <th>詳細-サブ拡大画像(<!--{$smarty.section.cnt.iteration}-->)</th>
262                    <td>
263                        <!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
264                        <!--{if $arrForm.arrFile[$key].filepath != ""}-->
265                            <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /><br />
266                        <!--{/if}-->
267                    </td>
268                </tr>
269                <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
270            <!--{/section}-->
271
272            <!--{if $smarty.const.OPTION_RECOMMEND == 1}-->
273                <!--▼関連商品-->
274                <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->
275                <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
276                    <tr>
277                        <th>関連商品(<!--{$smarty.section.cnt.iteration}-->)<br />
278                            <!--{if $arrRecommend[$recommend_no].product_id|strlen >= 1}-->
279                                <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}-->" />
280                            <!--{/if}-->
281                        </th>
282                        <td>
283                            <!--{if $arrRecommend[$recommend_no].product_id|strlen >= 1}-->
284                                商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}-->
285                                <!--{if $arrRecommend[$recommend_no].product_code_min != $arrRecommend[$recommend_no].product_code_max}-->
286                                    ~ <!--{$arrRecommend[$recommend_no].product_code_max}-->
287                                <!--{/if}-->
288                                <br />
289                                商品名:<!--{$arrRecommend[$recommend_no].name|h}--><br />
290                                コメント:<br />
291                                <!--{$arrRecommend[$recommend_no].comment|h|nl2br}-->
292                            <!--{/if}-->
293                        </td>
294                    </tr>
295                <!--{/section}-->
296                <!--▲関連商品-->
297            <!--{/if}-->
298        </table>
299
300        <div class="btn-area">
301            <ul>
302                <li><a class="btn-action" href="javascript:;" onclick="fnModeSubmit('confirm_return','',''); return false;"><span class="btn-prev">前のページに戻る</span></a></li>
303                <li><a class="btn-action" href="javascript:;" onclick="document.form1.submit(); return false;"><span class="btn-next">この内容で登録する</span></a></li>
304            </ul>
305        </div>
306    </div>
307</form>
Note: See TracBrowser for help on using the repository browser.