2 * 表示データ作成用テンプレート(patTemplate)
\r
4 * LICENSE: This source file is licensed under the terms of the GNU General Public License.
\r
6 * @package Magic3 Framework
\r
7 * @author 平田直毅(Naoki Hirata) <naoki@aplo.co.jp>
\r
8 * @copyright Copyright 2006-2012 Magic3 Project.
\r
9 * @license http://www.gnu.org/copyleft/gpl.html GPL License
\r
10 * @version SVN: $Id: admin.tmpl.html 4845 2012-04-13 04:47:07Z fishbone $
\r
11 * @link http://www.magic3.org
\r
13 <patTemplate:tmpl name="_widget">
\r
14 <script type="text/javascript" src="{_ROOT_URL}/scripts/md5.js"></script>
\r
15 <script type="text/javascript">
\r
17 function changepwd(){
\r
18 var pwd = document.photo_main.ec_password1.value;
\r
19 var pwd2 = document.photo_main.ec_password2.value;
\r
21 alert('パスワードが入力されていません');
\r
25 alert('パスワードに間違いがあります');
\r
28 document.photo_main.length.value = pwd.length;
\r
29 document.photo_main.act.value = 'update';
\r
30 document.photo_main.password.value = hex_md5(pwd);
\r
31 document.photo_main.submit();
\r
36 <!-- m3:ErrorMessage -->
\r
37 <form method="post" name="photo_main" class="form">
\r
38 <input type="hidden" name="task" value="changepwd" />
\r
39 <input type="hidden" name="act" />
\r
40 <input type="hidden" name="password" />
\r
41 <input type="hidden" name="length" />
\r
42 <div id="photo_shop">
\r
44 <div>新規パスワードを入力してください</div>
\r
45 <label><span class="photo_title">パスワード</span><input type="password" name="ec_password1" value="{PWD_VALUE}" size="12" maxlength="12" {PWD1_DISABLED} /></label>
\r
46 <label><span class="photo_title">パスワード(確認)</span><input type="password" name="ec_password2" value="{PWD_VALUE}" size="12" maxlength="12" {PWD2_DISABLED} /></label>
\r
47 <div>{MESSAGE}</div>
\r
48 <div class="photo_bottom"><input type="button" class="button" onclick="changepwd();" value="{BUTTON_LABEL}" {BUTTON_DISABLED} />
\r
49 <patTemplate:tmpl name="show_complete" visibility="hidden">
\r
50 <input type="button" class="button" onclick="location.href='{MENU_URL}'" value="会員メニューへ" />
\r