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

Revision 23066, 5.5 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<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_header.tpl"}-->
26
27<script type="text/javascript">
28<!--
29self.moveTo(20,20);self.focus();
30//-->
31</script>
32
33<form name="form1" id="form1" method="post" action="">
34    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
35    <input type="hidden" name="mode" value="<!--{$tpl_mode|h}-->" />
36    <input type="hidden" name="member_id" value="<!--{$tpl_member_id|h}-->" />
37    <input type="hidden" name="pageno" value="<!--{$tpl_pageno|h}-->" />
38    <input type="hidden" name="old_login_id" value="<!--{$tpl_old_login_id|h}-->" />
39
40    <h2>メンバー登録/編集</h2>
41
42    <table>
43        <col width="20%" />
44        <col width="80%" />
45        <tr>
46            <th>名前</th>
47            <td>
48                <!--{if $arrErr.name}--><span class="attention"><!--{$arrErr.name}--></span><!--{/if}-->
49                <input type="text" name="name" size="30" class="box30" value="<!--{$arrForm.name|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" />
50                <span class="attention">※必須入力</span>
51            </td>
52        </tr>
53        <tr>
54            <th>所属</th>
55            <td>
56                <!--{if $arrErr.department}--><span class="attention"><!--{$arrErr.department}--></span><!--{/if}-->
57                <input type="text" name="department" size="30" class="box30" value="<!--{$arrForm.department|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" />
58            </td>
59        </tr>
60        <tr>
61            <th>ログインID</th>
62            <td>
63                <!--{if $arrErr.login_id}--><span class="attention"><!--{$arrErr.login_id}--></span><!--{/if}-->
64                <input type="text" name="login_id" size="20" class="box20"    value="<!--{$arrForm.login_id|h}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/>
65                <span class="attention">※必須入力</span><br />
66                ※半角英数字<!--{$smarty.const.ID_MIN_LEN}-->~<!--{$smarty.const.ID_MAX_LEN}-->文字
67            </td>
68        </tr>
69        <tr>
70            <th>パスワード</th>
71            <td>
72                <!--{if $arrErr.password}--><span class="attention"><!--{$arrErr.password}--><!--{$arrErr.password02}--></span><!--{/if}-->
73                <input type="password" name="password" size="20" class="box20" value="<!--{$arrForm.password}-->" onfocus="<!--{$tpl_onfocus}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/>
74                <span class="attention">※必須入力</span><br />
75                ※半角英数字<!--{$smarty.const.ID_MIN_LEN}-->~<!--{$smarty.const.ID_MAX_LEN}-->文字
76                <br />
77                <input type="password" name="password02" size="20" class="box20" value="<!--{$arrForm.password02}-->" onfocus="<!--{$tpl_onfocus}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->"/>
78                <p><span class="attention mini">確認のために2度入力してください。</span></p>
79            </td>
80        </tr>
81        <tr>
82            <th>権限</th>
83            <td>
84                <!--{if $arrErr.authority}--><span class="attention"><!--{$arrErr.authority}--></span><!--{/if}-->
85                <select name="authority">
86                    <option value="">選択してください</option>
87                    <!--{html_options options=$arrAUTHORITY selected=$arrForm.authority}-->
88                </select>
89                <span class="attention">※必須入力</span>
90            </td>
91        </tr>
92        <tr>
93            <th>稼働/非稼働</th>
94            <td>
95                <!--{if $arrErr.work}--><span class="attention"><!--{$arrErr.work}--></span><!--{/if}-->
96                <!--{assign var=key value="work"}-->
97                <input type="radio" id="<!--{$key}-->_1" name="<!--{$key}-->" value="1" style="<!--{$arrErr.work|sfGetErrorColor}-->" <!--{$arrForm.work|sfGetChecked:1}--> /><label for="<!--{$key}-->_1"><!--{$arrWORK.1}--></label>
98                <input type="radio" id="<!--{$key}-->_0" name="<!--{$key}-->" value="0" style="<!--{$arrErr.work|sfGetErrorColor}-->" <!--{$arrForm.work|sfGetChecked:0}--> /><label for="<!--{$key}-->_0"><!--{$arrWORK.0}--></label>
99                <span class="attention">※必須入力</span>
100            </td>
101        </tr>
102    </table>
103
104    <div class="btn-area">
105        <ul>
106            <li><a class="btn-action" href="javascript:;" onclick="if (!fnConfirm()) return false; eccube.fnFormModeSubmit('form1', '<!--{$tpl_mode|h}-->', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li>
107        </ul>
108    </div>
109</form>
110
111<!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`admin_popup_footer.tpl"}-->
Note: See TracBrowser for help on using the repository browser.