[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: news_admin/inc class.uinews.inc.php,1.21,1.22
From: |
Bettina Gille <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: news_admin/inc class.uinews.inc.php,1.21,1.22 |
Date: |
Sun, 06 Oct 2002 12:15:07 -0400 |
Update of /cvsroot/phpgroupware/news_admin/inc
In directory subversions:/tmp/cvs-serv3061
Modified Files:
class.uinews.inc.php
Log Message:
update home
Index: class.uinews.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.uinews.inc.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** class.uinews.inc.php 6 Oct 2002 02:47:45 -0000 1.21
--- class.uinews.inc.php 6 Oct 2002 16:15:05 -0000 1.22
***************
*** 121,154 ****
function show_news_home()
{
! $title = lang('News Admin');
$portalbox = CreateObject('phpgwapi.listbox',array
(
! 'title' => $title,
! 'width' => '100%',
! 'header_background_image' =>
$GLOBALS['phpgw']->common->image('phpgwapi/templates/default','bg_filler')
));
- $app_id =
$GLOBALS['phpgw']->applications->name2id('news_admin');
- $GLOBALS['portal_order'][] = $app_id;
-
- $var = Array(
- 'up' => Array('url' => '/set_box.php',
'app' => $app_id),
- 'down' => Array('url' => '/set_box.php',
'app' => $app_id),
- 'close' => Array('url' => '/set_box.php',
'app' => $app_id),
- 'question' => Array('url' => '/set_box.php',
'app' => $app_id),
- 'edit' => Array('url' => '/set_box.php',
'app' => $app_id)
- );
-
- while(list($key,$value) = each($var))
- {
- $portalbox->set_controls($key,$value);
- }
-
$total = $this->bonews->get_NumNewsInCat(0);
-
$newslist = $this->bonews->get_newslist($cat_id);
- $image_path =
$GLOBALS['phpgw']->common->get_image_path('news_admin');
-
foreach($newslist as $newsitem)
{
--- 121,136 ----
function show_news_home()
{
! $app_id =
$GLOBALS['phpgw']->applications->name2id('news_admin');
! $GLOBALS['portal_order'][] = $app_id;
!
$portalbox = CreateObject('phpgwapi.listbox',array
(
! 'title' => lang('News Admin'),
! 'app_id' => $app_id
));
$total = $this->bonews->get_NumNewsInCat(0);
$newslist = $this->bonews->get_newslist($cat_id);
foreach($newslist as $newsitem)
{
***************
*** 160,164 ****
);
}
-
$GLOBALS['phpgw']->template->set_var('phpgw_body',$portalbox->draw(),True);
}
--- 142,145 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: news_admin/inc class.uinews.inc.php,1.21,1.22,
Bettina Gille <address@hidden> <=