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

Revision 20595, 5.7 KB checked in by nanasess, 13 years ago (diff)
  • #1097([管理画面]商品管理(商品規格登録):規格編集で、登録されていない行にもチェックが入っている)
  • #1064([管理画面]商品管理(商品規格登録):規格編集で、登録されている規格を外して登録しても削除されない)
  • #991(商品規格登録での不具合)
  • #1101([フロント]商品(一覧、詳細):規格削除しても価格表記に削除した価格も出ている)
  • 商品規格管理画面を全面的にリファクタリング
  • TODO 入力チェック, ダウンロード販売用ファイルには後続のコミットで対応します
  • 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<!--{* TODO 不要? *}-->
39<!--{foreach key=key item=items from=$arrSearchHidden}-->
40    <!--{if is_array($items.value)}-->
41        <!--{foreach key=index item=item from=$items.value}-->
42            <input type="hidden" name="<!--{$key}-->[<!--{$index}-->]" value="<!--{$item|h}-->" />
43        <!--{/foreach}-->
44    <!--{else}-->
45        <input type="hidden" name="<!--{$key}-->" value="<!--{$items|h}-->" />
46    <!--{/if}-->
47<!--{/foreach}-->
48
49<div id="products" class="contents-main">
50
51    <!--{if count($arrForm.check.value) > 0}-->
52        <!--{assign var=key1 value="class_id1"}-->
53        <!--{assign var=key2 value="class_id2"}-->
54        <!--{assign var=class_id1 value=$arrForm[$key1].value|h}-->
55        <!--{assign var=class_id2 value=$arrForm[$key2].value|h}-->
56        <table class="list">
57                <tr>
58                <th>規格1(<!--{$arrClass[$class_id1]|default:"未選択"|h}-->)</th>
59                <th>規格2(<!--{$arrClass[$class_id2]|default:"未選択"|h}-->)</th>
60                <th>商品コード</th>
61                <th>在庫数</th>
62                <th><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(円)</th>
63                <th><!--{$smarty.const.SALE_PRICE_TITLE}-->(円)</th>
64                <th>商品種別</th>
65                <th>ダウンロードファイル名</th>
66                <th>ダウンロード商品用ファイルアップロード</th>
67            </tr>
68            <!--{section name=cnt loop=$arrForm.total.value}-->
69                <!--{assign var=index value=$smarty.section.cnt.index}-->
70
71                <!--{if $arrForm.check.value[$index] == 1}-->
72                    <tr>
73                        <!--{assign var=key value="classcategory_name1"}-->
74                        <td><!--{$arrForm[$key].value[$index]|h}--></td>
75                        <!--{assign var=key value="classcategory_name2"}-->
76                        <td><!--{$arrForm[$key].value[$index]|h}--></td>
77                        <!--{assign var=key value="product_code"}-->
78                        <td><!--{$arrForm[$key].value[$index]|h}--></td>
79                        <!--{assign var=key1 value="stock"}-->
80                        <!--{assign var=key2 value="stock_unlimited"}-->
81                        <td class="right">
82                            <!--{if $arrForm[$key2].value[$index] == 1}-->
83                                無制限
84                            <!--{else}-->
85                                <!--{$arrForm[$key1].value[$index]|h}-->
86                            <!--{/if}-->
87                        </td>
88                        <!--{assign var=key value="price01"}-->
89                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td>
90                        <!--{assign var=key value="price02"}-->
91                        <td class="right"><!--{$arrForm[$key].value[$index]|h}--></td>
92                        <!--{assign var=key value="product_type_id"}-->
93                        <td class="right">
94                            <!--{foreach from=$arrForm[$key].value[$index] item=product_type_id}-->
95                                <!--{$arrProductType[$product_type_id]|h}-->
96                            <!--{/foreach}-->
97                        </td>
98                        <!--{assign var=key value="down_filename"}-->
99                        <td class="right"><!--{$arrForm[$key].value[$index]}--></td>
100                        <!--{assign var=key value="down_realfilename"}-->
101                        <td class="right"><!--{$arrForm[$key].value[$index]}--></td>
102                    </tr>
103                <!--{/if}-->
104            <!--{/section}-->
105        </table>
106    <!--{else}-->
107        <div class="message">規格が選択されていません。</div>
108    <!--{/if}-->
109
110    <div class="btn-area">
111        <ul>
112            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'confirm_return','',''); return false"><span class="btn-prev">前へ戻る</span></a></li>
113        <!--{if count($arrForm.check.value) > 0}-->
114            <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'complete','',''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
115        <!--{/if}-->
116        </ul>
117    </div>
118</div>
119</form>
Note: See TracBrowser for help on using the repository browser.