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

Revision 20407, 4.6 KB checked in by kotani, 13 years ago (diff)

#812 (トランザクションIDの自動生成/自動検証), #1053 (transactionidが埋め込まれる前にクリックされるとエラー)

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