phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: sitemgr/modules class.module_currentsection.inc


From: Michael Totschnig <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/modules class.module_currentsection.inc.php,1.2,1.3
Date: Wed, 21 May 2003 22:36:56 -0400

Update of /cvsroot/phpgroupware/sitemgr/modules
In directory subversions:/tmp/cvs-serv6703/modules

Modified Files:
        class.module_currentsection.inc.php 
Log Message:
make sitemgr capable of editing multiple sites


Index: class.module_currentsection.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/modules/class.module_currentsection.inc.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** class.module_currentsection.inc.php 3 May 2003 21:08:11 -0000       1.2
--- class.module_currentsection.inc.php 22 May 2003 02:36:53 -0000      1.3
***************
*** 14,23 ****
        {
                global $page;
!               $catlinks = 
$GLOBALS['objbo']->getCatLinks((int)$page->cat_id,false);
!               if (!$page->cat_id)
                {
                        return '';
                }
  
                $pagelinks = 
$GLOBALS['objbo']->getPageLinks($page->cat_id,false);
                $category = $GLOBALS['objbo']->getcatwrapper($page->cat_id);
--- 14,23 ----
        {
                global $page;
!               if ($page->cat_id == 
$GLOBALS['Common_BO']->current_site['site_id'])
                {
                        return '';
                }
  
+               $catlinks = 
$GLOBALS['objbo']->getCatLinks((int)$page->cat_id,false);
                $pagelinks = 
$GLOBALS['objbo']->getPageLinks($page->cat_id,false);
                $category = $GLOBALS['objbo']->getcatwrapper($page->cat_id);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]