source: branches/comu-ver2/data/Smarty/templates/default/admin/products/class.tpl @ 18700

Revision 18700, 3.4 KB checked in by nanasess, 14 years ago (diff)

Copyright の更新(#601)

  • Property svn:eol-style set to LF
  • 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<form name="form1" id="form1" method="post" action="?">
25<input type="hidden" name="mode" value="edit" />
26<input type="hidden" name="class_id" value="<!--{$tpl_class_id}-->" />
27<div id="products" class="contents-main">
28
29  <table>
30    <tr>
31      <th>規格名<span class="attention"> *</span></th>
32      <td>
33        <!--{if $arrErr.name}-->
34        <span class="attention"><!--{$arrErr.name}--></span>
35        <!--{/if}-->
36        <input type="text" name="name" value="<!--{$arrForm.name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="" size="30" class="box30" />
37        <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
38      </td>
39    </tr>
40  </table>
41  <div class="btn">
42    <button type="submit"><span>この内容で登録する</span></button>
43  </div>
44
45  <table class="list">
46    <tr>
47      <th>規格名 (登録数)</th>
48      <th>分類登録</th>
49      <th>編集</th>
50      <th>削除</th>
51      <th>移動</th>
52    </tr>
53    <!--{section name=cnt loop=$arrClass}-->
54    <tr style="background:<!--{if $tpl_class_id != $arrClass[cnt].class_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->;">
55      <!--{assign var=class_id value=$arrClass[cnt].class_id}-->
56      <td><!--{* 規格名 *}--><!--{$arrClass[cnt].name|escape}--> (<!--{$arrClassCatCount[$class_id]|default:0}-->)</td>
57      <td align="center"><a href="<!--{$smarty.const.URL_DIR}-->" onclick="fnClassCatPage(<!--{$arrClass[cnt].class_id}-->); return false;">分類登録</a></td>
58      <td align="center">
59      <!--{if $tpl_class_id != $arrClass[cnt].class_id}-->
60      <a href="?" onclick="fnModeSubmit('pre_edit', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">編集</a>
61      <!--{else}-->
62      編集中
63      <!--{/if}-->
64      </td>
65      <td align="center">
66      <!--{if $arrClassCatCount[$class_id] > 0}-->
67      -
68      <!--{else}-->
69      <a href="?" onclick="fnModeSubmit('delete', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">削除</a>
70      <!--{/if}-->
71      </td>
72      <td align="center">
73      <!--{if $smarty.section.cnt.iteration != 1}-->
74      <a href="?" onclick="fnModeSubmit('up', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">上へ</a>
75      <!--{/if}-->
76      <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
77      <a href="?" onclick="fnModeSubmit('down', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">下へ</a>
78      <!--{/if}-->
79      </td>
80    </tr>
81    <!--{/section}-->
82  </table>
83
84</div>
85</form>
Note: See TracBrowser for help on using the repository browser.