phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: headlines admin.php,1.13,1.14 index.php,1.25,1.2


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: headlines admin.php,1.13,1.14 index.php,1.25,1.26
Date: Sun, 31 Mar 2002 07:20:57 -0500

Update of /cvsroot/phpgroupware/headlines
In directory subversions:/tmp/cvs-serv22433

Modified Files:
        admin.php index.php 
Log Message:
Convert to use of an rss class for parsing rdf/rss data; Read files into
a one line string using new network class function;  New rss class parses
the whole line, which gets around sites that have questionable xml formatting 
(Sophos);
added new site for antivirus alerts and moved headlines.rdf location to 
phpgroupware.org



Index: admin.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/admin.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** admin.php   19 Nov 2001 15:46:14 -0000      1.13
--- admin.php   31 Mar 2002 12:20:54 -0000      1.14
***************
*** 43,47 ****
        {
                $GLOBALS['phpgw']->template->set_var('lang_row_empty',lang('No 
headlines found'));
!               
$GLOBALS['phpgw']->nextmatchs->template_alternate_row_color($GLOBALS['phpgw']->template);
                $GLOBALS['phpgw']->template->parse('rows','row_empty');
        }
--- 43,48 ----
        {
                $GLOBALS['phpgw']->template->set_var('lang_row_empty',lang('No 
headlines found'));
!               $tr_color = 
$GLOBALS['phpgw']->nextmatchs->alternate_row_color($tr_color);
!               $GLOBALS['phpgw']->template->set_var('tr_color',$tr_color);
                $GLOBALS['phpgw']->template->parse('rows','row_empty');
        }
***************
*** 50,54 ****
        while ($GLOBALS['phpgw']->db->next_record())
        {
!               
$GLOBALS['phpgw']->nextmatchs->template_alternate_row_color($GLOBALS['phpgw']->template);
  
                
$GLOBALS['phpgw']->template->set_var('row_display',$GLOBALS['phpgw']->db->f('display'));
--- 51,56 ----
        while ($GLOBALS['phpgw']->db->next_record())
        {
!               $tr_color = 
$GLOBALS['phpgw']->nextmatchs->alternate_row_color($tr_color);
!               $GLOBALS['phpgw']->template->set_var('tr_color',$tr_color);
  
                
$GLOBALS['phpgw']->template->set_var('row_display',$GLOBALS['phpgw']->db->f('display'));

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/index.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** index.php   16 Feb 2002 20:25:50 -0000      1.25
--- index.php   31 Mar 2002 12:20:55 -0000      1.26
***************
*** 85,95 ****
                        while (list($title,$link) = each($links))
                        {
! 
!                               $var = Array(
!                                       'item_link'  => stripslashes($link),
!                                       'item_label' => stripslashes($title)
!                               );
!                               $GLOBALS['phpgw']->template->set_var($var);
!                               $s .= 
$GLOBALS['phpgw']->template->parse('o_','row');
                        }
                }
--- 85,98 ----
                        while (list($title,$link) = each($links))
                        {
!                               if($link && $title)
!                               {
!                                       $var = Array(
!                                               'item_link'  => 
stripslashes($link),
!                                               'item_label' => 
stripslashes($title),
!                                               'error'      => ''
!                                       );
!                                       
$GLOBALS['phpgw']->template->set_var($var);
!                                       $s .= 
$GLOBALS['phpgw']->template->parse('o_','row');
!                               }
                        }
                }




reply via email to

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