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

Back to archive index

Minahito minah****@users*****
2006年 2月 2日 (木) 17:35:43 JST


Index: xoops2jp/html/modules/user/admin/templates/avatar_edit.html
diff -u xoops2jp/html/modules/user/admin/templates/avatar_edit.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/avatar_edit.html:1.1.2.3
--- xoops2jp/html/modules/user/admin/templates/avatar_edit.html:1.1.2.2	Tue Jan 31 14:32:07 2006
+++ xoops2jp/html/modules/user/admin/templates/avatar_edit.html	Thu Feb  2 17:35:43 2006
@@ -2,14 +2,14 @@
   <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a>
   &raquo;&raquo; <a href="./index.php?action=AvatarList"><{$smarty.const._MI_USER_ADMENU_AVATAR_MANAGE}></a>
   &raquo;&raquo; 
-  <{if $actionForm->getVar('avatar_id')}>
+  <{if $actionForm->get('avatar_id')}>
     <{$smarty.const._AD_USER_LANG_AVATAR_EDIT}>
   <{else}>
     <{$smarty.const._AD_USER_LANG_AVATAR_NEW}>
   <{/if}>
 </div>
 
-<{if $actionForm->getVar('avatar_id')}>
+<{if $actionForm->get('avatar_id')}>
   <h3><{$smarty.const._AD_USER_LANG_AVATAR_EDIT}></h3>
 <{else}>
   <h3><{$smarty.const._AD_USER_LANG_AVATAR_NEW}></h3>
@@ -25,27 +25,27 @@
 
 <form action="?action=AvatarEdit" method="post" enctype="multipart/form-data">
   <{xoops_token form=$actionForm}>
-  <{xoops_input type=hidden name=avatar_id value=$actionForm->getVar('avatar_id')}>
+  <{xoops_input type=hidden name=avatar_id value=$actionForm->get('avatar_id')}>
   <table class="outer">
     <tr>
       <th colspan="2">
-        <{if $actionForm->getVar('avatar_id')}>
+        <{if $actionForm->get('avatar_id')}>
           <{$smarty.const._AD_USER_LANG_AVATAR_EDIT}>
         <{else}>
           <{$smarty.const._AD_USER_LANG_AVATAR_NEW}>
         <{/if}>
       </th>
     </tr>
-    <{if $actionForm->getVar('avatar_id')}>
+    <{if $actionForm->get('avatar_id')}>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_AVATAR_ID}></td>
-      <td class="<{cycle values="odd,even"}>"><b><{$actionForm->getVar('avatar_id')}></b></td>
+      <td class="<{cycle values="odd,even"}>"><b><{$actionForm->get('avatar_id')}></b></td>
     </tr>
     <{/if}>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_AVATAR_NAME}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=avatar_name value=$actionForm->getVar('avatar_name') size=15 maxlength=100}>
+        <{xoops_input type=text name=avatar_name value=$actionForm->get('avatar_name') size=15 maxlength=100}>
       </td>
     </tr>
     <tr>
@@ -57,14 +57,14 @@
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_AVATAR_DISPLAY}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=radio name=avatar_display value=1 default=$actionForm->getVar('avatar_display')}><{$smarty.const._YES}>
-        <{xoops_input type=radio name=avatar_display value=0 default=$actionForm->getVar('avatar_display')}><{$smarty.const._NO}>
+        <{xoops_input type=radio name=avatar_display value=1 default=$actionForm->get('avatar_display')}><{$smarty.const._YES}>
+        <{xoops_input type=radio name=avatar_display value=0 default=$actionForm->get('avatar_display')}><{$smarty.const._NO}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_AVATAR_WEIGHT}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=avatar_weight value=$actionForm->getVar('avatar_weight')}>
+        <{xoops_input type=text name=avatar_weight value=$actionForm->get('avatar_weight')}>
       </td>
     </tr>
     <tr>
