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

Revision 23230, 4.8 KB checked in by m_uehara, 7 years ago (diff)

#2363 r23177, r23181 - r23186, r23188 - r23191, r23194, r23197, r23199 - r23218, r23220, r23223 - r23225 をマージ

  • 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="">
26    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
27    <input type="hidden" name="mode" value="edit" />
28    <input type="hidden" name="classcategory_id" value="<!--{$tpl_classcategory_id}-->" />
29    <!--{foreach key=key item=item from=$arrHidden}-->
30        <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
31    <!--{/foreach}-->
32    <div id="products" class="contents-main">
33
34        <table>
35            <tr>
36                <th>規格名</th>
37                <td><!--{$tpl_class_name|h}--></td>
38            </tr>
39            <tr>
40                <th>分類名<span class="attention"> *</span></th>
41                <td>
42                    <!--{if $arrErr.name}-->
43                        <span class="attention"><!--{$arrErr.name}--></span>
44                    <!--{/if}-->
45                    <input type="text" name="name" value="<!--{$arrForm.name|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.name|sfGetErrorColor}-->" size="30" class="box30" />
46                    <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
47                </td>
48            </tr>
49        </table>
50        <div class="btn-area">
51            <ul>
52                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
53            </ul>
54        </div>
55
56        <table class="list">
57            <col />
58            <col width="10%" />
59            <col width="10%" />
60            <col width="15%" />
61            <tr>
62                <th>分類名</th>
63                <th class="edit">編集</th>
64                <th class="delete">削除</th>
65                <th>移動</th>
66            </tr>
67            <!--{section name=cnt loop=$arrClassCat}-->
68                <tr style="background:<!--{if $tpl_classcategory_id != $arrClassCat[cnt].classcategory_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->;">
69                    <td><!--{* 規格名 *}--><!--{$arrClassCat[cnt].name|h}--></td>
70                    <td align="center" >
71                        <!--{if $tpl_classcategory_id != $arrClassCat[cnt].classcategory_id}-->
72                            <a href="?" onclick="eccube.setModeAndSubmit('pre_edit','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">編集</a>
73                        <!--{else}-->
74                            編集中
75                        <!--{/if}-->
76                    </td>
77                    <td align="center">
78                        <a href="?" onclick="if(window.confirm('分類名を削除すると、その分類を利用している商品規格が無効になります。\n整合性の問題を把握し、バックアップを行ってから削除することを推奨致します。')){ eccube.setModeAndSubmit('delete','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); } return false;">削除</a>
79                    </td>
80                    <td align="center">
81                        <!--{if $smarty.section.cnt.iteration != 1}-->
82                            <a href="?" onclick="eccube.setModeAndSubmit('up','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">上へ</a>
83                        <!--{/if}-->
84                        <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
85                            <a href="?" onclick="eccube.setModeAndSubmit('down','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">下へ</a>
86                        <!--{/if}-->
87                    </td>
88                </tr>
89            <!--{/section}-->
90        </table>
91        <div class="btn">
92            <a class="btn-action" href="./class.php"><span class="btn-prev">規格一覧に戻る</span></a>
93        </div>
94    </div>
95</form>
Note: See TracBrowser for help on using the repository browser.