[xoops-cvslog 2130] CVS update: xoops2jp/html/modules/base/templates

Back to archive index

Minahito minah****@users*****
2006年 2月 3日 (金) 02:00:56 JST


Index: xoops2jp/html/modules/base/templates/legacy_misc_online.html
diff -u xoops2jp/html/modules/base/templates/legacy_misc_online.html:1.1.2.3 xoops2jp/html/modules/base/templates/legacy_misc_online.html:1.1.2.4
--- xoops2jp/html/modules/base/templates/legacy_misc_online.html:1.1.2.3	Thu Feb  2 15:24:23 2006
+++ xoops2jp/html/modules/base/templates/legacy_misc_online.html	Fri Feb  3 02:00:56 2006
@@ -2,27 +2,29 @@
   <tr>
     <th colspan="3"><{$smarty.const._WHOSONLINE}></th>
   </tr>
-  <{foreach item=user from=$onlineUsers}>
+  <{foreach item=obj from=$objects}>
     <tr class="<{cycle values="odd,even"}> valign="middle" align="center">
       <td>
-        <{if $user.user}>
-          <{$user.user->getVar('uname')}>
+        <{if $obj->get('uid')}>
+          <a href="<{$xoops_url}>/userinfo.php?uid=<{$obj->get('uid')|escape}>"><{$obj->getVar('uname')}></a>
         <{else}>
           <{$smarty.const._GUEST}>
         <{/if}>
       </td>
       <td>
-        <{if $user.module}>
-          <{$user.module}>
+        <{if $obj->mModule}>
+          <{$obj->mModule->getVar('name')}>
+        <{else}>
+          ---
         <{/if}>
       </td>
       <td>
         <{if $xoops_isadmin}>
-          <{$user.onlineInfo.online_ip}>
+          <{$obj->getVar('online_ip')}>
         <{/if}>
       </td>
     </tr>
   <{/foreach}>
 </table>
-
-<div style="text-align: right;"><!--- pagenavi ---></div>
+<br />
+<div style="text-align:center;"><{xoops_pagenavi pagenavi=$pageNavi}></div>


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