Index: xoops2jp/html/modules/user/admin/templates/group_edit.html
diff -u xoops2jp/html/modules/user/admin/templates/group_edit.html:1.1.2.4 xoops2jp/html/modules/user/admin/templates/group_edit.html:1.1.2.5
--- xoops2jp/html/modules/user/admin/templates/group_edit.html:1.1.2.4	Tue Jan 31 14:32:07 2006
+++ xoops2jp/html/modules/user/admin/templates/group_edit.html	Thu Feb  2 17:35:43 2006
@@ -2,14 +2,14 @@
   <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a>
   &raquo;&raquo; <a href="./index.php?action=GroupList"><{$smarty.const._AD_USER_LANG_GROUP_LIST}></a>
   &raquo;&raquo;
-  <{if $actionForm->getVar('groupid') }>
+  <{if $actionForm->get('groupid') }>
     <{$smarty.const._AD_USER_LANG_GROUP_EDIT}>
   <{else}>
     <{$smarty.const._AD_USER_LANG_GROUP_NEW}>
   <{/if}>
 </div>
 
-<{if $actionForm->getVar('groupid') }>
+<{if $actionForm->get('groupid') }>
   <h3><{$smarty.const._AD_USER_LANG_GROUP_EDIT}></h3>
 <{else}>
   <h3><{$smarty.const._AD_USER_LANG_GROUP_NEW}></h3>
@@ -24,11 +24,12 @@
 <{/if}>
 
 <form action="?action=GroupEdit" method="post">
-  <{xoops_input type=hidden name=groupid value=$actionForm->getVar('groupid')}>
+  <{xoops_token form=$actionForm}>
+  <{xoops_input type=hidden name=groupid value=$actionForm->get('groupid')}>
   <table class="outer">
     <tr>
       <th colspan="2">
-      <{if $actionForm->getVar('groupid') }>
+      <{if $actionForm->get('groupid') }>
         <{$smarty.const._AD_USER_LANG_GROUP_EDIT}>
       <{else}>
         <{$smarty.const._AD_USER_LANG_GROUP_NEW}>
@@ -38,13 +39,13 @@
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_GROUP_NAME}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=name value=$actionForm->getVar('name')}>
+        <{xoops_input type=text name=name value=$actionForm->get('name')}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_GROUP_DESC}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_dhtmltarea name=description value=$actionForm->getVar('description')}>
+        <{xoops_dhtmltarea name=description value=$actionForm->get('description')}>
       </td>
     </tr>
     <tr>
Index: xoops2jp/html/modules/user/admin/templates/ranks_edit.html
diff -u xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.2 xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.3
--- xoops2jp/html/modules/user/admin/templates/ranks_edit.html:1.1.2.2	Tue Jan 31 14:32:07 2006
+++ xoops2jp/html/modules/user/admin/templates/ranks_edit.html	Thu Feb  2 17:35:43 2006
@@ -2,14 +2,14 @@
   <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a>
   &raquo;&raquo; <a href="./index.php?action=RanksList"><{$smarty.const._AD_USER_LANG_RANK_LIST}></a>
   &raquo;&raquo; 
-  <{if $actionForm->getVar('rank_id') }>
+  <{if $actionForm->get('rank_id') }>
     <{$smarty.const._AD_USER_LANG_RANK_EDIT}>
   <{else}>
     <{$smarty.const._AD_USER_LANG_RANK_NEW}>
   <{/if}>
 </div>
 
-<{if $actionForm->getVar('rank_id') }>
+<{if $actionForm->get('rank_id') }>
   <h3><{$smarty.const._AD_USER_LANG_RANK_EDIT}></h3>
 <{else}>
   <h3><{$smarty.const._AD_USER_LANG_RANK_NEW}></h3>
@@ -28,7 +28,7 @@
   <table class="outer">
     <tr>
       <th colspan="2">
-      <{if $actionForm->getVar('rank_id') }>
+      <{if $actionForm->get('rank_id') }>
         <{$smarty.const._AD_USER_LANG_RANK_EDIT}>
       <{else}>
         <{$smarty.const._AD_USER_LANG_RANK_NEW}>
@@ -38,19 +38,19 @@
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_RANK_TITLE}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=rank_title value=$actionForm->getVar('rank_title')}>
+        <{xoops_input type=text name=rank_title value=$actionForm->get('rank_title')}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_RANK_MIN}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=rank_min value=$actionForm->getVar('rank_min')}>
+        <{xoops_input type=text name=rank_min value=$actionForm->get('rank_min')}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_RANK_MAX}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=rank_max value=$actionForm->getVar('rank_max')}>
+        <{xoops_input type=text name=rank_max value=$actionForm->get('rank_max')}>
       </td>
     </tr>
     <tr>
