Minahito
minah****@users*****
2006年 1月 18日 (水) 02:26:36 JST
Index: xoops2jp/html/modules/user/templates/user_register_form.html diff -u xoops2jp/html/modules/user/templates/user_register_form.html:1.1.2.2 xoops2jp/html/modules/user/templates/user_register_form.html:1.1.2.3 --- xoops2jp/html/modules/user/templates/user_register_form.html:1.1.2.2 Wed Nov 9 20:48:56 2005 +++ xoops2jp/html/modules/user/templates/user_register_form.html Wed Jan 18 02:26:36 2006 @@ -5,7 +5,8 @@ <{/foreach}> </ul> <{/if}> -<form action="register.php" method="post"> +<form action="index.php?action=Register" method="post"> + <{xoops_token form=$actionForm}> <table class="outer" cellspacing="1" width="100%"> <tr> <th colspan="2"><{$smarty.const._US_USERREG}></th> @@ -20,7 +21,7 @@ <td class="head"><{$smarty.const._US_EMAIL}></td> <td class="<{cycle values="odd,even"}>"> <{xoops_input name=email size=30 maxlength=60}><br/> - <input type="checkbox" name="user_viewemail" value="1" /> + <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->get('user_viewemail')}> <{$smarty.const._US_ALLOWVIEWEMAIL}> </td> </tr> @@ -30,16 +31,26 @@ <{xoops_input name=url size=30 maxlength=100}> </td> </tr> + <tr> + <td class="head"><{$smarty.const._MD_USER_LANG_TIMEZONE_OFFSET}></td> + <td class="<{cycle values="odd,even"}>"> + <select name="timezone_offset"> + <{foreach item=timezone from=$timezones}> + <option value="<{$timezone->getVar('offset')}>" <{if $actionForm->get('timezone_offset')==$timezone->getVar('offset')}>selected<{/if}>><{$timezone->getVar('zone_name')}></option> + <{/foreach}> + </select> + </td> + </tr> <tr> <td class="head"><{$smarty.const._US_PASSWORD}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=password name=pass size=10 maxlength=32}> + <{xoops_input type=password name=pass value=$actionForm->get('pass') size=10 maxlength=32}> </td> </tr> <tr> <td class="head"><{$smarty.const._US_VERIFYPASS}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input type=password name=vpass size=10 maxlength=32}> + <{xoops_input type=password name=vpass value=$actionForm->get('vpass') size=10 maxlength=32}> </td> </tr> <{if $enableAgree}> @@ -48,7 +59,7 @@ <td class="<{cycle values="odd,even"}>"> <{xoops_textarea name=disclaimer rows=8 cols=50 readonly=true value=$disclaimer}> <br/> - <input type="checkbox" name="agree" value="1" <{if $actionForm->getVar('agree')}>checked<{/if}>><{$smarty.const._US_IAGREE}> + <{xoops_input type=checkbox name=agree value=1 default=$actionForm->get('agree')}><{$smarty.const._US_IAGREE}> </td> </tr> <{/if}>