source: branches/feature-module-update/data/Smarty/templates/default/admin/products/category.tpl @ 16582

Revision 16582, 9.0 KB checked in by nanasess, 17 years ago (diff)

ライセンス表記変更

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2007 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<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
26<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
27<input type="hidden" name="mode" value="edit">
28<input type="hidden" name="parent_category_id" value="<!--{$arrForm.parent_category_id}-->">
29<input type="hidden" name="category_id" value="<!--{$arrForm.category_id}-->">
30    <tr valign="top">
31        <td background="<!--{$TPL_DIR}-->img/contents/navi_bg.gif" height="402">
32            <!--▼SUB NAVI-->
33            <!--{include file=$tpl_subnavi}-->
34            <!--▲SUB NAVI-->
35        </td>
36        <td class="mainbg" >
37        <table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
38            <!--メインエリア-->
39            <tr>
40                <td align="center">
41                <table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
42
43                    <tr><td height="14"></td></tr>
44                    <tr>
45                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
46                    </tr>
47                    <tr>
48                        <td background="<!--{$TPL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
49                        <td bgcolor="#cccccc">
50                       
51                            <!--▼登録テーブルここから-->
52                            <table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
53                                <tr>
54                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
55                                </tr>
56                                <tr>
57                                    <td background="<!--{$TPL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
58                                    <td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--コンテンツタイトル-->カテゴリー設定(最大<!--{$smarty.const.LEVEL_MAX}-->階層まで)</span></td>
59                                    <td background="<!--{$TPL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
60                                </tr>
61                                <tr>
62                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
63                                </tr>
64                                <tr>
65                                    <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
66                                </tr>
67                            </table>   
68                           
69                            <table width="678" border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
70                                <tr bgcolor="#ffffff">
71                                    <!--▼画面左-->
72                                    <td width="250" valign="top" class="fs12">
73                                    <a href="<!--{$smarty.server.PHP_SELF|escape}-->">▼ホーム</a><br>
74                                    <!--{section name=cnt loop=$arrTree}-->
75                                        <!--{assign var=level value="`$arrTree[cnt].level`}-->
76
77                                        <!--{* 上の階層表示の時にdivを閉じる *}-->
78                                        <!--{assign var=close_cnt value="`$before_level-$level+1`}-->
79                                        <!--{if $close_cnt > 0}-->
80                                            <!--{section name=n loop=$close_cnt}--></div><!--{/section}-->
81                                        <!--{/if}-->
82
83                                        <!--{* スペース繰り返し *}-->
84                                        <!--{section name=n loop=$level}-->  <!--{/section}-->
85                                       
86                                        <!--{* カテゴリ名表示 *}-->
87                                        <!--{assign var=disp_name value="`$arrTree[cnt].category_id`.`$arrTree[cnt].category_name`"}-->
88                                        <!--{if $arrTree[cnt].level != $smarty.const.LEVEL_MAX}-->
89                                            <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrTree[cnt].category_id}-->); return false;">
90                                            <!--{if $arrForm.parent_category_id == $arrTree[cnt].category_id}-->
91                                                <img src="<!--{$smarty.const.URL_DIR}-->misc/openf.gif" border="0">
92                                            <!--{else}-->
93                                                <img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
94                                            <!--{/if}-->
95                                            <!--{$disp_name|sfCutString:20|escape}--></a><br>
96                                        <!--{else}-->
97                                            <img src="<!--{$smarty.const.URL_DIR}-->misc/closef.gif" border="0">
98                                            <!--{$disp_name|sfCutString:20|escape}--></a><br>
99                                        <!--{/if}-->
100                                       
101                                        <!--{if $arrTree[cnt].display == true}-->
102                                            <div id="f<!--{$arrTree[cnt].category_id}-->">
103                                        <!--{else}-->
104                                            <div id="f<!--{$arrTree[cnt].category_id}-->" style="display:none">
105                                        <!--{/if}-->                       
106                                       
107                                        <!--{assign var=before_level value="`$arrTree[cnt].level`}-->
108                                    <!--{/section}-->               
109                                   
110                                    </td>
111                                   
112                                    <!--▼画面右-->             
113                                    <td width="428" valign="top">
114                                   
115                                    <span class="red12"><!--{$arrErr.category_name}--></span>
116                                    <input type="text" name="category_name" value="<!--{$arrForm.category_name|escape}-->" size="30" class="box30" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/>
117                                    <input type="submit" name="button" value="登録"/><span class="red10"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
118                                    <table width="428" border="0" cellspacing="0" cellpadding="0" summary=" "> 
119                                        <tr><td height="15"></td></tr>
120                                    </table>
121                                   
122                                    <!--{if count($arrList) > 0}-->
123                                    <table border="0" cellspacing="1" cellpadding="5" summary=" " bgcolor="#cccccc">
124                                        <tr bgcolor="#f2f1ec" align="center" class="fs12n">
125                                            <td width="30">ID</td>
126                                            <td width="160">カテゴリ名</td>
127                                            <td width="60">編集</td>
128                                            <td width="60">削除</td>
129                                            <td width="60">移動</td>
130                                        </tr>
131                                        <!--{section name=cnt loop=$arrList}-->
132                                        <tr bgcolor="<!--{if $arrForm.category_id != $arrList[cnt].category_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->" align="left" class="fs12n">
133                                            <td><!--{$arrList[cnt].category_id}--></td>
134                                            <td>
135                                            <!--{if $arrList[cnt].level != $smarty.const.LEVEL_MAX}-->
136                                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('tree', 'parent_category_id', <!--{$arrList[cnt].category_id}-->); return false"><!--{$arrList[cnt].category_name|escape}--></td>
137                                            <!--{else}-->
138                                                <!--{$arrList[cnt].category_name|escape}-->
139                                            <!--{/if}-->
140                                            <td align="center">
141                                                <!--{if $arrForm.category_id != $arrList[cnt].category_id}-->
142                                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('pre_edit', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;" />編集</a>
143                                                <!--{else}-->
144                                                編集中
145                                                <!--{/if}-->
146                                            </td>
147                                            <td align="center">
148                                                <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('delete', 'category_id', <!--{$arrList[cnt].category_id}-->); return false;" />削除</a>
149                                            </td>
150                                            <td align="center">
151                                            <!--{* 移動 *}-->
152                                            <!--{if $smarty.section.cnt.iteration != 1}-->
153                                            <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('up','category_id', <!--{$arrList[cnt].category_id}-->); return false;">上へ</a>
154                                            <!--{/if}-->
155                                            <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
156                                            <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnModeSubmit('down','category_id', <!--{$arrList[cnt].category_id}-->); return false;">下へ</a>
157                                            <!--{/if}-->
158                                            </td>
159                                        </tr>
160                                        <!--{/section}-->
161                                    </table>
162                   
163                                    <!--{else}-->
164                                    <table border="0" cellspacing="0" cellpadding="0" summary=" ">
165                                        <tr>
166                                            <td  class="fs12n">この階層には、カテゴリが登録されていません。</td>
167                                        </tr>
168                                    </table>
169                                    <!--{/if}-->
170                                    </td>
171                                </tr>
172                            </table>
173                            <!-- ▲登録テーブルここまで -->
174
175                        </td>
176                        <td background="<!--{$TPL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$TPL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
177                    </tr>
178                    <tr>
179                        <td colspan="3"><img src="<!--{$TPL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
180                    </tr>
181                    <tr><td height="30"></td></tr>
182
183                </table>
184                </td>
185            </tr>
186            <!--メインエリア-->
187        </table>
188        </td>
189    </tr>
190</form>
191</table>
192<!--★★メインコンテンツ★★-->     
Note: See TracBrowser for help on using the repository browser.