Index: xoops2jp/html/modules/user/admin/templates/user_edit.html
diff -u xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.6 xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.7
--- xoops2jp/html/modules/user/admin/templates/user_edit.html:1.1.2.6	Tue Jan 31 14:32:07 2006
+++ xoops2jp/html/modules/user/admin/templates/user_edit.html	Thu Feb  2 17:35:43 2006
@@ -2,14 +2,14 @@
   <a href="./index.php"><{$smarty.const._MI_USER_NAME}></a>
   &raquo;&raquo; <a href="./index.php?action=UserList"><{$smarty.const._AD_USER_LANG_USER_LIST}></a>
   &raquo;&raquo;
-  <{if $actionForm->getVar('uid')}>
+  <{if $actionForm->get('uid')}>
     <{$smarty.const._AD_USER_LANG_USER_EDIT}>
   <{else}>
     <{$smarty.const._AD_USER_LANG_USER_NEW}>
   <{/if}>
 </div>
 
-<{if $actionForm->getVar('uid')}>
+<{if $actionForm->get('uid')}>
   <h3><{$smarty.const._AD_USER_LANG_USER_EDIT}></h3>
 <{else}>
   <h3><{$smarty.const._AD_USER_LANG_USER_NEW}></h3>
@@ -25,11 +25,11 @@
 
 <form action="" method="post">
   <{xoops_token form=$actionForm}>
-  <{xoops_input type=hidden name=uid value=$actionForm->getVar('uid')}>
+  <{xoops_input type=hidden name=uid value=$actionForm->get('uid')}>
   <table class="outer">
     <tr>
       <th colspan="2">
-      <{if $actionForm->getVar('uid')}>
+      <{if $actionForm->get('uid')}>
         <{$smarty.const._AD_USER_LANG_USER_EDIT}>
       <{else}>
         <{$smarty.const._AD_USER_LANG_USER_NEW}>
@@ -39,28 +39,28 @@
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_UNAME}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=uname value=$actionForm->getVar('uname') size=25 maxlength=25}>
+        <{xoops_input type=text name=uname value=$actionForm->get('uname') size=25 maxlength=25}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_NAME}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=name value=$actionForm->getVar('name') size=30 maxlength=60}>
+        <{xoops_input type=text name=name value=$actionForm->get('name') size=30 maxlength=60}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_EMAIL}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=email value=$actionForm->getVar('email') size=30 maxlength=60}>
+        <{xoops_input type=text name=email value=$actionForm->get('email') size=30 maxlength=60}>
         <br />
-        <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->getVar('user_viewemail')}>
+        <{xoops_input type=checkbox name=user_viewemail value=1 default=$actionForm->get('user_viewemail')}>
         <{$smarty.const._AD_USER_LANG_USER_VIEWEMAIL}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_URL}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=url value=$actionForm->getVar('url') size=50 maxlength=100}>
+        <{xoops_input type=text name=url value=$actionForm->get('url') size=50 maxlength=100}>
       </td>
     </tr>
     <tr>
@@ -68,7 +68,7 @@
       <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>
+          <option value="<{$timezone->getVar('offset')}>" <{if $actionForm->get('timezone_offset')==$timezone->getVar('offset')}>selected<{/if}>><{$timezone->getVar('zone_name')}></option>
         <{/foreach}>
         </select>
       </td>
@@ -76,82 +76,82 @@
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_USER_ICQ}></td>
       <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=user_icq value=$actionForm->get('user_icq') size=15 maxlength=15}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_USER_AIM}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=user_aim value=$actionForm->getVar('user_aim') size=18 maxlength=18}>
