[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: headlines admin.php,1.14,1.15 grabnewssites.php,
From: |
Miles Lott <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: headlines admin.php,1.14,1.15 grabnewssites.php,1.6,1.7 |
Date: |
Sun, 31 Mar 2002 10:56:31 -0500 |
Update of /cvsroot/phpgroupware/headlines
In directory subversions:/tmp/cvs-serv14310
Modified Files:
admin.php grabnewssites.php
Log Message:
Add some langs; enable dropping all sites before loading new ones via admin
Index: admin.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/admin.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** admin.php 31 Mar 2002 12:20:54 -0000 1.14
--- admin.php 31 Mar 2002 15:56:28 -0000 1.15
***************
*** 65,68 ****
--- 65,70 ----
$GLOBALS['phpgw']->template->set_var('grab_more_url',$GLOBALS['phpgw']->link('/headlines/grabnewssites.php'));
$GLOBALS['phpgw']->template->set_var('lang_grab_more',lang('Grab New
News Sites'));
+
$GLOBALS['phpgw']->template->set_var('reload_url',$GLOBALS['phpgw']->link('/headlines/grabnewssites.php','dropall=True'));
+ $GLOBALS['phpgw']->template->set_var('lang_reload',lang('Reload news
sites'));
$GLOBALS['phpgw']->template->pfp('out','list');
Index: grabnewssites.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/grabnewssites.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** grabnewssites.php 16 Feb 2002 20:25:50 -0000 1.6
--- grabnewssites.php 31 Mar 2002 15:56:28 -0000 1.7
***************
*** 22,27 ****
include('../header.inc.php');
$headlines = CreateObject('headlines.headlines');
! $headlines->getList();
header('Location: ' . $GLOBALS['phpgw']->link('/headlines/admin.php'));
--- 22,29 ----
include('../header.inc.php');
+ $dropall = $HTTP_GET_VARS['dropall'] ? $HTTP_GET_VARS['dropall'] : '';
+
$headlines = CreateObject('headlines.headlines');
! $headlines->getList($dropall);
header('Location: ' . $GLOBALS['phpgw']->link('/headlines/admin.php'));
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: headlines admin.php,1.14,1.15 grabnewssites.php,1.6,1.7,
Miles Lott <address@hidden> <=