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

Revision 19954, 3.5 KB checked in by nanasess, 13 years ago (diff)

#382(管理画面XHTMLに変更)

  • ボタンに return false を付与

#628(未使用処理・定義などの削除)

  • Smarty/templates/admin/sales を削除
  • 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|h}-->" 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-area">
42    <ul>
43      <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
44    </ul>
45  </div>
46
47  <table class="list">
48    <tr>
49      <th>規格名 (登録数)</th>
50      <th>分類登録</th>
51      <th class="edit">編集</th>
52      <th class="delete">削除</th>
53      <th>移動</th>
54    </tr>
55    <!--{section name=cnt loop=$arrClass}-->
56    <tr style="background:<!--{if $tpl_class_id != $arrClass[cnt].class_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->;">
57      <!--{assign var=class_id value=$arrClass[cnt].class_id}-->
58      <td><!--{* 規格名 *}--><!--{$arrClass[cnt].name|h}--> (<!--{$arrClassCatCount[$class_id]|default:0}-->)</td>
59      <td align="center"><a href="<!--{$smarty.const.URL_PATH}-->" onclick="fnClassCatPage(<!--{$arrClass[cnt].class_id}-->); return false;">分類登録</a></td>
60      <td align="center">
61      <!--{if $tpl_class_id != $arrClass[cnt].class_id}-->
62      <a href="?" onclick="fnModeSubmit('pre_edit', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">編集</a>
63      <!--{else}-->
64      編集中
65      <!--{/if}-->
66      </td>
67      <td align="center">
68      <!--{if $arrClassCatCount[$class_id] > 0}-->
69      -
70      <!--{else}-->
71      <a href="?" onclick="fnModeSubmit('delete', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">削除</a>
72      <!--{/if}-->
73      </td>
74      <td align="center">
75      <!--{if $smarty.section.cnt.iteration != 1}-->
76      <a href="?" onclick="fnModeSubmit('up', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">上へ</a>
77      <!--{/if}-->
78      <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
79      <a href="?" onclick="fnModeSubmit('down', 'class_id', <!--{$arrClass[cnt].class_id}-->); return false;">下へ</a>
80      <!--{/if}-->
81      </td>
82    </tr>
83    <!--{/section}-->
84  </table>
85
86</div>
87</form>
Note: See TracBrowser for help on using the repository browser.