[Top][All Lists]
[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);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: sitemgr/modules class.module_currentsection.inc.php,1.2,1.3,
Michael Totschnig <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74.2.20,1.74.2.21
- Next by Date:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc class.Template3.inc.php,1.5,1.6 class.sitebo.inc.php,1.2,1.3 class.ui.inc.php,1.11,1.12
- Previous by thread:
[Phpgroupware-cvs] CVS: phpgwapi/inc class.categories.inc.php,1.74.2.20,1.74.2.21
- Next by thread:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc class.Template3.inc.php,1.5,1.6 class.sitebo.inc.php,1.2,1.3 class.ui.inc.php,1.11,1.12
- Index(es):