phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: news_admin/inc class.uinews.inc.php,1.23,1.24


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: news_admin/inc class.uinews.inc.php,1.23,1.24
Date: Fri, 25 Oct 2002 12:43:51 -0400

Update of /cvsroot/phpgroupware/news_admin/inc
In directory subversions:/tmp/cvs-serv5878/inc

Modified Files:
        class.uinews.inc.php 
Log Message:
update xslt

Index: class.uinews.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.uinews.inc.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -r1.23 -r1.24
*** class.uinews.inc.php        25 Oct 2002 03:04:27 -0000      1.23
--- class.uinews.inc.php        25 Oct 2002 16:43:49 -0000      1.24
***************
*** 124,133 ****
                        $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);
--- 124,129 ----
                        $GLOBALS['portal_order'][] = $app_id;
  
!                       $GLOBALS['phpgw']->portalbox->set_params(array('title'  
        => lang('News Admin'),
!                                                                               
                                        'app_id'        => $app_id));
                        $total = $this->bonews->get_NumNewsInCat(0);
                        $newslist = $this->bonews->get_newslist($cat_id);
***************
*** 135,139 ****
                        foreach($newslist as $newsitem)
                        {
!                               $portalbox->data[] = array
                                (
                                        'text'                                  
=> $newsitem['subject'] . ' - ' . lang('Submitted by') . ' ' . 
$GLOBALS['phpgw']->accounts->id2name($newsitem['submittedby']) . ' ' . 
lang('on') . ' ' . 
$GLOBALS['phpgw']->common->show_date($newsitem['submissiondate']),
--- 131,135 ----
                        foreach($newslist as $newsitem)
                        {
!                               $GLOBALS['phpgw']->portalbox->data[] = array
                                (
                                        'text'                                  
=> $newsitem['subject'] . ' - ' . lang('Submitted by') . ' ' . 
$GLOBALS['phpgw']->accounts->id2name($newsitem['submittedby']) . ' ' . 
lang('on') . ' ' . 
$GLOBALS['phpgw']->common->show_date($newsitem['submissiondate']),
***************
*** 142,146 ****
                                );
                        }
!                       $portalbox->draw();
                }
  
--- 138,142 ----
                                );
                        }
!                       $GLOBALS['phpgw']->portalbox->draw();
                }
  





reply via email to

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