[xoops-cvslog 1667] CVS update: xoops2jp/html/modules/user/admin/templates

Back to archive index

Minahito minah****@users*****
2006年 1月 12日 (木) 12:44:07 JST


Index: xoops2jp/html/modules/user/admin/templates/user_edit.html
diff -u xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.3
--- xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.2	Mon Jan  9 02:53:39 2006
+++ xoops2jp/html/modules/user/admin/templates/user_edit.html	Thu Jan 12 12:44:07 2006
@@ -1,3 +1,11 @@
+<h3>&raquo; <{$smarty.const._AD_USER_LANG_USER_LIST}></h3>
+
+<{if $actionForm->getVar('uid')}>
+  <h4><{$smarty.const._AD_USER_LANG_USER_EDIT}></h4>
+<{else}>
+  <h4><{$smarty.const._AD_USER_LANG_USER_NEW}></h4>
+<{/if}>
+
 <{if $actionForm->hasError()}>
   <ul>
     <{foreach item=message from=$actionForm->getErrorMessages()}>
@@ -5,117 +13,96 @@
     <{/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>
+      <th><{$smarty.const._AD_USER_LANG_UNAME}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=name value=$actionForm->getVar('name') size=15 maxlength=60}>
+        <{xoops_input type=text name=uname value=$actionForm->getVar('uname') size=25 maxlength=25}>
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_USER_LANG_UNAME}></th>
+      <th><{$smarty.const._AD_USER_LANG_NAME}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=uname value=$actionForm->getVar('uname') size=15 maxlength=25}>
+        <{xoops_input type=text name=name value=$actionForm->getVar('name') size=30 maxlength=60}>
       </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}>
+        <{xoops_input type=text name=email value=$actionForm->getVar('email') size=30 maxlength=60}>
+        <br />
+        <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->getVar('user_viewemail')}>
+        <{$smarty.const._AD_USER_LANG_USER_VIEWEMAIL}>
       </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}>
+        <{xoops_input type=text name=url value=$actionForm->getVar('url') size=50 maxlength=100}>
       </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>
+      <th><{$smarty.const._AD_USER_LANG_TIMEZONE_OFFSET}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_dhtmltarea type=text name=user_sig value=$actionForm->getVar('user_sig')}>
+        <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_USER_VIEWEMAIL}></th>
+      <th><{$smarty.const._AD_USER_LANG_USER_ICQ}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->getVar('user_viewemail')}>
+        <{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_AIM}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=user_aim value=$actionForm->getVar('user_aim') size=15 maxlength=18}>
+        <{xoops_input type=text name=user_aim value=$actionForm->getVar('user_aim') size=18 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}>
+        <{xoops_input type=text name=user_yim value=$actionForm->getVar('user_yim') size=25 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}>
+        <{xoops_input type=text name=user_msnm value=$actionForm->getVar('user_msnm') size=25 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>
+      <th><{$smarty.const._AD_USER_LANG_USER_FROM}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=checkbox name=attachsig value=1 default=$actionForm->getVar('attachsig')}>
+        <{xoops_input type=text name=user_from value=$actionForm->getVar('user_from') size=50 maxlength=100}>
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_USER_LANG_RANK}></th>
+      <th><{$smarty.const._AD_USER_LANG_USER_OCC}></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>
+        <{xoops_input type=text name=user_occ value=$actionForm->getVar('user_occ') size=50 maxlength=100}>
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_USER_LANG_LEVEL}></th>
+      <th><{$smarty.const._AD_USER_LANG_USER_INTREST}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=level value=$actionForm->getVar('level')}>
+        <{xoops_input type=text name=user_intrest value=$actionForm->getVar('user_intrest') size=50 maxlength=150}>
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_USER_LANG_TIMEZONE_OFFSET}></th>
+      <th><{$smarty.const._AD_USER_LANG_USER_SIG}></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>
+        <{xoops_dhtmltarea type=text name=user_sig value=$actionForm->getVar('user_sig')}>
+        <br />
+        <{xoops_input type=checkbox name=attachsig value=1 default=$actionForm->getVar('attachsig')}>
+        <{$smarty.const._AD_USER_LANG_ATTACHSIG}>
       </td>
     </tr>
     <tr>
@@ -143,40 +130,55 @@
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_USER_LANG_USER_OCC}></th>
+      <th><{$smarty.const._AD_USER_LANG_BIO}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=user_occ value=$actionForm->getVar('user_occ') size=15 maxlength=100}>
+        <{xoops_textarea type=text rows=5 cols=50 name=bio value=$actionForm->getVar('bio')}>
       </td>
     </tr>
     <tr>
-      <th><{$smarty.const._AD_USER_LANG_BIO}></th>
+      <th><{$smarty.const._AD_USER_LANG_RANK}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_textarea type=text name=bio value=$actionForm->getVar('bio')}>
+        <select name="rank">
+        <option value="0"><{$smarty.const._AD_USER_NO_SPECIAL_RANK}></option>
+        <{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_USER_INTREST}></th>
+      <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=25 maxlength=32}>
+      </td>
+    </tr>
+    <tr>
+      <th><{$smarty.const._AD_USER_LANG_VPASS}></th>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=user_intrest value=$actionForm->getVar('user_intrest') size=15 maxlength=150}>
+        <{xoops_input type=text name=pass2 value=$actionForm->getVar('vpass') size=25 maxlength=32}>
       </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')}>
+        <{xoops_input type=radio name=user_mailok value=1 default=$actionForm->getVar('user_mailok')}>
+        <{$smarty.const._YES}>
+        <{xoops_input type=radio name=user_mailok value=0 default=$actionForm->getVar('user_mailok')}>
+        <{$smarty.const._NO}>
       </td>
     </tr>
     <tr>
       <th><{$smarty.const._AD_USER_LANG_GROUP}></th>
       <td class="<{cycle values="odd,even"}>">
-        <select size="5" name="groups" multiple="multiple">
+        <select size="5" name="groups[]" multiple="multiple">
           <{html_options options=$groupOptions selected=$actionForm->getVar('groups')}>
         </select>
       </td>
     </tr>
+
     <tr class="foot">
       <td colspan="2" style="text-align:center;">
-        <input class="formButton" type="submit" value="<{$smarty.const._AD_USER_LANG_SUBMIT}>" />
+        <input class="formButton" type="submit" value="<{$smarty.const._SUBMIT}>" />
       </td>
     </tr>
   </table>


xoops-cvslog メーリングリストの案内
Back to archive index