+        <{xoops_input type=text name=user_aim value=$actionForm->get('user_aim') size=18 maxlength=18}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_USER_YIM}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=user_yim value=$actionForm->getVar('user_yim') size=25 maxlength=25}>
+        <{xoops_input type=text name=user_yim value=$actionForm->get('user_yim') size=25 maxlength=25}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_USER_MSNM}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=user_msnm value=$actionForm->getVar('user_msnm') size=25 maxlength=100}>
+        <{xoops_input type=text name=user_msnm value=$actionForm->get('user_msnm') size=25 maxlength=100}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_USER_FROM}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=user_from value=$actionForm->getVar('user_from') size=50 maxlength=100}>
+        <{xoops_input type=text name=user_from value=$actionForm->get('user_from') size=50 maxlength=100}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_USER_OCC}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=user_occ value=$actionForm->getVar('user_occ') size=50 maxlength=100}>
+        <{xoops_input type=text name=user_occ value=$actionForm->get('user_occ') size=50 maxlength=100}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_USER_INTREST}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=user_intrest value=$actionForm->getVar('user_intrest') size=50 maxlength=150}>
+        <{xoops_input type=text name=user_intrest value=$actionForm->get('user_intrest') size=50 maxlength=150}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_USER_SIG}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_dhtmltarea type=text name=user_sig value=$actionForm->getVar('user_sig')}>
+        <{xoops_dhtmltarea type=text name=user_sig value=$actionForm->get('user_sig')}>
         <br />
-        <{xoops_input type=checkbox name=attachsig value=1 default=$actionForm->getVar('attachsig')}>
+        <{xoops_input type=checkbox name=attachsig value=1 default=$actionForm->get('attachsig')}>
         <{$smarty.const._AD_USER_LANG_ATTACHSIG}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_UMODE}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{html_options name=umode options=$umodeOptions selected=$actionForm->getVar('umode')}>
+        <{html_options name=umode options=$umodeOptions selected=$actionForm->get('umode')}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_UORDER}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{html_options name=uorder options=$uorderOptions selected=$actionForm->getVar('uorder')}>
+        <{html_options name=uorder options=$uorderOptions selected=$actionForm->get('uorder')}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_NOTIFY_METHOD}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{html_options name=notify_method options=$notify_methodOptions selected=$actionForm->getVar('notify_method')}>
+        <{html_options name=notify_method options=$notify_methodOptions selected=$actionForm->get('notify_method')}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_NOTIFY_MODE}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{html_options name=notify_mode options=$notify_modeOptions selected=$actionForm->getVar('notify_mode')}>
+        <{html_options name=notify_mode options=$notify_modeOptions selected=$actionForm->get('notify_mode')}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_BIO}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_textarea type=text rows=5 cols=50 name=bio value=$actionForm->getVar('bio')}>
+        <{xoops_textarea type=text rows=5 cols=50 name=bio value=$actionForm->get('bio')}>
       </td>
     </tr>
     <tr>
@@ -168,21 +168,21 @@
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_PASS}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=pass value=$actionForm->getVar('pass') size=25 maxlength=32}>
+        <{xoops_input type=text name=pass value=$actionForm->get('pass') size=25 maxlength=32}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_VPASS}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=text name=pass2 value=$actionForm->getVar('vpass') size=25 maxlength=32}>
+        <{xoops_input type=text name=pass2 value=$actionForm->get('vpass') size=25 maxlength=32}>
       </td>
     </tr>
     <tr>
       <td class="head"><{$smarty.const._AD_USER_LANG_USER_MAILOK}></td>
       <td class="<{cycle values="odd,even"}>">
-        <{xoops_input type=radio name=user_mailok value=1 default=$actionForm->getVar('user_mailok')}>
+        <{xoops_input type=radio name=user_mailok value=1 default=$actionForm->get('user_mailok')}>
         <{$smarty.const._YES}>
-        <{xoops_input type=radio name=user_mailok value=0 default=$actionForm->getVar('user_mailok')}>
+        <{xoops_input type=radio name=user_mailok value=0 default=$actionForm->get('user_mailok')}>
         <{$smarty.const._NO}>
       </td>
     </tr>
@@ -190,7 +190,7 @@
       <td class="head"><{$smarty.const._AD_USER_LANG_GROUP}></td>
       <td class="<{cycle values="odd,even"}>">
         <select size="5" name="groups[]" multiple="multiple">
-          <{html_options options=$groupOptions selected=$actionForm->getVar('groups')}>
+          <{html_options options=$groupOptions selected=$actionForm->get('groups')}>
         </select>
       </td>
     </tr>


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