source: branches/version-2_13-dev/data/Smarty/templates/admin/basis/kiyaku.tpl @ 23066

Revision 23066, 5.0 KB checked in by pineray, 9 years ago (diff)

#2342 JavaScript?のグローバルな宣言を減らす
eccubeオブジェクト内の階層を減らす.

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