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

Revision 21345, 4.2 KB checked in by Seasoft, 9 years ago (diff)

#1558 (<col> で全列の幅を%で指定しているが、合計値が100%でない)

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