phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: headlines grabnewssites.php,1.5,1.6 index.php,1.


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: headlines grabnewssites.php,1.5,1.6 index.php,1.24,1.25
Date: Sat, 16 Feb 2002 15:25:53 -0500

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

Modified Files:
        grabnewssites.php index.php 
Log Message:
Now using createobject; added hook for website use



Index: grabnewssites.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/grabnewssites.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** grabnewssites.php   30 Jun 2001 00:30:30 -0000      1.5
--- grabnewssites.php   16 Feb 2002 20:25:50 -0000      1.6
***************
*** 13,17 ****
        /* $Id$ */
  
!       $phpgw_info['flags'] = array(
                'admin_only'           => True,
                'currentapp'           => 'headlines',
--- 13,17 ----
        /* $Id$ */
  
!       $GLOBALS['phpgw_info']['flags'] = array(
                'admin_only'           => True,
                'currentapp'           => 'headlines',
***************
*** 22,29 ****
        include('../header.inc.php');
  
!       $headlines = new headlines;
        $headlines->getList();
  
!       header('Location: ' . $phpgw->link('/headlines/admin.php'));
  ?>
  
--- 22,29 ----
        include('../header.inc.php');
  
!       $headlines = CreateObject('headlines.headlines');
        $headlines->getList();
  
!       header('Location: ' . $GLOBALS['phpgw']->link('/headlines/admin.php'));
  ?>
  

Index: index.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/index.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -r1.24 -r1.25
*** index.php   19 Nov 2001 15:46:14 -0000      1.24
--- index.php   16 Feb 2002 20:25:50 -0000      1.25
***************
*** 47,51 ****
        }
  
!       $headlines = new headlines;
        $GLOBALS['phpgw']->template->set_file(array(
                'layout_row' => 'layout_row.tpl',
--- 47,52 ----
        }
  
!       $headlines = CreateObject('headlines.headlines');
! 
        $GLOBALS['phpgw']->template->set_file(array(
                'layout_row' => 'layout_row.tpl',




reply via email to

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