source: branches/version-2_12-multilang/data/Smarty/templates/admin/products/product.tpl @ 22391

Revision 22391, 27.5 KB checked in by m_uehara, 11 years ago (diff)

#2060 メッセージIDの振り直し

  • 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-2012 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<script type="text/javascript">
26// 表示非表示切り替え
27function lfDispSwitch(id){
28    var obj = document.getElementById(id);
29    if (obj.style.display == 'none') {
30        obj.style.display = '';
31    } else {
32        obj.style.display = 'none';
33    }
34}
35
36// セレクトボックスのリストを移動
37// (移動元セレクトボックスID, 移動先セレクトボックスID)
38function fnMoveSelect(select, target) {
39    $('#' + select).children().each(function() {
40        if (this.selected) {
41            $('#' + target).append(this);
42            $(this).attr({selected: false});
43        }
44    });
45    // IE7再描画不具合対策
46    if ($.browser.msie && $.browser.version >= 7) {
47        $('#' + select).hide();
48        $('#' + select).show();
49        $('#' + target).hide();
50        $('#' + target).show();
51    }
52}
53
54// target の子要素を選択状態にする
55function selectAll(target) {
56    $('#' + target).children().attr({selected: true});
57}
58
59</script>
60
61<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
62<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
63<!--{foreach key=key item=item from=$arrSearchHidden}-->
64    <!--{if is_array($item)}-->
65        <!--{foreach item=c_item from=$item}-->
66        <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" />
67        <!--{/foreach}-->
68    <!--{else}-->
69        <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" />
70    <!--{/if}-->
71<!--{/foreach}-->
72<input type="hidden" name="mode" value="edit" />
73<input type="hidden" name="image_key" value="" />
74<input type="hidden" name="down_key" value="">
75<input type="hidden" name="product_id" value="<!--{$arrForm.product_id|h}-->" />
76<input type="hidden" name="product_class_id" value="<!--{$arrForm.product_class_id|h}-->" />
77<input type="hidden" name="copy_product_id" value="<!--{$arrForm.copy_product_id|h}-->" />
78<input type="hidden" name="anchor_key" value="" />
79<input type="hidden" name="select_recommend_no" value="" />
80<input type="hidden" name="has_product_class" value="<!--{$arrForm.has_product_class|h}-->" />
81<!--{foreach key=key item=item from=$arrForm.arrHidden}-->
82<input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
83<!--{/foreach}-->
84<div id="products" class="contents-main">
85    <h2><!--{t string="tpl_027" escape="none"}--></h2>
86
87    <table class="form">
88        <tr>
89            <th><!--{t string="tpl_577"}--></th>
90            <td><!--{$arrForm.product_id|h}--></td>
91        </tr>
92        <tr>
93            <th><!--{t string="tpl_188_1" escape="none"}--></th>
94            <td>
95                <span class="attention"><!--{$arrErr.name}--></span>
96                <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" />
97                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.STEXT_LEN}--></span>
98            </td>
99        </tr>
100        <tr>
101            <th><!--{t string="tpl_498_1" escape="none"}--></th>
102            <td>
103                <span class="attention"><!--{$arrErr.category_id}--></span>
104                <table class="layout">
105                    <tr>
106                        <td>
107                            <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>
108                            </select>
109                        </td>
110                        <td style="padding: 15px;">
111                            <a class="btn-normal" href="javascript:;" name="on_select" onclick="fnMoveSelect('category_id_unselect','category_id'); return false;">&nbsp;&nbsp;&lt;-&nbsp;<!--{t string="tpl_488"}-->&nbsp;&nbsp;</a><br /><br />
112                            <a class="btn-normal" href="javascript:;" name="un_select" onclick="fnMoveSelect('category_id','category_id_unselect'); return false;">&nbsp;&nbsp;<!--{t string="tpl_Remove_01"}-->&nbsp;-&gt;&nbsp;&nbsp;</a>
113                        </td>
114                        <td>
115                            <select name="category_id_unselect[]" id="category_id_unselect" onchange="" size="10" style="height: 120px; min-width: 200px;" multiple>
116                                <!--{html_options values=$arrCatVal output=$arrCatOut selected=$arrForm.category_id}-->
117                            </select>
118                        </td>
119                    </tr>
120                </table>
121            </td>
122        </tr>
123        <tr>
124            <th><!--{t string="tpl_499_1" escape="none"}--></th>
125            <td>
126                <!--{html_radios name="status" options=$arrDISP selected=$arrForm.status separator='&nbsp;&nbsp;'}-->
127            </td>
128        </tr>
129        <tr>
130            <th><!--{t string="tpl_554"}--></th>
131            <td>
132                <!--{html_checkboxes name="product_status" options=$arrSTATUS selected=$arrForm.product_status separator='&nbsp;&nbsp;'}-->
133            </td>
134        </tr>
135        <!--{if $arrForm.has_product_class == false}-->
136        <tr>
137            <th><!--{t string="tpl_Product type<span class='attention'> *</span>_01" escape="none"}--></th>
138            <td>
139                <!--{html_radios name="product_type_id" options=$arrProductType selected=$arrForm.product_type_id separator='&nbsp;&nbsp;'}-->
140            </td>
141        </tr>
142        <tr>
143            <th><!--{t string="tpl_555_1" escape="none"}--></th>
144            <td>
145                <span class="attention"><!--{$arrErr.down_filename}--></span>
146                <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" />
147                <span class="red"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.STEXT_LEN}--></span>
148            </td>
149        </tr>
150        <tr>
151            <!--{assign var=key value="down_file"}-->
152            <th><!--{t string="tpl_586" escape="none"}--></th>
153            <td>
154                <a name="<!--{$key}-->"></a>
155                <span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr.down_realfilename}--></span>
156                    <!--{if $arrForm.down_realfilename != ""}-->
157                        <!--{$arrForm.down_realfilename|h}--><input type="hidden" name="down_realfilename" value="<!--{$arrForm.down_realfilename|h}-->">
158                        <a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_down', 'down_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_587}--></a><br>
159                    <!--{/if}-->
160                    <input type="file" name="down_file" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
161                    <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_down', 'down_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_085"}--></a><br /><!--{t string="tpl_588" T_FIELD=$smarty.const.DOWNLOAD_EXTENSION}-->
162            </td>
163        </tr>
164        <tr>
165            <th><!--{t string="tpl_192_1" escape="none"}--></th>
166            <td>
167                <span class="attention"><!--{$arrErr.product_code}--></span>
168                <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" />
169                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.STEXT_LEN}--></span>
170            </td>
171        </tr>
172        <tr>
173            <th><!--{$smarty.const.NORMAL_PRICE_TITLE}--></th>
174            <td>
175                <span class="attention"><!--{$arrErr.price01}--></span>
176                <!--{t string="currency_prefix"}--><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}-->"/><!--{t string="currency_suffix"}-->
177                <span class="attention"> <!--{t string="tpl_589"}--></span>
178            </td>
179        </tr>
180        <tr>
181            <th><!--{t string="tpl_709" escape="none" T_FIELD=$smarty.const.SALE_PRICE_TITLE}--></th>
182            <td>
183                <span class="attention"><!--{$arrErr.price02}--></span>
184                <!--{t string="currency_prefix"}-->
185                <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}-->"/>
186                <!--{t string="currency_suffix"}-->
187                <span class="attention"> <!--{t string="tpl_589"}--></span>
188            </td>
189        </tr>
190        <tr>
191            <th><!--{t string="tpl_557_1" escape="none"}--></th>
192            <td>
193                <span class="attention"><!--{$arrErr.stock}--></span>
194                <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}-->"/>
195                <input type="checkbox" name="stock_unlimited" value="1" <!--{if $arrForm.stock_unlimited == "1"}-->checked<!--{/if}--> onclick="fnCheckStockLimit('<!--{$smarty.const.DISABLED_RGB}-->');"/><!--{t string="tpl_053"}-->
196            </td>
197        </tr>
198        <!--{/if}-->
199
200        <tr>
201            <th><!--{t string="tpl_558"}--></th>
202            <td>
203                <span class="attention"><!--{$arrErr.deliv_fee}--></span>
204                <!--{t string="currency_prefix"}-->
205                <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}-->"/>
206                <!--{t string="currency_suffix"}-->
207                <span class="attention"> <!--{t string="tpl_589"}--></span>
208                <!--{if $smarty.const.OPTION_PRODUCT_DELIV_FEE != 1}--><br /><span class="attention"><!--{t string="tpl_590"}--></span> <!--{t string="tpl_591"}--><!--{/if}-->
209            </td>
210        </tr>
211        <tr>
212            <th><!--{t string="tpl_559_1" escape="none"}--></th>
213            <td>
214                <span class="attention"><!--{$arrErr.point_rate}--></span>
215                <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}-->"/><!--{t string="%"}-->
216                <span class="attention"> <!--{t string="tpl_589"}--></span>
217            </td>
218        </tr>
219        <tr>
220            <th><!--{t string="tpl_560"}--></th>
221            <td>
222                <span class="attention"><!--{$arrErr.deliv_date_id}--></span>
223                <select name="deliv_date_id" style="<!--{$arrErr.deliv_date_id|sfGetErrorColor}-->">
224                    <option value=""><!--{t string="tpl_068"}--></option>
225                    <!--{html_options options=$arrDELIVERYDATE selected=$arrForm.deliv_date_id}-->
226                </select>
227            </td>
228        </tr>
229        <tr>
230            <th><!--{t string="tpl_561"}--></th>
231            <td>
232                <span class="attention"><!--{$arrErr.sale_limit}--></span>
233                <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}-->"/>
234                <span class="attention"> <!--{t string="tpl_589"}--></span>
235            </td>
236        </tr>
237        <tr>
238            <th><!--{t string="tpl_562"}--></th>
239            <td>
240                <span class="attention"><!--{$arrErr.maker_id}--></span>
241                <select name="maker_id" style="<!--{$arrErr.maker_id|sfGetErrorColor}-->">
242                    <option value=""><!--{t string="tpl_068"}--></option>
243                    <!--{html_options options=$arrMaker selected=$arrForm.maker_id}-->
244                </select>
245            </td>
246        </tr>
247        <tr>
248            <th><!--{t string="tpl_563"}--></th>
249            <td>
250                <span class="attention"><!--{$arrErr.comment1}--></span>
251                <input type="text" name="comment1" value="<!--{$arrForm.comment1|h}-->" maxlength="<!--{$smarty.const.URL_LEN}-->" size="60" class="box60" style="<!--{$arrErr.comment1|sfGetErrorColor}-->" />
252                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.URL_LEN}--></span>
253            </td>
254        </tr>
255        <tr>
256            <th><!--{t string="tpl_592" escape="none"}--></th>
257            <td>
258                <span class="attention"><!--{$arrErr.comment3}--></span>
259                <textarea name="comment3" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.comment3|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm.comment3|h}--></textarea><br />
260                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.LLTEXT_LEN}--></span>
261            </td>
262        </tr>
263        <tr>
264            <th><!--{t string="tpl_565"}--></th>
265            <td>
266                <span class="attention"><!--{$arrErr.note}--></span>
267                <textarea name="note" cols="60" rows="8" class="area60" maxlength="<!--{$smarty.const.LLTEXT_LEN}-->" style="<!--{$arrErr.note|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm.note|h}--></textarea><br />
268                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.LLTEXT_LEN}--></span>
269            </td>
270        </tr>
271        <tr>
272            <th><!--{t string="tpl_566_1" escape="none"}--></th>
273            <td>
274                <span class="attention"><!--{$arrErr.main_list_comment}--></span>
275                <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 />
276                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.MTEXT_LEN}--></span>
277            </td>
278        </tr>
279        <tr>
280            <th><!--{t string="tpl_567"}--><span class="attention"><!--{t string="tpl_594"}-->*</span></th>
281            <td>
282                <span class="attention"><!--{$arrErr.main_comment}--></span>
283                <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 />
284                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.LLTEXT_LEN}--></span>
285            </td>
286        </tr>
287        <tr>
288            <!--{assign var=key value="main_list_image"}-->
289            <th><!--{t string="tpl_710" escape="none" T_FIELD1=$smarty.const.SMALL_IMAGE_WIDTH T_FIELD2=$smarty.const.SMALL_IMAGE_HEIGHT }--></th>
290            <td>
291                <a name="<!--{$key}-->"></a>
292                <a name="main_image"></a>
293                <a name="main_large_image"></a>
294                <span class="attention"><!--{$arrErr[$key]}--></span>
295                <!--{if $arrForm.arrFile[$key].filepath != ""}-->
296                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />&nbsp;<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_084"}--></a><br />
297                <!--{/if}-->
298                <input type="file" name="main_list_image" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
299                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_085"}--></a>
300            </td>
301        </tr>
302        <tr>
303            <!--{assign var=key value="main_image"}-->
304            <th><!--{t string="tpl_711" escape="none" T_FIELD1=$smarty.const.NORMAL_IMAGE_WIDTH T_FIELD2=$smarty.const.NORMAL_IMAGE_HEIGHT }--></th>
305            <td>
306                <span class="attention"><!--{$arrErr[$key]}--></span>
307                <!--{if $arrForm.arrFile[$key].filepath != ""}-->
308                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />&nbsp;<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_084"}--></a><br />
309                <!--{/if}-->
310                <input type="file" name="main_image" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
311                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_085"}--></a>
312            </td>
313        </tr>
314        <tr>
315            <!--{assign var=key value="main_large_image"}-->
316            <th><!--{t string="tpl_712" escape="none" T_FIELD1=$smarty.const.LARGE_IMAGE_WIDTH T_FIELD2=$smarty.const.LARGE_IMAGE_HEIGHT }--></th>
317            <td>
318                <span class="attention"><!--{$arrErr[$key]}--></span>
319                <!--{if $arrForm.arrFile[$key].filepath != ""}-->
320                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />&nbsp;<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_084"}--></a><br />
321                <!--{/if}-->
322                <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" />
323                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_085"}--></a>
324            </td>
325        </tr>
326    </table>
327
328    <!--{* オペビルダー用 *}-->
329    <!--{if "sfViewAdminOpe"|function_exists === TRUE}-->
330    <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/admin_ope_view.tpl}-->
331    <!--{/if}-->
332
333    <div class="btn">
334        <a class="btn-normal" href="javascript:;" onclick="selectAll('category_id'); lfDispSwitch('sub_detail'); return false;"><span><!--{t string="tpl_595"}--></span></a>
335    </div>
336
337    <!--{if $arrForm.sub_find == true}-->
338    <div id="sub_detail" style="">
339    <!--{else}-->
340    <div id="sub_detail" style="display:none">
341    <!--{/if}-->
342    <h2><!--{t string="tpl_593"}--></h2>
343    <table class="form">
344        <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
345        <!--▼商品<!--{$smarty.section.cnt.iteration}-->-->
346        <tr>
347            <th><!--{t string="tpl_571" T_FIELD=$smarty.section.cnt.iteration}--></th>
348            <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}-->
349            <td>
350                <span class="attention"><!--{$arrErr[$key]}--></span>
351                <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}-->"/>
352                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.STEXT_LEN}--></span>
353            </td>
354        </tr>
355        <tr>
356            <th><!--{t string="tpl_572" T_FIELD=$smarty.section.cnt.iteration}--><span class="attention"><!--{t string="tpl_594"}--></span></th>
357            <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}-->
358            <td>
359                <span class="attention"><!--{$arrErr[$key]}--></span>
360                <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 />
361                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.LLTEXT_LEN}--></span>
362            </td>
363        </tr>
364        <tr>
365            <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
366            <th><!--{t string="tpl_705" escape="none" T_FIELD1=$smarty.section.cnt.iteration T_FIELD2=$smarty.const.NORMAL_SUBIMAGE_WIDTH T_FIELD3=$smarty.const.NORMAL_SUBIMAGE_HEIGHT}--></th>
367            <td>
368                <a name="<!--{$key}-->"></a>
369                <!--{assign var=largekey value="sub_large_image`$smarty.section.cnt.iteration`"}-->
370                <a name="<!--{$largekey}-->"></a>
371                <span class="attention"><!--{$arrErr[$key]}--></span>
372                <!--{if $arrForm.arrFile[$key].filepath != ""}-->
373                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />&nbsp;<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_084"}--></a><br />
374                <!--{/if}-->
375                <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
376                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_085"}--></a>
377            </td>
378        </tr>
379        <tr>
380            <!--{assign var=key value="sub_large_image`$smarty.section.cnt.iteration`"}-->
381            <th><!--{t string="tpl_706" escape="none" T_FIELD1=$smarty.section.cnt.iteration T_FIELD2=$smarty.const.LARGE_SUBIMAGE_WIDTH T_FIELD3=$smarty.const.LARGE_SUBIMAGE_HEIGHT}--></th>
382            <td>
383                <span class="attention"><!--{$arrErr[$key]}--></span>
384                <!--{if $arrForm.arrFile[$key].filepath != ""}-->
385                <img src="<!--{$arrForm.arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->" />&nbsp;<a href="" onclick="selectAll('category_id'); fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_084"}--></a><br />
386                <!--{/if}-->
387                <input type="file" name="<!--{$key}-->" size="40" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"/>
388                <a class="btn-normal" href="javascript:;" name="btn" onclick="selectAll('category_id'); fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;"><!--{t string="tpl_085"}--></a>
389            </td>
390        </tr>
391        <!--▲商品<!--{$smarty.section.cnt.iteration}-->-->
392        <!--{/section}-->
393    </table>
394    </div>
395
396    <div class="btn">
397        <a class="btn-normal" href="javascript:;" onclick="selectAll('category_id'); lfDispSwitch('recommend_select'); return false;"><span><!--{t string="tpl_596"}--></span></a>
398    </div>
399
400    <!--{if $smarty.const.OPTION_RECOMMEND == 1}-->
401    <!--{if count($arrRecommend) > 0}-->
402    <div id="recommend_select" style="">
403    <!--{else}-->
404    <div id="recommend_select" style="display:none">
405    <!--{/if}-->
406    <h2><!--{t string="tpl_597"}--></h2>
407    <table class="form">
408        <!--▼関連商品-->
409        <!--{section name=cnt loop=$smarty.const.RECOMMEND_PRODUCT_MAX}-->
410        <!--{assign var=recommend_no value="`$smarty.section.cnt.iteration`"}-->
411        <tr>
412            <!--{assign var=key value="recommend_id`$smarty.section.cnt.iteration`"}-->
413            <!--{assign var=anckey value="recommend_no`$smarty.section.cnt.iteration`"}-->
414            <th><!--{t string="tpl_575" T_FIELD=$smarty.section.cnt.iteration}--><br />
415                <!--{if $arrRecommend[$recommend_no].product_id}-->
416                    <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrRecommend[$recommend_no].main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrRecommend[$recommend_no].name|h}-->" />
417                <!--{/if}-->
418            </th>
419            <td>
420                <a name="<!--{$anckey}-->"></a>
421                <input type="hidden" name="<!--{$key}-->" value="<!--{$arrRecommend[$recommend_no].product_id|h}-->" />
422                <a class="btn-normal" href="javascript:;" name="change" onclick="selectAll('category_id'); win03('./product_select.php?no=<!--{$smarty.section.cnt.iteration}-->', 'search', '615', '500'); return false;"><!--{t string="tpl_475"}--></a>
423                <!--{assign var=key value="recommend_delete`$smarty.section.cnt.iteration`"}-->
424                <input type="checkbox" name="<!--{$key}-->" value="1" /><!--{t string="tpl_Remove_01"}--><br />
425                <!--{assign var=key value="recommend_comment`$smarty.section.cnt.iteration`"}-->
426                <span class="attention"><!--{$arrErr[$key]}--></span>
427                <!--{t string="tpl_192"}-->:<!--{$arrRecommend[$recommend_no].product_code_min}--><br />
428                <!--{t string="tpl_188"}-->:<!--{$arrRecommend[$recommend_no].name|h}--><br />
429                <textarea name="<!--{$key}-->" cols="60" rows="8" class="area60" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" ><!--{"\n"}--><!--{$arrRecommend[$recommend_no].comment|h}--></textarea><br />
430                <span class="attention"> <!--{t string="tpl_(T_FIELD characters max)_01" T_FIELD=$smarty.const.LTEXT_LEN}--></span>
431            </td>
432        </tr>
433        <!--{/section}-->
434        <!--▲関連商品-->
435    </table>
436    </div>
437    <!--{/if}-->
438
439    <div class="btn-area">
440        <!--{if count($arrSearchHidden) > 0}-->
441        <!--▼検索結果へ戻る-->
442        <ul>
443            <li><a class="btn-action" href="javascript:;" onclick="fnChangeAction('<!--{$smarty.const.ADMIN_PRODUCTS_URLPATH}-->'); fnModeSubmit('search','',''); return false;"><span class="btn-prev"><!--{t string="tpl_227"}--></span></a></li>
444        <!--▲検索結果へ戻る-->
445        <!--{/if}-->
446            <li><a class="btn-action" href="javascript:;" onclick="selectAll('category_id'); document.form1.submit(); return false;"><span class="btn-next"><!--{t string="tpl_228"}--></span></a></li>
447        </ul>
448    </div>
449</div>
450</form>
Note: See TracBrowser for help on using the repository browser.