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

Revision 23546, 6.0 KB checked in by shutta, 8 years ago (diff)

#2580 Copyrightを更新
Copyrightを2014に更新

  • 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-2014 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">//<![CDATA[
26    $(function() {
27        $('h2').breadcrumbs({
28            'bread_crumbs': <!--{$tpl_bread_crumbs}-->
29        });
30    });
31//]]></script>
32<form name="form1" id="form1" method="post" action="?" enctype="multipart/form-data">
33    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
34    <input type="hidden" name="mode" value="edit" />
35    <input type="hidden" name="parent_category_id" value="<!--{$arrForm.parent_category_id|h}-->" />
36    <input type="hidden" name="category_id" value="<!--{$arrForm.category_id|h}-->" />
37    <input type="hidden" name="keySet" value="" />
38    <div id="products" class="contents-main">
39        <div class="btn">
40            <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('csv','',''); return false;">CSV ダウンロード</a>
41            <a class="btn-normal" href='../contents/csv.php?tpl_subno_csv=category'>CSV 出力項目設定</a>
42        </div>
43
44        <!--{* ▼画面左 *}-->
45        <div id="products-category-left">
46            <ul>
47                <li>
48                    <a href="?"><img src="<!--{$TPL_URLPATH}-->img/contents/folder_close.gif" alt="フォルダ" />&nbsp;ホーム</a>
49                    <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`products/category_tree_fork.tpl" children=$arrTree treeID="f0" display=1}-->
50                </li>
51            </ul>
52        </div>
53        <!--{* ▲画面左 *}-->
54
55        <!--{* ▼画面右 *}-->
56        <div id="products-category-right">
57
58
59            <div class="now_dir">
60                    <!--{if $arrErr.category_name}-->
61                    <span class="attention"><!--{$arrErr.category_name}--></span>
62                    <!--{/if}-->
63                    <input type="text" name="category_name" value="<!--{$arrForm.category_name|h}-->" size="30" class="box30" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.category_name|sfGetErrorColor}-->" />
64                    <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('edit','',''); return false;"><span class="btn-next">登録</span></a><span class="attention">&nbsp;(上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
65            </div>
66
67            <h2><!--{* jQuery で挿入される *}--></h2>
68            <!--{if count($arrList) > 0}-->
69
70            <table class="list" id="categoryTable">
71                <col width="5%" />
72                <col width="60%" />
73                <col width="10%" />
74                <col width="10%" />
75                <col width="25%" />
76                <tr class="nodrop nodrag">
77                    <th>ID</th>
78                    <th>カテゴリ名</th>
79                    <th class="edit">編集</th>
80                    <th class="delete">削除</th>
81                    <th>移動</th>
82                </tr>
83
84                <!--{section name=cnt loop=$arrList}-->
85                <tr id="<!--{$arrList[cnt].category_id}-->" style="background:<!--{if $arrForm.category_id != $arrList[cnt].category_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->;" align="left">
86                    <td class="center"><!--{$arrList[cnt].category_id}--></td>
87                    <td>
88                    <!--{if $arrList[cnt].level != $smarty.const.LEVEL_MAX}-->
89                        <a href="?" onclick="eccube.setModeAndSubmit('tree', 'parent_category_id', <!--{$arrList[cnt].category_id}-->); return false"><!--{$arrList[cnt].category_name|h}--></a>
90                    <!--{else}-->
91                        <!--{$arrList[cnt].category_name|h}-->
92                    <!--{/if}-->
93                    </td>
94                    <td class="center">
95                        <!--{if $arrForm.category_id != $arrList[cnt].category_id}-->
96                        <a href="?" onclick="eccube.setModeAndSubmit('pre_edit', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;">編集</a>
97                        <!--{else}-->
98                        編集中
99                        <!--{/if}-->
100                    </td>
101                    <td class="center">
102                        <a href="?" onclick="eccube.setModeAndSubmit('delete', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;">削除</a>
103                    </td>
104                    <td class="center">
105                    <!--{* 移動 *}-->
106                    <!--{if $smarty.section.cnt.iteration != 1}-->
107                    <a href="?" onclick="eccube.setModeAndSubmit('up','category_id', <!--{$arrList[cnt].category_id}-->); return false;">上へ</a>
108                    <!--{/if}-->
109                    <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
110                    <a href="?" onclick="eccube.setModeAndSubmit('down','category_id', <!--{$arrList[cnt].category_id}-->); return false;">下へ</a>
111                    <!--{/if}-->
112                    </td>
113
114                </tr>
115                <!--{/section}-->
116            </table>
117            <!--{else}-->
118            <p>この階層には、カテゴリが登録されていません。</p>
119            <!--{/if}-->
120        </div>
121        <!--{* ▲画面右 *}-->
122
123    </div>
124</form>
Note: See TracBrowser for help on using the repository browser.