source: tmp/version-2_5-test/data/Smarty/templates/default/admin/products/classcategory.tpl @ 18609

Revision 18609, 3.4 KB checked in by kajiwara, 14 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-2008 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="classcategory_id" value="<!--{$tpl_classcategory_id}-->" />
27<!--{foreach key=key item=item from=$arrHidden}-->
28<input type="hidden" name="<!--{$key}-->" value="<!--{$item|escape}-->" />
29<!--{/foreach}-->
30<div id="products" class="contents-main">
31
32  <table>
33    <tr>
34      <th>規格名</th>
35      <td><!--{$tpl_class_name}--></td>
36    </tr>
37    <tr>
38      <th>分類名<span class="attention"> *</span></th>
39      <td>
40        <!--{if $arrErr.name}-->
41        <span class="attention"><!--{$arrErr.name}--></span>
42        <!--{/if}-->
43        <input type="text" name="name" value="<!--{$arrForm.name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="" size="30" class="box30" />
44        <span class="attention"> (上限<!--{$smarty.const.STEXT_LEN}-->文字)</span>
45      </td>
46    </tr>
47  </table>
48  <div class="btn">
49    <button type="submit"><span>この内容で登録する</span></button>
50  </div>
51
52  <table class="list">
53    <tr>
54      <th>分類名</th>
55      <th>編集</th>
56      <th>削除</th>
57      <th>移動</th>
58    </tr>
59    <!--{section name=cnt loop=$arrClassCat}-->
60    <tr style="background:<!--{if $tpl_classcategory_id != $arrClassCat[cnt].classcategory_id}-->#ffffff<!--{else}--><!--{$smarty.const.SELECT_RGB}--><!--{/if}-->;">
61      <td><!--{* 規格名 *}--><!--{$arrClassCat[cnt].name|escape}--></td>
62      <td align="center" >
63      <!--{if $tpl_classcategory_id != $arrClassCat[cnt].classcategory_id}-->
64      <a href="?" onclick="fnModeSubmit('pre_edit','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">編集</a>
65      <!--{else}-->
66      編集中
67      <!--{/if}-->
68      </td>
69      <td align="center">
70      <a href="?" onclick="fnModeSubmit('delete','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">削除</a>
71      </td>
72      <td align="center">
73      <!--{if $smarty.section.cnt.iteration != 1}-->
74      <a href="?" onclick="fnModeSubmit('up','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">上へ</a>
75      <!--{/if}-->
76      <!--{if $smarty.section.cnt.iteration != $smarty.section.cnt.last}-->
77      <a href="?" onclick="fnModeSubmit('down','classcategory_id', <!--{$arrClassCat[cnt].classcategory_id}-->); return false;">下へ</a>
78      <!--{/if}-->
79      </td>
80    </tr>
81    <!--{/section}-->
82  </table>
83  <div class="btn">
84    <button type="button" onclick="location.href='./class.php'"><span>前のページに戻る</span></button>
85  </div>
86</div>
87</form> 
Note: See TracBrowser for help on using the repository browser.