[xoops-cvslog 386] CVS update: xoops2jp/html/modules/system/blocks

Back to archive index

onokazu onoka****@users*****
2005年 8月 31日 (水) 05:21:54 JST


Index: xoops2jp/html/modules/system/blocks/system_blocks.php
diff -u xoops2jp/html/modules/system/blocks/system_blocks.php:1.5.2.1 xoops2jp/html/modules/system/blocks/system_blocks.php:1.5.2.2
--- xoops2jp/html/modules/system/blocks/system_blocks.php:1.5.2.1	Thu Aug 25 12:18:15 2005
+++ xoops2jp/html/modules/system/blocks/system_blocks.php	Wed Aug 31 05:21:54 2005
@@ -1,5 +1,5 @@
 <?php
-// $Id: system_blocks.php,v 1.5.2.1 2005/08/25 03:18:15 minahito Exp $
+// $Id: system_blocks.php,v 1.5.2.2 2005/08/30 20:21:54 onokazu Exp $
 //  ------------------------------------------------------------------------ //
 //                XOOPS - PHP Content Management System                      //
 //                    Copyright (c) 2000 XOOPS.org                           //
@@ -260,7 +260,11 @@
         $block['showgroups'] = false;
     }
     $block['logourl'] = XOOPS_URL.'/images/'.$options[2];
-    $block['recommendlink'] = "<a href=\"javascript:openWithSelfMain('".XOOPS_URL."/misc.php?action=showpopups&amp;type=friend&amp;op=sendform&amp;t=".time()."','friend',".$options[0].",".$options[1].")\">"._MB_SYSTEM_RECO."</a>";
+    if (is_object($xoopsUser)) {
+        $block['recommendlink'] = "<a href=\"javascript:openWithSelfMain('".XOOPS_URL."/misc.php?action=showpopups&amp;type=friend&amp;op=sendform&amp;t=".time()."','friend',".$options[0].",".$options[1].")\">"._MB_SYSTEM_RECO."</a>";
+    } else {
+        $block['recommendlink'] = '';
+    }
     return $block;
 }
 


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