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

Back to archive index

Minahito minah****@users*****
2006年 6月 30日 (金) 17:04:39 JST


Index: xoops2jp/html/modules/user/templates/user_userinfo.html
diff -u xoops2jp/html/modules/user/templates/user_userinfo.html:1.1.2.10 xoops2jp/html/modules/user/templates/user_userinfo.html:1.1.2.11
--- xoops2jp/html/modules/user/templates/user_userinfo.html:1.1.2.10	Sat May 27 22:05:42 2006
+++ xoops2jp/html/modules/user/templates/user_userinfo.html	Fri Jun 30 17:04:39 2006
@@ -106,13 +106,15 @@
         <td class="head"><{$smarty.const._US_MEMBERSINCE}></td>
         <td class="even" style="text-align:center;"><{$thisUser->getVar('user_regdate')|xoops_formattimestamp:l}></td>
       </tr>
-      <tr valign="top">
-        <td class="head"><{$smarty.const._US_RANK}></td>
-        <td class="odd" style="text-align:center;">
-          <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" alt="<{$rank->getVar('rank_title')}>" title="<{$rank->getVar('rank_title')}>" /><br />
-          <{$rank->getVar('rank_title')}>
-        </td>
-      </tr>
+      <{if $rank != null}>
+        <tr valign="top">
+          <td class="head"><{$smarty.const._US_RANK}></td>
+          <td class="odd" style="text-align:center;">
+            <img src="<{$smarty.const.XOOPS_UPLOAD_URL}>/<{$rank->getVar('rank_image')}>" alt="<{$rank->getVar('rank_title')}>" title="<{$rank->getVar('rank_title')}>" /><br />
+            <{$rank->getVar('rank_title')}>
+          </td>
+        </tr>
+      <{/if}>
       <tr valign="top">
         <td class="head"><{$smarty.const._US_POSTS}></td>
         <td class="even" style="text-align:center;"><{$thisUser->getVar('posts')}></td>


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