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

アーカイブの一覧に戻る

Tom Hayakawa tom_g3x****@users*****
2006年 8月 19日 (土) 14:05:01 JST


Index: xoops2jp/html/modules/user/admin/templates/user_view.html
diff -u xoops2jp/html/modules/user/admin/templates/user_view.html:1.1.2.5 xoops2jp/html/modules/user/admin/templates/user_view.html:1.1.2.6
--- xoops2jp/html/modules/user/admin/templates/user_view.html:1.1.2.5	Fri Aug 18 14:35:31 2006
+++ xoops2jp/html/modules/user/admin/templates/user_view.html	Sat Aug 19 14:05:01 2006
@@ -4,43 +4,50 @@
   &raquo;&raquo; <span class="adminnaviTitle"><{$smarty.const._AD_USER_LANG_USER_VIEW}></span>
 </div>
 
+<h3 class="admintitle"><{$smarty.const._AD_USER_LANG_USER_VIEW}> (<{$object->getShow('uname')}>)</h3>
+
 <div class="tips">
   <{$smarty.const._AD_USER_TIPS_RECOUNT_POSTS}>
 </div>
 
-<table class='outer'>
+<table class="outer">
+  <tr>
+    <th colspan="2"><{$smarty.const._AD_USER_LANG_USER_VIEW}></th>
+  </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_UID}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_UID}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('uid')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_UNAME}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_UNAME}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('uname')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_NAME}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_NAME}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('name')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_EMAIL}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_EMAIL}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('email')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_URL}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_URL}></td>
     <td class="<{cycle values='odd,even'}>">
-      <{$object->getShow('url')}>
+      <{if $object->getShow('url')}>
+        <a href="<{$object->getShow('url')}>" target="_blank"><{$object->getShow('url')}></a>
+      <{/if}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_AVATAR}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_AVATAR}></td>
     <td class="<{cycle values='odd,even'}>">
       <{if $object->get('user_avatar') != "blank.gif" }>
         <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$object->getShow('user_avatar')}>" alt="Avatar" title="Avatar" />
@@ -50,58 +57,62 @@
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_REGDATE}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_REGDATE}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->get('user_regdate')|xoops_formattimestamp:l}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_ICQ}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_ICQ}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('user_icq')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_FROM}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_FROM}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('user_from')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_SIG}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_SIG}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('user_sig')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_VIEWEMAIL}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_VIEWEMAIL}></td>
     <td class="<{cycle values='odd,even'}>">
-      <{$object->getShow('user_viewemail')}>
+      <{if $object->getShow('user_viewemail') == 1}>
+        <{$smarty.const._YES}>
+      <{else}>
+        <{$smarty.const._NO}>
+      <{/if}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_AIM}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_AIM}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('user_aim')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_YIM}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_YIM}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('user_yim')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_MSNM}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_MSNM}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('user_msnm')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_POSTS}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_POSTS}></td>
     <td class="<{cycle values='odd,even'}>">
-      <{$object->getShow('posts')}>
       <form action="./index.php?action=UserView" method="post">
+      <{$object->getShow('posts')}>
         <{xoops_token form=$actionForm}>
         <{xoops_input type=hidden name=uid value=$actionForm->get('uid')}>
         <input class='formButton' type='submit' value='<{$smarty.const._AD_USER_LANG_RECOUNT}>' />
@@ -109,34 +120,34 @@
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_ATTACHSIG}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_ATTACHSIG}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('attachsig')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_RANK}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_RANK}></td>
     <td class="<{cycle values='odd,even'}>">
       <{if $rank}>
-        <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getShow('rank_image')}>" alt="<{$rank->getShow('rank_title')}>" title="<{$rank->getShow('rank_title')}>" /><br />
+        <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getShow('rank_image')}>" alt="<{$rank->getShow('rank_title')}>" title="<{$rank->getShow('rank_title')}>" />
         <{$rank->getShow('rank_title')}>
       <{/if}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_LEVEL}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_LEVEL}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('level')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_THEME}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_THEME}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('theme')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_TIMEZONE_OFFSET}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_TIMEZONE_OFFSET}></td>
     <td class="<{cycle values='odd,even'}>">
       <{if $timezone}>
         <{$timezone->getShow('zone_name')}>
@@ -146,57 +157,61 @@
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_LAST_LOGIN}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_LAST_LOGIN}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->get('last_login')|xoops_formattimestamp:l}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_UMODE}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_UMODE}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$umode|escape}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_UORDER}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_UORDER}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$uorder|escape}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_NOTIFY_METHOD}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_NOTIFY_METHOD}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$notify_method|escape}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_NOTIFY_MODE}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_NOTIFY_MODE}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$notify_mode|escape}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_OCC}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_OCC}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('user_occ')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_BIO}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_BIO}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('bio')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_INTREST}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_INTREST}></td>
     <td class="<{cycle values='odd,even'}>">
       <{$object->getShow('user_intrest')}>
     </td>
   </tr>
   <tr>
-    <th><{$smarty.const._MD_USER_LANG_USER_MAILOK}></th>
+    <td class="head"><{$smarty.const._MD_USER_LANG_USER_MAILOK}></td>
     <td class="<{cycle values='odd,even'}>">
-      <{$object->getShow('user_mailok')}>
+      <{if $object->getShow('user_mailok') == 1}>
+        <{$smarty.const._YES}>
+      <{else}>
+        <{$smarty.const._NO}>
+      <{/if}>
     </td>
   </tr>
 </table>


xoops-cvslog メーリングリストの案内
アーカイブの一覧に戻る