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.18,1.19


From: Bettina Gille <address@hidden>
Subject: [Phpgroupware-cvs] CVS: news_admin/inc class.uinews.inc.php,1.18,1.19
Date: Thu, 03 Oct 2002 17:37:54 -0400

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

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

Index: class.uinews.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/news_admin/inc/class.uinews.inc.php,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -r1.18 -r1.19
*** class.uinews.inc.php        3 Oct 2002 00:23:31 -0000       1.18
--- class.uinews.inc.php        3 Oct 2002 21:37:51 -0000       1.19
***************
*** 12,16 ****
        * http://www.goldenglair.com                                            
   *
        
\**************************************************************************/
- 
        /* $Id$ */
  
--- 12,15 ----
***************
*** 123,128 ****
                function show_news_home()
                {
!                       $title = '<font color="#FFFFFF">'.lang('News 
Admin').'</font>';
!                       $portalbox = CreateObject('phpgwapi.listbox',array(
                                'title'     => $title,
                                'width'     => '100%',
--- 122,128 ----
                function show_news_home()
                {
!                       $title = lang('News Admin');
!                       $portalbox = CreateObject('phpgwapi.listbox',array
!                       (
                                'title'     => $title,
                                'width'     => '100%',
***************
*** 156,169 ****
                        {
                                $portalbox->data[] = array(
!                                       'text' => $newsitem['subject'] . ' - ' 
. lang('Submitted by') . ' ' . 
$GLOBALS['phpgw']->accounts->id2name($newsitem['submittedby']) . ' ' . 
lang('on') . ' ' . 
$GLOBALS['phpgw']->common->show_date($newsitem['submissiondate']),
!                                       'link' => 
$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uinews.show_news&news_id='
 . $newsitem['id'])
                                );
                        }
  
!                       $tmp = "\r\n"
                                . '<!-- start News Admin -->' . "\r\n"
                                . $portalbox->draw()
!                               . '<!-- end News Admin -->'  . "\r\n";
!                       
$GLOBALS['phpgw']->template->set_var('phpgw_body',$tmp,True);
                }
  
--- 156,173 ----
                        {
                                $portalbox->data[] = array(
!                                       'text'                                  
=> $newsitem['subject'] . ' - ' . lang('Submitted by') . ' ' . 
$GLOBALS['phpgw']->accounts->id2name($newsitem['submittedby']) . ' ' . 
lang('on') . ' ' . 
$GLOBALS['phpgw']->common->show_date($newsitem['submissiondate']),
!                                       'link'                                  
=> 
$GLOBALS['phpgw']->link('/index.php','menuaction=news_admin.uinews.show_news&news_id='
 . $newsitem['id']),
!                                       'lang_link_statustext'  => lang('show 
the news item')
                                );
                        }
  
!                       /*$tmp = "\r\n"
                                . '<!-- start News Admin -->' . "\r\n"
                                . $portalbox->draw()
!                               . '<!-- end News Admin -->'  . "\r\n";*/
! 
!                       //$portalbox->draw();
! 
!                       
$GLOBALS['phpgw']->template->set_var('phpgw_body',$portalbox->draw(),True);
                }
  





reply via email to

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