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 | <script type="text/javascript"> |
---|
25 | // 表示非表示切り替え |
---|
26 | function lfDispSwitch(id){ |
---|
27 | var obj = document.getElementById(id); |
---|
28 | if (obj.style.display == 'none') { |
---|
29 | obj.style.display = ''; |
---|
30 | } else { |
---|
31 | obj.style.display = 'none'; |
---|
32 | } |
---|
33 | } |
---|
34 | |
---|
35 | // セレクトボックスのリストを初期化 |
---|
36 | // ※キャッシュ対策 |
---|
37 | // (移動元セレクトボックス) |
---|
38 | function fnInitSelect(select) { |
---|
39 | var selectedOptions = <!--{$tpl_json_category_id}-->; |
---|
40 | $('#' + select + ' option').attr('selected', false); |
---|
41 | for(var i=0; i<selectedOptions.length; i++){ |
---|
42 | $('#' + select + ' option[value="' + selectedOptions[i] + '"]') |
---|
43 | .attr('selected', 'selected'); |
---|
44 | } |
---|
45 | } |
---|
46 | |
---|
47 | // セレクトボックスのリストを移動 |
---|
48 | // (移動元セレクトボックスID, 移動先セレクトボックスID) |
---|
49 | function fnMoveSelect(select, target) { |
---|
50 | $('#' + select).children().each(function() { |
---|
51 | if (this.selected) { |
---|
52 | $('#' + target).append(this); |
---|
53 | $(this).attr({selected: false}); |
---|
54 | } |
---|
55 | }); |
---|
56 | // IE7再描画不具合対策 |
---|
57 | var ua = navigator.userAgent.toLowerCase(); |
---|
58 | if (ua.indexOf("msie") != -1 && ua.indexOf('msie 6') == -1) { |
---|
59 | $('#' + select).hide(); |
---|
60 | $('#' + select).show(); |
---|
61 | $('#' + target).hide(); |
---|
62 | $('#' + target).show(); |
---|
63 | } |
---|
64 | } |
---|
65 | |
---|
66 | // target の子要素を選択状態にする |
---|
67 | function selectAll(target) { |
---|
68 | $('#' + target).children().attr({selected: true}); |
---|
69 | } |
---|
70 | |
---|
71 | // 商品種別によってダウンロード商品のフォームの表示非表示を切り替える |
---|
72 | function toggleDownloadFileForms(value) { |
---|
73 | if (value == '2') { |
---|
74 | $('.type-download').show('fast'); |
---|
75 | } else { |
---|
76 | $('.type-download').hide('fast'); |
---|
77 | } |
---|
78 | } |
---|
79 | |
---|
80 | $(function(){ |
---|
81 | var form_product_type = $('input[name=product_type_id]'); |
---|
82 | form_product_type.click(function(){ |
---|
83 | toggleDownloadFileForms(form_product_type.filter(':checked').val()); |
---|
84 | }); |
---|
85 | toggleDownloadFileForms(form_product_type.filter(':checked').val()); |
---|
86 | }) |
---|
87 | </script> |
---|
88 | |
---|
89 | <form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data"> |
---|
90 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
91 | <!--{foreach key=key item=item from=$arrSearchHidden}--> |
---|
92 | <!--{if is_array($item)}--> |
---|
93 | <!--{foreach item=c_item from=$item}--> |
---|
94 | <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" /> |
---|
95 | <!--{/foreach}--> |
---|
96 | <!--{else}--> |
---|
97 | <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" /> |
---|
98 | <!--{/if}--> |
---|
99 | <!--{/foreach}--> |
---|
100 | <input type="hidden" name="mode" value="edit" /> |
---|
101 | <input type="hidden" name="image_key" value="" /> |
---|
102 | <input type="hidden" name="down_key" value="" /> |
---|
103 | <input type="hidden" name="product_id" value="<!--{$arrForm.product_id|h}-->" /> |
---|
104 | <input type="hidden" name="product_class_id" value="<!--{$arrForm.product_class_id|h}-->" /> |
---|
105 | <input type="hidden" name="copy_product_id" value="<!--{$arrForm.copy_product_id|h}-->" /> |
---|
106 | <input type="hidden" name="anchor_key" value="" /> |
---|
107 | <input type="hidden" name="select_recommend_no" value="" /> |
---|
108 | <input type="hidden" name="has_product_class" value="<!--{$arrForm.has_product_class|h}-->" /> |
---|
109 | <!--{foreach key=key item=item from=$arrForm.arrHidden}--> |
---|
110 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> |
---|
111 | <!--{/foreach}--> |
---|
112 | <div id="products" class="contents-main"> |
---|
113 | <h2>基本情報</h2> |
---|
114 | |
---|
115 | <table class="form"> |
---|
116 | <tr> |
---|
117 | <th>商品ID</th> |
---|
118 | <td><!--{$arrForm.product_id|h}--></td> |
---|
119 | </tr> |
---|
120 | <tr> |
---|
121 | <th>商品名<span class="attention"> *</span></th> |
---|
122 | <td> |
---|
123 | <span class="attention"><!--{$arrErr.name}--></span> |
---|
124 | <input type="text" name="name" value="<!--{$arrForm.name|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.name != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" size="60" class="box60" /> |
---|
125 | <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
126 | </td> |
---|
127 | </tr> |
---|
128 | <tr> |
---|
129 | <th>商品カテゴリ<span class="attention"> *</span></th> |
---|
130 | <td> |
---|
131 | <span class="attention"><!--{$arrErr.category_id}--></span> |
---|
132 | <table class="layout"> |
---|
133 | <tr> |
---|
134 | <td> |
---|
135 | <select name="category_id[]" id="category_id" style="<!--{if $arrErr.category_id != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}--> height: 120px; min-width: 200px;" onchange="" size="10" multiple="multiple"> |
---|
136 | </select> |
---|
137 | </td> |
---|
138 | <td style="padding: 15px;"> |
---|
139 | <a class="btn-normal" href="javascript:;" name="on_select" onclick="fnMoveSelect('category_id_unselect','category_id'); return false;"> <- 登録 </a><br /><br /> |
---|
140 | <a class="btn-normal" href="javascript:;" name="un_select" onclick="fnMoveSelect('category_id','category_id_unselect'); return false;"> 削除 -> </a> |
---|
141 | </td> |
---|
142 | <td> |
---|
143 | <select name="category_id_unselect[]" id="category_id_unselect" onchange="" size="10" style="height: 120px; min-width: 200px;" multiple="multiple"> |
---|
144 | <!--{html_options values=$arrCatVal output=$arrCatOut selected=$arrForm.category_id}--> |
---|
145 | </select> |
---|
146 | </td> |
---|
147 | </tr> |
---|
148 | </table> |
---|
149 | </td> |
---|
150 | </tr> |
---|
151 | <tr> |
---|
152 | <th>公開・非公開<span class="attention"> *</span></th> |
---|
153 | <td> |
---|
154 | <!--{html_radios name="status" options=$arrDISP selected=$arrForm.status separator=' '}--> |
---|
155 | </td> |
---|
156 | </tr> |
---|
157 | <tr> |
---|
158 | <th>商品ステータス</th> |
---|
159 | <td> |
---|
160 | <!--{html_checkboxes name="product_status" options=$arrSTATUS selected=$arrForm.product_status separator=' '}--> |
---|
161 | </td> |
---|
162 | </tr> |
---|
163 | <!--{if $arrForm.has_product_class == false}--> |
---|
164 | <tr> |
---|
165 | <th>商品種別<span class="attention"> *</span></th> |
---|
166 | <td> |
---|
167 | <!--{html_radios name="product_type_id" options=$arrProductType selected=$arrForm.product_type_id separator=' '}--> |
---|
168 | </td> |
---|
169 | </tr> |
---|
170 | <tr class="type-download"> |
---|
171 | <th>ダウンロード商品ファイル名<span class="attention"> *</span></th> |
---|
172 | <td> |
---|
173 | <span class="attention"><!--{$arrErr.down_filename}--></span> |
---|
174 | <input type="text" name="down_filename" value="<!--{$arrForm.down_filename|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.down_filename != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}--><!--{/if}-->" size="60" class="box60" /> |
---|
175 | <span class="red"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
176 | </td> |
---|
177 | </tr> |
---|
178 | <tr class="type-download"> |
---|
179 | <!--{assign var=key value="down_file"}--> |
---|
180 | <th>ダウンロード商品用<br />ファイルアップロード<span class="attention"> *</span></th> |
---|
181 | <td> |
---|
182 | <a name="<!--{$key}-->"></a> |
---|
183 | <span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr.down_realfilename}--></span> |
---|
184 | <!--{if $arrForm.down_realfilename != ""}--> |
---|
185 | <!--{$arrForm.down_realfilename|h}--><input type="hidden" name="down_realfilename" value="<!--{$arrForm.down_realfilename|h}-->"> |
---|
186 | <a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_down', 'down_key', '<!--{$key}-->'); return false;">[ファイルの取り消し]</a><br /> |
---|
187 | <!--{/if}--> |
---|
188 | <input type="file" name="down_file" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
189 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_down', 'down_key', '<!--{$key}-->'); return false;">アップロード</a><br />登録可能拡張子:<!--{$smarty.const.DOWNLOAD_EXTENSION}--> (パラメーター DOWNLOAD_EXTENSION) |
---|
190 | </td> |
---|
191 | </tr> |
---|
192 | <tr> |
---|
193 | <th>商品コード<span class="attention"> *</span></th> |
---|
194 | <td> |
---|
195 | <span class="attention"><!--{$arrErr.product_code}--></span> |
---|
196 | <input type="text" name="product_code" value="<!--{$arrForm.product_code|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{if $arrErr.product_code != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" size="60" class="box60" /> |
---|
197 | <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
198 | </td> |
---|
199 | </tr> |
---|
200 | <tr> |
---|
201 | <th><!--{$smarty.const.NORMAL_PRICE_TITLE}--></th> |
---|
202 | <td> |
---|
203 | <span class="attention"><!--{$arrErr.price01}--></span> |
---|
204 | <input type="text" name="price01" value="<!--{$arrForm.price01|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price01 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>円 |
---|
205 | <span class="attention"> (半角数字で入力)</span> |
---|
206 | </td> |
---|
207 | </tr> |
---|
208 | <tr> |
---|
209 | <th><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="attention"> *</span></th> |
---|
210 | <td> |
---|
211 | <span class="attention"><!--{$arrErr.price02}--></span> |
---|
212 | <input type="text" name="price02" value="<!--{$arrForm.price02|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.price02 != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>円 |
---|
213 | <span class="attention"> (半角数字で入力)</span> |
---|
214 | </td> |
---|
215 | </tr> |
---|
216 | <!--{if $smarty.const.OPTION_PRODUCT_TAX_RULE ==1}--> |
---|
217 | <tr> |
---|
218 | <th>消費税率<span class="attention"> *</span></th> |
---|
219 | <td> |
---|
220 | <span class="attention"><!--{$arrErr.tax_rate}--></span> |
---|
221 | <input type="text" name="tax_rate" value="<!--{$arrForm.tax_rate|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" style="<!--{if $arrErr.tax_rate != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>% |
---|
222 | <span class="attention">(半角数字で入力)</span> |
---|
223 | </td> |
---|
224 | </tr> |
---|
225 | <!--{/if}--> |
---|
226 | <tr> |
---|
227 | <th>在庫数<span class="attention"> *</span></th> |
---|
228 | <td> |
---|
229 | <span class="attention"><!--{$arrErr.stock}--></span> |
---|
230 | <input type="text" name="stock" value="<!--{$arrForm.stock|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.stock != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/> |
---|
231 | <input type="checkbox" name="stock_unlimited" value="1" <!--{if $arrForm.stock_unlimited == "1"}-->checked<!--{/if}--> onclick="eccube.checkStockLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/>無制限 |
---|
232 | </td> |
---|
233 | </tr> |
---|
234 | <!--{/if}--> |
---|
235 | |
---|
236 | <tr> |
---|
237 | <th>商品送料</th> |
---|
238 | <td> |
---|
239 | <span class="attention"><!--{$arrErr.deliv_fee}--></span> |
---|
240 | <input type="text" name="deliv_fee" value="<!--{$arrForm.deliv_fee|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PRICE_LEN}-->" style="<!--{if $arrErr.deliv_fee != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>円 |
---|
241 | <span class="attention"> (半角数字で入力)</span> |
---|
242 | <!--{if $smarty.const.OPTION_PRODUCT_DELIV_FEE != 1}--><br /><span class="attention">※現在無効です</span> (パラメーター OPTION_PRODUCT_DELIV_FEE)<!--{/if}--> |
---|
243 | </td> |
---|
244 | </tr> |
---|
245 | <tr> |
---|
246 | <th>ポイント付与率<span class="attention"> *</span></th> |
---|
247 | <td> |
---|
248 | <span class="attention"><!--{$arrErr.point_rate}--></span> |
---|
249 | <input type="text" name="point_rate" value="<!--{$arrForm.point_rate|default:$arrForm.arrInfo.point_rate|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.PERCENTAGE_LEN}-->" style="<!--{if $arrErr.point_rate != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/>% |
---|
250 | <span class="attention"> (半角数字で入力)</span> |
---|
251 | </td> |
---|
252 | </tr> |
---|
253 | <tr> |
---|
254 | <th>発送日目安</th> |
---|
255 | <td> |
---|
256 | <span class="attention"><!--{$arrErr.deliv_date_id}--></span> |
---|
257 | <select name="deliv_date_id" style="<!--{$arrErr.deliv_date_id|sfGetErrorColor}-->"> |
---|
258 | <option value="">選択してください</option> |
---|
259 | <!--{html_options options=$arrDELIVERYDATE selected=$arrForm.deliv_date_id}--> |
---|
260 | </select> |
---|
261 | </td> |
---|
262 | </tr> |
---|
263 | <tr> |
---|
264 | <th>販売制限数</th> |
---|
265 | <td> |
---|
266 | <span class="attention"><!--{$arrErr.sale_limit}--></span> |
---|
267 | <input type="text" name="sale_limit" value="<!--{$arrForm.sale_limit|h}-->" size="6" class="box6" maxlength="<!--{$smarty.const.AMOUNT_LEN}-->" style="<!--{if $arrErr.sale_limit != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"/> |
---|
268 | <span class="attention"> (半角数字で入力)</span> |
---|
269 | </td> |
---|
270 | </tr> |
---|
271 | <tr> |
---|
272 | <th>メーカー</th> |
---|
273 | <td> |
---|
274 | <span class="attention"><!--{$arrErr.maker_id}--></span> |
---|
275 | <select name="maker_id" style="<!--{$arrErr.maker_id|sfGetErrorColor}-->"> |
---|
276 | <option value="">選択してください</option> |
---|
277 | <!--{html_options options=$arrMaker selected=$arrForm.maker_id}--> |
---|
278 | </select> |
---|
279 | </td> |
---|
280 | </tr> |
---|
281 | <tr> |
---|
282 | <th>メーカーURL</th> |
---|
283 | <td> |
---|
284 | <span class="attention"><!--{$arrErr.comment1}--></span> |
---|
285 | <input type="text" name="comment1" value="<!--{$arrForm.comment1|h}-->" maxlength="<!--{$smarty.const.URL_LEN}-->" size="60" class="box60" style="<!--{$arrErr.comment1|sfGetErrorColor}-->" /> |
---|
286 | <span class="attention"> (上限<!--{$smarty.const.URL_LEN}-->文字)</span> |
---|
287 | </td> |
---|
288 | </tr> |
---|
289 | <tr> |
---|
290 | <th>検索ワード<br />※複数の場合は、カンマ( , )区切りで入力して下さい</th> |
---|
291 | <td> |
---|
292 | <span class="attention"><!--{$arrErr.comment3}--></span> |
---|
293 | <textarea name="comment3" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.comment3|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm.comment3|h}--></textarea><br /> |
---|
294 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
295 | </td> |
---|
296 | </tr> |
---|
297 | <tr> |
---|
298 | <th>備考欄(SHOP専用)</th> |
---|
299 | <td> |
---|
300 | <span class="attention"><!--{$arrErr.note}--></span> |
---|
301 | <textarea name="note" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.note|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm.note|h}--></textarea><br /> |
---|
302 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
303 | </td> |
---|
304 | </tr> |
---|
305 | <tr> |
---|
306 | <th>一覧-メインコメント<span class="attention"> *</span></th> |
---|
307 | <td> |
---|
308 | <span class="attention"><!--{$arrErr.main_list_comment}--></span> |
---|
309 | <textarea name="main_list_comment" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" style="<!--{if $arrErr.main_list_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" cols="60" rows="8" class="area60"><!--{"\n"}--><!--{$arrForm.main_list_comment|h}--></textarea><br /> |
---|
310 | <span class="attention"> (上限<!--{$smarty.const.MTEXT_LEN}-->文字)</span> |
---|
311 | </td> |
---|
312 | </tr> |
---|
313 | <tr> |
---|
314 | <th>詳細-メインコメント<span class="attention">(タグ許可)*</span></th> |
---|
315 | <td> |
---|
316 | <span class="attention"><!--{$arrErr.main_comment}--></span> |
---|
317 | <textarea name="main_comment" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{if $arrErr.main_comment != ""}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->" cols="60" rows="8" class="area60"><!--{"\n"}--><!--{$arrForm.main_comment|h}--></textarea><br /> |
---|
318 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
319 | </td> |
---|
320 | </tr> |
---|
321 | <tr> |
---|
322 | <!--{assign var=key value="main_list_image"}--> |
---|
323 | <th>一覧-メイン画像<br />[<!--{$smarty.const.SMALL_IMAGE_WIDTH}-->×<!--{$smarty.const.SMALL_IMAGE_HEIGHT}-->]</th> |
---|
324 | <td> |
---|
325 | <a name="<!--{$key}-->"></a> |
---|
326 | <a name="main_image"></a> |
---|
327 | <a name="main_large_image"></a> |
---|
328 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
329 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
330 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
331 | <!--{/if}--> |
---|
332 | <input type="file" name="main_list_image" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
333 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
334 | </td> |
---|
335 | </tr> |
---|
336 | <tr> |
---|
337 | <!--{assign var=key value="main_image"}--> |
---|
338 | <th>詳細-メイン画像<br />[<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->]</th> |
---|
339 | <td> |
---|
340 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
341 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
342 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
343 | <!--{/if}--> |
---|
344 | <input type="file" name="main_image" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
345 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
346 | </td> |
---|
347 | </tr> |
---|
348 | <tr> |
---|
349 | <!--{assign var=key value="main_large_image"}--> |
---|
350 | <th>詳細-メイン拡大画像<br />[<!--{$smarty.const.LARGE_IMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_IMAGE_HEIGHT}-->]</th> |
---|
351 | <td> |
---|
352 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
353 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
354 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
355 | <!--{/if}--> |
---|
356 | <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
357 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
358 | </td> |
---|
359 | </tr> |
---|
360 | </table> |
---|
361 | |
---|
362 | <!--{* オペビルダー用 *}--> |
---|
363 | <!--{if "sfViewAdminOpe"|function_exists === TRUE}--> |
---|
364 | <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/admin_ope_view.tpl}--> |
---|
365 | <!--{/if}--> |
---|
366 | |
---|
367 | <div class="btn"> |
---|
368 | <a class="btn-normal" href="javascript:;" onclick="selectAll('category_id'); lfDispSwitch('sub_detail'); return false;"><span>サブ情報表示/非表示</span></a> |
---|
369 | </div> |
---|
370 | |
---|
371 | <!--{if $arrForm.sub_find == true}--> |
---|
372 | <div id="sub_detail" style=""> |
---|
373 | <!--{else}--> |
---|
374 | <div id="sub_detail" style="display:none"> |
---|
375 | <!--{/if}--> |
---|
376 | <h2>サブ情報</h2> |
---|
377 | <table class="form"> |
---|
378 | <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> |
---|
379 | <!--▼商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
380 | <tr> |
---|
381 | <th>詳細-サブタイトル(<!--{$smarty.section.cnt.iteration}-->)</th> |
---|
382 | <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}--> |
---|
383 | <td> |
---|
384 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
385 | <input type="text" name="sub_title<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrForm[$key]|h}-->" size="60" class="box60" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/> |
---|
386 | <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span> |
---|
387 | </td> |
---|
388 | </tr> |
---|
389 | <tr> |
---|
390 | <th>詳細-サブコメント(<!--{$smarty.section.cnt.iteration}-->)<span class="attention">(タグ許可)</span></th> |
---|
391 | <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}--> |
---|
392 | <td> |
---|
393 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
394 | <textarea name="sub_comment<!--{$smarty.section.cnt.iteration}-->" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm[$key]|h}--></textarea><br /> |
---|
395 | <span class="attention"> (上限<!--{$smarty.const.LLTEXT_LEN}-->文字)</span> |
---|
396 | </td> |
---|
397 | </tr> |
---|
398 | <tr> |
---|
399 | <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> |
---|
400 | <th>詳細-サブ画像(<!--{$smarty.section.cnt.iteration}-->)<br />[<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.NORMAL_SUBIMAGE_HEIGHT}-->]</th> |
---|
401 | <td> |
---|
402 | <a name="<!--{$key}-->"></a> |
---|
403 | <!--{assign var=largekey value="sub_large_image`$smarty.section.cnt.iteration`"}--> |
---|
404 | <a name="<!--{$largekey}-->"></a> |
---|
405 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
406 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
407 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
408 | <!--{/if}--> |
---|
409 | <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/> |
---|
410 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
411 | </td> |
---|
412 | </tr> |
---|
413 | <tr> |
---|
414 | <!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}--> |
---|
415 | <th>詳細-サブ拡大画像(<!--{$smarty.section.cnt.iteration}-->)<br />[<!--{$smarty.const.LARGE_SUBIMAGE_WIDTH}-->×<!--{$smarty.const.LARGE_SUBIMAGE_HEIGHT}-->]</th> |
---|
416 | <td> |
---|
417 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
418 | <!--{if $arrForm.arrFile[$key].filepath != ""}--> |
---|
419 | <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" /> <a href="" onclick="selectAll('category_id'); eccube.setModeAndSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
420 | <!--{/if}--> |
---|
421 | <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/> |
---|
422 | <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); eccube.setModeAndSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
423 | </td> |
---|
424 | </tr> |
---|
425 | <!--▲商品<!--{$smarty.section.cnt.iteration}-->--> |
---|
426 | <!--{/section}--> |
---|
427 | </table> |
---|
428 | </div> |
---|
429 | |
---|
430 | <div class="btn"> |
---|
431 | <a class="btn-normal" href="javascript:;" onclick="selectAll('category_id'); lfDispSwitch('recommend_select'); return false;"><span>関連商品表示/非表示</span></a> |
---|
432 | </div> |
---|
433 | |
---|
434 | <!--{if $smarty.const.OPTION_RECOMMEND == 1}--> |
---|
435 | <!--{if count($arrRecommend) > 0}--> |
---|
436 | <div id="recommend_select" style=""> |
---|
437 | <!--{else}--> |
---|
438 | <div id="recommend_select" style="display:none"> |
---|
439 | <!--{/if}--> |
---|
440 | <h2>関連商品</h2> |
---|
441 | <table class="form"> |
---|
442 | <!--▼関連商品--> |
---|
443 | <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}--> |
---|
444 | <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}--> |
---|
445 | <tr> |
---|
446 | <!--{assign var=key value="recommend_id`$smarty.section.cnt.iteration`"}--> |
---|
447 | <!--{assign var=anckey value="recommend_no`$smarty.section.cnt.iteration`"}--> |
---|
448 | <th>関連商品(<!--{$smarty.section.cnt.iteration}-->)<br /> |
---|
449 | <!--{if $arrRecommend[$recommend_no].product_id}--> |
---|
450 | <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}-->" /> |
---|
451 | <!--{/if}--> |
---|
452 | </th> |
---|
453 | <td> |
---|
454 | <a name="<!--{$anckey}-->"></a> |
---|
455 | <input type="hidden" name="<!--{$key}-->" value="<!--{$arrRecommend[$recommend_no].product_id|h}-->" /> |
---|
456 | <a class="btn-normal" href="javascript:;" name="change" onclick="selectAll('category_id'); eccube.openWindow('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '615', '500', {menubar:'no'}); return false;">変更</a> |
---|
457 | <!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}--> |
---|
458 | <input type="checkbox" name="<!--{$key}-->" value="1" />削除<br /> |
---|
459 | <!--{assign var=key value="recommend_comment`$smarty.section.cnt.iteration`"}--> |
---|
460 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
461 | 商品コード:<!--{$arrRecommend[$recommend_no].product_code_min}--> |
---|
462 | <!--{if $arrRecommend[$recommend_no].product_code_min != $arrRecommend[$recommend_no].product_code_max}--> |
---|
463 | ~ <!--{$arrRecommend[$recommend_no].product_code_max}--> |
---|
464 | <!--{/if}--> |
---|
465 | <br /> |
---|
466 | 商品名:<!--{$arrRecommend[$recommend_no].name|h}--><br /> |
---|
467 | <textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{"\n"}--><!--{$arrRecommend[$recommend_no].comment|h}--></textarea><br /> |
---|
468 | <span class="attention"> (上限<!--{$smarty.const.LTEXT_LEN}-->文字)</span> |
---|
469 | </td> |
---|
470 | </tr> |
---|
471 | <!--{/section}--> |
---|
472 | <!--▲関連商品--> |
---|
473 | </table> |
---|
474 | </div> |
---|
475 | <!--{/if}--> |
---|
476 | |
---|
477 | <div class="btn-area"> |
---|
478 | <!--{if count($arrSearchHidden) > 0}--> |
---|
479 | <!--▼検索結果へ戻る--> |
---|
480 | <ul> |
---|
481 | <li><a class="btn-action" href="javascript:;" onclick="eccube.changeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); eccube.setModeAndSubmit('search','',''); return false;"><span class="btn-prev">検索画面に戻る</span></a></li> |
---|
482 | <!--▲検索結果へ戻る--> |
---|
483 | <!--{/if}--> |
---|
484 | <li><a class="btn-action" href="javascript:;" onclick="selectAll('category_id'); document.form1.submit(); return false;"><span class="btn-next">確認ページへ</span></a></li> |
---|
485 | </ul> |
---|
486 | </div> |
---|
487 | </div> |
---|
488 | </form> |
---|