phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] headlines admin.php deleteheadline.php


From: Caeies
Subject: [Phpgroupware-cvs] headlines admin.php deleteheadline.php
Date: Wed, 24 Jan 2007 17:06:49 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    headlines
Changes by:     Caeies <Caeies> 07/01/24 17:06:49

Modified files:
        .              : admin.php deleteheadline.php 

Log message:
        some call to link() fixed

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/headlines/admin.php?cvsroot=phpgroupware&r1=1.15&r2=1.16
http://cvs.savannah.gnu.org/viewcvs/headlines/deleteheadline.php?cvsroot=phpgroupware&r1=1.11&r2=1.12

Patches:
Index: admin.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/admin.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- admin.php   31 Mar 2002 15:56:28 -0000      1.15
+++ admin.php   24 Jan 2007 17:06:49 -0000      1.16
@@ -10,7 +10,7 @@
        *  option) any later version.                                           
   *
        
\**************************************************************************/
 
-       /* $Id: admin.php,v 1.15 2002/03/31 15:56:28 milosch Exp $ */
+       /* $Id: admin.php,v 1.16 2007/01/24 17:06:49 Caeies Exp $ */
 
        $GLOBALS['phpgw_info']['flags'] = array(
                'admin_only'              => True,
@@ -54,9 +54,9 @@
                $GLOBALS['phpgw']->template->set_var('tr_color',$tr_color);
 
                
$GLOBALS['phpgw']->template->set_var('row_display',$GLOBALS['phpgw']->db->f('display'));
-               
$GLOBALS['phpgw']->template->set_var('row_edit',$GLOBALS['phpgw']->link('/headlines/editheadline.php','con='.$GLOBALS['phpgw']->db->f('con')));
-               
$GLOBALS['phpgw']->template->set_var('row_delete',$GLOBALS['phpgw']->link('/headlines/deleteheadline.php','con='.$GLOBALS['phpgw']->db->f('con')));
-               
$GLOBALS['phpgw']->template->set_var('row_view',$GLOBALS['phpgw']->link('/headlines/viewheadline.php','con='.$GLOBALS['phpgw']->db->f('con')));
+               
$GLOBALS['phpgw']->template->set_var('row_edit',$GLOBALS['phpgw']->link('/headlines/editheadline.php',
 array('con' => $GLOBALS['phpgw']->db->f('con'))));
+               
$GLOBALS['phpgw']->template->set_var('row_delete',$GLOBALS['phpgw']->link('/headlines/deleteheadline.php',array('con'
 => $GLOBALS['phpgw']->db->f('con'))));
+               
$GLOBALS['phpgw']->template->set_var('row_view',$GLOBALS['phpgw']->link('/headlines/viewheadline.php',
 array('con' => $GLOBALS['phpgw']->db->f('con'))));
 
                $GLOBALS['phpgw']->template->parse('rows','row',True);
        }
@@ -64,7 +64,7 @@
        
$GLOBALS['phpgw']->template->set_var('add_url',$GLOBALS['phpgw']->link('/headlines/newheadline.php'));
        
$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('reload_url',$GLOBALS['phpgw']->link('/headlines/grabnewssites.php',
 array('dropall' => 'True')));
        $GLOBALS['phpgw']->template->set_var('lang_reload',lang('Reload news 
sites'));
 
        $GLOBALS['phpgw']->template->pfp('out','list');

Index: deleteheadline.php
===================================================================
RCS file: /cvsroot/phpgroupware/headlines/deleteheadline.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- deleteheadline.php  12 Aug 2002 03:37:13 -0000      1.11
+++ deleteheadline.php  24 Jan 2007 17:06:49 -0000      1.12
@@ -10,7 +10,7 @@
        *  option) any later version.                                           
   *
        
\**************************************************************************/
 
-       /* $Id: deleteheadline.php,v 1.11 2002/08/12 03:37:13 milosch Exp $ */
+       /* $Id: deleteheadline.php,v 1.12 2007/01/24 17:06:49 Caeies Exp $ */
 
        $phpgw_info = array();
        $GLOBALS['phpgw_info']['flags'] = array(
@@ -41,7 +41,7 @@
                $GLOBALS['phpgw']->template->set_var('lang_yes',lang('Yes'));
 
                
$GLOBALS['phpgw']->template->set_var('link_no',$GLOBALS['phpgw']->link('/headlines/admin.php'));
-               
$GLOBALS['phpgw']->template->set_var('link_yes',$GLOBALS['phpgw']->link('/headlines/deleteheadline.php',"con=$con&confirm=true"));
+               
$GLOBALS['phpgw']->template->set_var('link_yes',$GLOBALS['phpgw']->link('/headlines/deleteheadline.php',
 array('con' => $con, 'confirm' => 'true'));
 
                $GLOBALS['phpgw']->template->pfp('out','delete_form');
 
@@ -77,6 +77,6 @@
                }
 
                $GLOBALS['phpgw']->db->transaction_commit();
-               
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/headlines/admin.php','cd=16'));
+               
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/headlines/admin.php', 
array('cd' => '16'));
        }
 ?>




reply via email to

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