[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sitemgr/sitemgr-site/inc class.sitebo.inc.php [skwash
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] sitemgr/sitemgr-site/inc class.sitebo.inc.php [skwashd-16-compat] |
Date: |
Fri, 25 Aug 2006 10:01:58 +0000 |
CVSROOT: /cvsroot/phpgroupware
Module name: sitemgr
Branch: skwashd-16-compat
Changes by: Dave Hall <skwashd> 06/08/25 10:01:58
Modified files:
sitemgr-site/inc: class.sitebo.inc.php
Log message:
minor fixes
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/sitemgr/sitemgr-site/inc/class.sitebo.inc.php?cvsroot=phpgroupware&only_with_tag=skwashd-16-compat&r1=1.1.2.3.4.4&r2=1.1.2.3.4.5
Patches:
Index: class.sitebo.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/sitemgr-site/inc/class.sitebo.inc.php,v
retrieving revision 1.1.2.3.4.4
retrieving revision 1.1.2.3.4.5
diff -u -b -r1.1.2.3.4.4 -r1.1.2.3.4.5
--- class.sitebo.inc.php 23 Aug 2006 13:58:39 -0000 1.1.2.3.4.4
+++ class.sitebo.inc.php 25 Aug 2006 10:01:58 -0000 1.1.2.3.4.5
@@ -8,7 +8,7 @@
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\*************************************************************************/
- /* $Id: class.sitebo.inc.php,v 1.1.2.3.4.4 2006/08/23 13:58:39 skwashd
Exp $ */
+ /* $Id: class.sitebo.inc.php,v 1.1.2.3.4.5 2006/08/25 10:01:58 skwashd
Exp $ */
class sitebo
{
@@ -324,7 +324,7 @@
return true;
}
- function loadNews($item_id, $cat_id = 0)
+ function loadNews($item, $cat_id = 0)
{
global $page;
@@ -334,10 +334,10 @@
$page->cat_id = CURRENT_SITE_ID;
$page->block = CreateObject('sitemgr.Block_SO',True);
$page->block->module_name = 'news';
- $page->block->arguments = array('item' => $item,
'category' => $cat_id);
- $page->block->module_id =
$GLOBALS['Common_BO']->modules->getmoduleid('toc');
+ $page->block->module_id =
$GLOBALS['Common_BO']->modules->getmoduleid('news');
$page->block->view = SITEMGR_VIEWABLE_EVERBODY;
$page->block->state = SITEMGR_STATE_PUBLISH;
+ $page->block->arguments = array('item' => $item,
'category' => $cat_id);
return true;
}