1 <patTemplate:tmpl name="_widget">
\r
2 <script type="text/javascript">
\r
4 function login_box_login(){
\r
5 document.login_box.act.value = 'bbsloginbox_login';
\r
6 document.login_box.password.value = hex_md5(document.login_box.bbs_password.value);
\r
7 document.login_box.bbs_password.disabled = true;
\r
8 document.login_box.submit();
\r
11 function login_box_logout(){
\r
12 document.login_box.act.value = 'bbsloginbox_logout';
\r
13 document.login_box.submit();
\r
16 function login_box_reguser(){
\r
17 document.login_box.act.value = 'bbsloginbox_regmember';
\r
18 document.login_box.submit();
\r
24 <form name="login_box" method="post" class="form">
\r
25 <input type="hidden" name="act" />
\r
26 <input type="hidden" name="password" />
\r
27 <table width="100%">
\r
28 <tr><td><input type="button" class="button" onclick="login_box_reguser();" value="会員登録" /></td></tr>
\r
29 <tr><td> {MESSAGE}{USER_NAME}</td></tr>
\r
31 <table border="0" cellpadding="1" cellspacing="1" width="100%">
\r
32 <tr><td align="right">アカウント:</td><td><span style="white-space: nowrap;"><input type="text" name="bbs_account" size="8" maxlength="40" style="width:72px" /></span></td></tr>
\r
33 <tr><td align="right">パスワード:</td><td><span style="white-space: nowrap;"><input type="password" name="bbs_password" size="8" maxlength="10" style="width:72px" /></span></td></tr>
\r
37 <tr><td align="right">
\r
38 <input type="button" class="button" onclick="login_box_logout();" value="ログアウト" /> <input type="button" class="button" onclick="login_box_login();" value="ログイン" />
\r