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

Revision 20754, 5.6 KB checked in by nanasess, 13 years ago (diff)

#1188 (規格の変更を重ねるとデータがおかしくなる)

  • DELETE/INSERT に変更

#949 ([管理画面]商品管理(登録・編集):完了画面に「検索結果へ戻る」ボタン追加)

  • 商品規格にも追加
  • 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<h2>確認</h2>
25<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
26<input type="hidden" name="mode" value="" />
27<input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
28<!--{foreach key=key item=items from=$arrForm}-->
29    <!--{if is_array($items.value)}-->
30        <!--{foreach key=index item=item from=$items.value}-->
31            <input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$item|h}-->" />
32        <!--{/foreach}-->
33    <!--{else}-->
34        <input type="hidden" name="<!--{$key}-->" value="<!--{$items.value|h}-->" />
35    <!--{/if}-->
36<!--{/foreach}-->
37
38<!--{foreach key=key item=item from=$arrSearchHidden}-->
39    <!--{if is_array($item)}-->
40        <!--{foreach item=c_item from=$item}-->
41        <input type="hidden" name="<!--{$key|h}-->[]" value="<!--{$c_item|h}-->" />
42        <!--{/foreach}-->
43    <!--{else}-->
44        <input type="hidden" name="<!--{$key|h}-->" value="<!--{$item|h}-->" />
45    <!--{/if}-->
46<!--{/foreach}-->
47
48<div id="products" class="contents-main">
49
50    <!--{if count($arrForm.check.value) > 0}-->
51        <!--{assign var=key1 value="class_id1"}-->
52        <!--{assign var=key2 value="class_id2"}-->
53        <!--{assign var=class_id1 value=$arrForm[$key1].value|h}-->
54        <!--{assign var=class_id2 value=$arrForm[$key2].value|h}-->
55        <table class="list">
56                <tr>
57                <th>規格1(<!--{$arrClass[$class_id1]|default:"未選択"|h}-->)</th>
58                <th>規格2(<!--{$arrClass[$class_id2]|default:"未選択"|h}-->)</th>
59                <th>商品コード</th>
60                <th>在庫数</th>
61                <th><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</th>
62                <th><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)</th>
63                <th>商品種別</th>
64                <th>ダウンロードファイル名</th>
65                <th>ダウンロード商品用ファイルアップロード</th>
66            </tr>
67            <!--{section name=cnt loop=$arrForm.total.value}-->
68                <!--{assign var=index value=$smarty.section.cnt.index}-->
69
70                <!--{if $arrForm.check.value[$index] == 1}-->
71                    <tr>
72                        <!--{assign var=key value="classcategory_name1"}-->
73                        <td><!--{$arrForm[$key].value[$index]|h}--></td>
74                        <!--{assign var=key value="classcategory_name2"}-->
75                        <td><!--{$arrForm[$key].value[$index]|h}--></td>
76                        <!--{assign var=key value="product_code"}-->
77                        <td><!--{$arrForm[$key].value[$index]|h}--></td>
78                        <!--{assign var=key1 value="stock"}-->
79                        <!--{assign var=key2 value="stock_unlimited"}-->
80                        <td class="right">
81                            <!--{if $arrForm[$key2].value[$index] == 1}-->
82                                無制限
83                            <!--{else}-->
84                                <!--{$arrForm[$key1].value[$index]|h}-->
85                            <!--{/if}-->
86                        </td>
87                        <!--{assign var=key value="price01"}-->
88                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td>
89                        <!--{assign var=key value="price02"}-->
90                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td>
91                        <!--{assign var=key value="product_type_id"}-->
92                        <td class="right">
93                            <!--{foreach from=$arrForm[$key].value[$index] item=product_type_id}-->
94                                <!--{$arrProductType[$product_type_id]|h}-->
95                            <!--{/foreach}-->
96                        </td>
97                        <!--{assign var=key value="down_filename"}-->
98                        <td class="right"><!--{$arrForm[$key].value[$index]}--></td>
99                        <!--{assign var=key value="down_realfilename"}-->
100                        <td class="right"><!--{$arrForm[$key].value[$index]}--></td>
101                    </tr>
102                <!--{/if}-->
103            <!--{/section}-->
104        </table>
105    <!--{else}-->
106        <div class="message">規格が選択されていません。</div>
107    <!--{/if}-->
108
109    <div class="btn-area">
110        <ul>
111            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'confirm_return','',''); return false"><span class="btn-prev">前へ戻る</span></a></li>
112        <!--{if count($arrForm.check.value) > 0}-->
113            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'complete','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
114        <!--{/if}-->
115        </ul>
116    </div>
117</div>
118</form>
Note: See TracBrowser for help on using the repository browser.