Minahito
minah****@users*****
2006年 1月 8日 (日) 16:49:19 JST
Index: xoops2jp/html/modules/user/admin/templates/user_edit.html diff -u /dev/null xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.1 --- /dev/null Sun Jan 8 16:49:19 2006 +++ xoops2jp/html/modules/user/admin/templates/user_edit.html Sun Jan 8 16:49:19 2006 @@ -0,0 +1,175 @@ +<{if $actionForm->hasError()}> + <ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message|escape}></li> + <{/foreach}> + </ul> +<{/if}> +<form action="" method="post"> + <{xoops_input type=hidden name=uid value=$actionForm->getVar('uid')}> + <table class="outer" cellspacing="1"> + <tr> + <th><{$smarty.const._AD_USER_LANG_NAME}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=name value=$actionForm->getVar('name') size=15 maxlength=60}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_UNAME}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=uname value=$actionForm->getVar('uname') size=15 maxlength=25}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_EMAIL}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=email value=$actionForm->getVar('email') size=15 maxlength=60}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_URL}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=url value=$actionForm->getVar('url') size=15 maxlength=100}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_ICQ}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_icq value=$actionForm->getVar('user_icq') size=15 maxlength=15}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_FROM}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_from value=$actionForm->getVar('user_from') size=15 maxlength=100}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_SIG}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_dhtmltarea type=text name=user_sig value=$actionForm->getVar('user_sig')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_VIEWEMAIL}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->getVar('user_viewemail')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_AIM}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_aim value=$actionForm->getVar('user_aim') size=15 maxlength=18}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_YIM}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_yim value=$actionForm->getVar('user_yim') size=15 maxlength=25}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_MSNM}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_msnm value=$actionForm->getVar('user_msnm') size=15 maxlength=100}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_PASS}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=pass value=$actionForm->getVar('pass') size=15 maxlength=32}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_POSTS}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=posts value=$actionForm->getVar('posts')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_ATTACHSIG}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=attachsig value=1 default=$actionForm->getVar('attachsig')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_RANK}></th> + <td class="<{cycle values="odd,even"}>"> + <select name="rank"> + <{foreach item=rank from=$ranks}> + <option value="<{$rank->getVar('rank_id')}>" <{if $rank->get('rank_id') == $actionForm->get('rank')}>selected<{/if}>><{$rank->getVar('rank_title')}></option> + <{/foreach}> + </select> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_LEVEL}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=level value=$actionForm->getVar('level')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_TIMEZONE_OFFSET}></th> + <td class="<{cycle values="odd,even"}>"> + <select name="timezone_offset"> + <{foreach item=timezone from=$timezones}> + <option value="<{$timezone->getVar('offset')}>" <{if $actionForm->getVar('timezone_offset')==$timezone->getVar('offset')}>selected<{/if}>><{$timezone->getVar('zone_name')}></option> + <{/foreach}> + </select> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_UMODE}></th> + <td class="<{cycle values="odd,even"}>"> + <{html_options name=umode options=$umodeOptions selected=$actionForm->getVar('umode')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_UORDER}></th> + <td class="<{cycle values="odd,even"}>"> + <{html_options name=uorder options=$uorderOptions selected=$actionForm->getVar('uorder')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_NOTIFY_METHOD}></th> + <td class="<{cycle values="odd,even"}>"> + <{html_options name=notify_method options=$notify_methodOptions selected=$actionForm->getVar('notify_method')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_NOTIFY_MODE}></th> + <td class="<{cycle values="odd,even"}>"> + <{html_options name=notify_mode options=$notify_modeOptions selected=$actionForm->getVar('notify_mode')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_OCC}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_occ value=$actionForm->getVar('user_occ') size=15 maxlength=100}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_BIO}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_textarea type=text name=bio value=$actionForm->getVar('bio')}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_INTREST}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=text name=user_intrest value=$actionForm->getVar('user_intrest') size=15 maxlength=150}> + </td> + </tr> + <tr> + <th><{$smarty.const._AD_USER_LANG_USER_MAILOK}></th> + <td class="<{cycle values="odd,even"}>"> + <{xoops_input type=checkbox name=user_mailok value=1 default=$actionForm->getVar('user_mailok')}> + </td> + </tr> + <tr class="foot"> + <td colspan="2" style="text-align:center;"> + <input class="formButton" type="submit" value="<{$smarty.const._AD_USER_LANG_SUBMIT}>" /> + </td> + </tr> + </table> +</form>