Minahito
minah****@users*****
2006年 1月 19日 (木) 21:10:01 JST
Index: xoops2jp/html/modules/user/templates/user_userinfo.html diff -u xoops2jp/html/modules/user/templates/user_userinfo.html:1.1.2.2 xoops2jp/html/modules/user/templates/user_userinfo.html:1.1.2.3 --- xoops2jp/html/modules/user/templates/user_userinfo.html:1.1.2.2 Tue Jan 17 19:40:51 2006 +++ xoops2jp/html/modules/user/templates/user_userinfo.html Thu Jan 19 21:10:01 2006 @@ -1,153 +1,153 @@ -<{if $user_ownpage == true}> - -<form name="usernav" action="user.php" method="post" ID="Form1"> -<br /><br /> - -<table width="70%" align="center" border="0" ID="Table1"> +<{if $user_ownpage == true}> +<form name="usernav" action="user.php" method="post"> +<table width="70%" align="center" border="0"> <tr align="center"> - <td><input type="button" value="<{$smarty.const._US_EDITPROFILE}>" onclick="location='edituser.php'" ID="Button1" NAME="Button1"/> - <input type="button" value="<{$smarty.const._US_AVATAR}>" onclick="location='edituser.php?op=avatarform'" ID="Button2" NAME="Button2"/> - <input type="button" value="<{$smarty.const._US_INBOX}>" onclick="location='<{$xoops_url}>/viewpmsg.php'" ID="Button3" NAME="Button3"/> - - <{if $user_candelete == true}> - <input type="button" value="<{$smarty.const._US_DELACCOUNT}>" onclick="location='user.php?op=delete'" ID="Button4" NAME="Button4"/> - <{/if}> - - <input type="button" value="<{$smarty.const._US_LOGOUT}>" onclick="location='<{$xoops_url}>/user.php?op=logout'" ID="Button5" NAME="Button5"/></td> + <td> + <input type="button" value="<{$smarty.const._US_EDITPROFILE}>" onclick="location='<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=EditUser&uid=<{$thisUser->getVar('uid')}>'" /> + <input type="button" value="<{$smarty.const._US_AVATAR}>" onclick="location='<{$smarty.const.XOOPS_URL}>edituser.php?op=avatarform'" /> + <input type="button" value="<{$smarty.const._US_INBOX}>" onclick="location='<{$smarty.const.XOOPS_URL}>/viewpmsg.php'" /> + <{if $user_candelete == true}> + <input type="button" value="<{$smarty.const._US_DELACCOUNT}>" onclick="location='<{$smarty.const.XOOPS_URL}>user.php?op=delete'" /> + <{/if}> + <input type="button" value="<{$smarty.const._US_LOGOUT}>" onclick="location='<{$smarty.const.XOOPS_URL}>/user.php?op=logout'" /> + </td> </tr> </table> </form> -<br /><br /> <{elseif $xoops_isadmin != false}> - <br /><br /> - -<table width="70%" align="center" border="0" ID="Table2"> +<table width="70%" align="center" border="0"> <tr align="center"> - <td><input type="button" value="<{$smarty.const._US_EDITPROFILE}>" onclick="location='<{$xoops_url}>/modules/system/admin.php?fct=users&uid=<{$user_uid}>&op=modifyUser'" ID="Button6" NAME="Button6"/> - <input type="button" value="<{$smarty.const._US_DELETEACCOUNT}>" onclick="location='<{$xoops_url}>/modules/system/admin.php?fct=users&op=delUser&uid=<{$user_uid}>'" ID="Button7" NAME="Button7"/></td> + <td> + <input type="button" value="<{$smarty.const._US_EDITPROFILE}>" onclick="location='<{$smarty.const.XOOPS_URL}>/modules/user/admin/index.php?action=EditUser&uid=<{$thisUser->getVar('uid')}>'" /> + <input type="button" value="<{$smarty.const._US_DELACCOUNT}>" onclick="location='<{$smarty.const.XOOPS_URL}>/modules/user/admin/index.php?action=UserDelete&uid=<{$thisUser->getVar('uid')}>'" /> + </td> </tr> </table> - <br /><br /> + <{/if}> -<table width="100%" border="0" cellspacing="5" ID="Table3"> +<table width="100%" border="0" cellspacing="5"> <tr valign="top"> <td width="50%"> - <table class="outer" cellpadding="4" cellspacing="1" width="100%" ID="Table4"> - <tr> - <th colspan="2" align="center"><{$lang_allaboutuser}></th> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_AVATAR}></td> - <td align="center" class="even"><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$thisUser->getVar('user_avatar')}>" alt="Avatar" /></td> - </tr> - <tr> - <td class="head"><{$smarty.const._US_REALNAME}></td> - <td align="center" class="odd"><{$thisUser->getVar('name')}></td> - </tr> - <tr> - <td class="head"><{$smarty.const._US_WEBSITE}></td> - <td class="even"><a href="<{$thisUser->getVar('url', 'E')}>" target="_blank"><{$thisUser->getVar('url')}></a></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_EMAIL}></td> - <td class="odd"><{$user_email}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_PM}></td> - <td class="even"><{$user_pmlink}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_ICQ}></td> - <td class="odd"><{$thisUser->getVar('user_icq')}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_AIM}></td> - <td class="even"><{$thisUser->getVar('user_aim')}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_YIM}></td> - <td class="odd"><{$thisUser->getVar('user_yim')}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_MSNM}></td> - <td class="even"><{$thisUser->getVar('user_msnm')}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_LOCATION}></td> - <td class="odd"><{$thisUser->getVar('user_from')}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_OCCUPATION}></td> - <td class="even"><{$thisUser->getVar('user_occ')}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_INTEREST}></td> - <td class="odd"><{$thisUser->getVar('user_intrest')}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_EXTRAINFO}></td> - <td class="even"><{$thisUser->getVar('bio')}></td> - </tr> - </table> + + <table class="outer" cellpadding="4" cellspacing="1" width="100%"> + <tr> + <th colspan="2" align="center"><{$smarty.const._US_ALLABOUT|replace:"%s":$thisUser->getVar('uname')}></th> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_AVATAR}></td> + <td align="center" class="even"><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$thisUser->getVar('user_avatar')}>" alt="Avatar" /></td> + </tr> + <tr> + <td class="head"><{$smarty.const._US_REALNAME}></td> + <td align="center" class="odd"><{$thisUser->getVar('name')}></td> + </tr> + <tr> + <td class="head"><{$smarty.const._US_WEBSITE}></td> + <td class="even"><a href="<{$thisUser->getVar('url', 'E')}>" target="_blank"><{$thisUser->getVar('url')}></a></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_EMAIL}></td> + <td class="odd"> + <{if $thisUser->getVar('user_viewemail') == 1 || $user_ownpage == true || $xoops_isadmin == true }> + <{mailto address=$thisUser->getVar('email') encode="javascript"}> + <{/if}> + </td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_PM}></td> + <td class="even"> + <a href="javascript:openWithSelfMain('<{$smarty.const.XOOPS_URL}>/pmlite.php?send2=1&to_userid=<{$thisUser->getVar('uid')}>', 'pmlite', 450, 380);"><img src="<{$smarty.const.XOOPS_URL}>/images/icons/pm.gif" alt="<{$smarty.const._SENDPMTO|replace:"%s":$thisUser->getVar('uname')}>" /></a> + <{$user_pmlink}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_ICQ}></td> + <td class="odd"><{$thisUser->getVar('user_icq')}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_AIM}></td> + <td class="even"><{$thisUser->getVar('user_aim')}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_YIM}></td> + <td class="odd"><{$thisUser->getVar('user_yim')}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_MSNM}></td> + <td class="even"><{$thisUser->getVar('user_msnm')}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_LOCATION}></td> + <td class="odd"><{$thisUser->getVar('user_from')}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_OCCUPATION}></td> + <td class="even"><{$thisUser->getVar('user_occ')}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_INTEREST}></td> + <td class="odd"><{$thisUser->getVar('user_intrest')}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_EXTRAINFO}></td> + <td class="even"><{$thisUser->getVar('bio')}></td> + </tr> + </table> </td> <td width="50%"> - <table class="outer" cellpadding="4" cellspacing="1" width="100%" ID="Table5"> - <tr valign="top"> - <th colspan="2" align="center"><{$smarty.const._US_STATISTICS}></th> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_MEMBERSINCE}></td> - <td align="center" class="even"><{$user_joindate}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_RANK}></td> - <td align="center" class="odd"><{$user_rankimage}><br /><{$user_ranktitle}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_POSTS}></td> - <td align="center" class="even"><{$user_posts}></td> - </tr> - <tr valign="top"> - <td class="head"><{$smarty.const._US_LASTLOGIN}></td> - <td align="center" class="odd"><{$user_lastlogin}></td> - </tr> - </table> - <br /> - <table class="outer" cellpadding="4" cellspacing="1" width="100%" ID="Table6"> - <tr valign="top"> - <th colspan="2" align="center"><{$smarty.const._US_SIGNATURE}></th> - </tr> - <tr valign="top"> - <td class="even"><{$user_signature}></td> - </tr> - </table> + <table class="outer" cellpadding="4" cellspacing="1" width="100%"> + <tr valign="top"> + <th colspan="2" align="center"><{$smarty.const._US_STATISTICS}></th> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_MEMBERSINCE}></td> + <td align="center" class="even"><{$thisUser->getVar('user_regdate')|xoops_formattimestamp:l}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_RANK}></td> + <td align="center" class="odd"><img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" /><br /> + <{$rank->getVar('rank_title')}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_POSTS}></td> + <td align="center" class="even"><{$thisUser->getVar('posts')}></td> + </tr> + <tr valign="top"> + <td class="head"><{$smarty.const._US_LASTLOGIN}></td> + <td align="center" class="odd"><{$thisUser->getVar('last_login')|xoops_formattimestamp:l}></td> + </tr> + </table> + <br /> + <table class="outer" cellpadding="4" cellspacing="1" width="100%"> + <tr valign="top"> + <th colspan="2" align="center"><{$smarty.const._US_SIGNATURE}></th> + </tr> + <tr valign="top"> + <td class="even"><{$user_signature}></td> + </tr> + </table> </td> </tr> </table> <!-- start module search results loop --> <{foreach item=module from=$searchResults}> - -<p> -<h4><{$module.name}></h4> + <p> + <h4><{$module.name}></h4> <!-- start results item loop --> <{foreach item=result from=$module.results}> - - <img src="<{$result.image}>" alt="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /><small>(<{$result.time}>)</small><br /> - + <img src="<{$result.image}>" alt="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /><small>(<{$result.time}>)</small><br /> <{/foreach}> <!-- end results item loop --> -<{if $module.showall_link}> - <a href="<{$module.showall_link|escape}>"><{$smarty.const._US_SHOWALL}></a> -<{/if}> -</p> - + <{if $module.showall_link}> + <a href="<{$module.showall_link|escape}>"><{$smarty.const._US_SHOWALL}></a> + <{/if}> + </p> <{/foreach}> <!-- end module search results loop --> Index: xoops2jp/html/modules/user/templates/user_avatar_upload.html diff -u xoops2jp/html/modules/user/templates/user_avatar_upload.html:1.1.2.1 xoops2jp/html/modules/user/templates/user_avatar_upload.html:1.1.2.2 --- xoops2jp/html/modules/user/templates/user_avatar_upload.html:1.1.2.1 Thu Jan 19 02:13:26 2006 +++ xoops2jp/html/modules/user/templates/user_avatar_upload.html Thu Jan 19 21:10:01 2006 @@ -10,6 +10,24 @@ <{xoops_input type=hidden name=uid value=$actionForm->getVar('uid')}> <table class="outer" cellspacing="1"> <tr> + <th><{$smarty.const._MD_USER_LANG_AVATAR_WIDTH}></th> + <td class="odd"> + <{$avatarWidth}> + </td> + </tr> + <tr> + <th><{$smarty.const._MD_USER_LANG_AVATAR_HEIGHT}></th> + <td class="odd"> + <{$avatarHeight}> + </td> + </tr> + <tr> + <th><{$smarty.const._MD_USER_LANG_AVATAR_MAXFILESIZE}></th> + <td class="odd"> + <{$avatarMaxfilesize}> + </td> + </tr> + <tr> <th><{$smarty.const._MD_USER_LANG_AVATAR}></th> <td class="odd"> <input type="file" name="uploadavatar" /> Index: xoops2jp/html/modules/user/templates/user_edituser.html diff -u xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.3 xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.4 --- xoops2jp/html/modules/user/templates/user_edituser.html:1.1.2.3 Tue Jan 17 19:40:39 2006 +++ xoops2jp/html/modules/user/templates/user_edituser.html Thu Jan 19 21:10:01 2006 @@ -75,7 +75,7 @@ <tr> <td class="head"><{$smarty.const._US_INTEREST}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_input name=user_interest size=30 maxlength=150 value=$actionForm->getVar('user_interest')}> + <{xoops_input name=user_intrest size=30 maxlength=150 value=$actionForm->getVar('user_intrest')}> </td> </tr> <tr> @@ -89,7 +89,7 @@ <tr> <td class="head"><{$smarty.const._US_EXTRAINFO}></td> <td class="<{cycle values="odd,even"}>"> - <{xoops_textarea name=user_bio value=$actionForm->getVar('user_bio') rows=5 cols=50 id=bio}> + <{xoops_textarea name=bio value=$actionForm->getVar('bio') rows=5 cols=50 id=bio}> </td> </tr> <tr> Index: xoops2jp/html/modules/user/templates/user_default.html diff -u xoops2jp/html/modules/user/templates/user_default.html:1.1.2.1 xoops2jp/html/modules/user/templates/user_default.html:1.1.2.2 --- xoops2jp/html/modules/user/templates/user_default.html:1.1.2.1 Tue Jan 17 19:39:57 2006 +++ xoops2jp/html/modules/user/templates/user_default.html Thu Jan 19 21:10:01 2006 @@ -1 +1,11 @@ -LOGIN FORM: \ No newline at end of file +<fieldset style="padding: 10px;"> + <legend style="font-weight: bold;"><{$smarty.const._LOGIN}></legend> + <form action="index.php" method="post"> + <{xoops_token form=$actionForm}> + <{$smarty.const._US_USERNAME}> : <{xoops_input name=uname size=26 maxlength=25 value="" }> + <{$smarty.const._US_PASSWORD}> : <{xoops_input type=password name=pass size=21 maxlength=32 value="" }> + <input type="submit" value="<{$smarty.const._LOGIN}>" /> + </form> + <div><{$smarty.const._US_NOTREGISTERED}></div> + +</fieldset> Index: xoops2jp/html/modules/user/templates/user_lostpass.html diff -u xoops2jp/html/modules/user/templates/user_lostpass.html:1.1.2.1 xoops2jp/html/modules/user/templates/user_lostpass.html:1.1.2.2 --- xoops2jp/html/modules/user/templates/user_lostpass.html:1.1.2.1 Tue Jan 17 19:39:57 2006 +++ xoops2jp/html/modules/user/templates/user_lostpass.html Thu Jan 19 21:10:01 2006 @@ -1,12 +1,17 @@ <{if $actionForm->hasError()}> - <ul> - <{foreach item=message from=$actionForm->getErrorMessages()}> - <li><{$message}></li> - <{/foreach}> - </ul> +<ul> + <{foreach item=message from=$actionForm->getErrorMessages()}> + <li><{$message}></li> + <{/foreach}> +</ul> <{/if}> -<form action="index.php?action=Lostpass" method="post"> - <{xoops_token form=$actionForm}> - <{xoops_input name=email value=$actionForm->get('email') size=34 maxlength=34}> - <input type="submit" /> -</form> + +<fieldset style="padding: 10px;"> + <legend style="font-weight: bold;"><{$smarty.const._US_LOSTPASSWORD}></legend> + <div><{$smarty.const._US_NOPROBLEM}></div> + <form action="index.php?action=Lostpass" method="post"> + <{xoops_token form=$actionForm}> + <{xoops_input name=email value=$actionForm->get('email') size=34 maxlength=34}> + <input type="submit" value="<{$smarty.const._SEND}>" /> + </form> +</fieldset> \ No newline at end of file