CVSROOT: /cvsroot/phpgroupware
Module name: sitemgr
Branch: skwashd-16-compat
Changes by: Dave Hall <skwashd> 06/08/14 06:44:56
Modified files:
inc : class.Categories_UI.inc.php
class.Pages_UI.inc.php
Log message:
fix delete redirections
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/sitemgr/inc/class.Categories_UI.inc.php?cvsroot=phpgroupware&only_with_tag=skwashd-16-compat&r1=1.1.2.1.4.2&r2=1.1.2.1.4.3
http://cvs.savannah.gnu.org/viewcvs/sitemgr/inc/class.Pages_UI.inc.php?cvsroot=phpgroupware&only_with_tag=skwashd-16-compat&r1=1.1.2.1&r2=1.1.2.1.4.1
Patches:
Index: class.Categories_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Categories_UI.inc.php,v
retrieving revision 1.1.2.1.4.2
retrieving revision 1.1.2.1.4.3
diff -u -b -r1.1.2.1.4.2 -r1.1.2.1.4.3
--- class.Categories_UI.inc.php 27 Mar 2006 13:13:24 -0000 1.1.2.1.4.2
+++ class.Categories_UI.inc.php 14 Aug 2006 06:44:55 -0000 1.1.2.1.4.3
@@ -39,7 +39,7 @@
{
if (!$this->isadmin)
{
-
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Outline_UI.manage'));
+ $GLOBALS['phpgw']->redirect_link('/index.php',
array('menuaction' => 'sitemgr.Outline_UI.manage') );
return;
}
@@ -50,12 +50,12 @@
if ($btnDelete)
{
$this->cat_bo->removeCategory($cat_id);
-
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Outline_UI.manage'));
+ $GLOBALS['phpgw']->redirect_link('/index.php',
array('menuaction' => 'sitemgr.Outline_UI.manage') );
return;
}
if ($btnCancel)
{
-
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Outline_UI.manage'));
+ $GLOBALS['phpgw']->redirect_link('/index.php',
array('menuaction=sitemgr.Outline_UI.manage') );
return;
}
Index: class.Pages_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Pages_UI.inc.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.1.4.1
diff -u -b -r1.1.2.1 -r1.1.2.1.4.1
--- class.Pages_UI.inc.php 23 Jun 2003 20:31:21 -0000 1.1.2.1
+++ class.Pages_UI.inc.php 14 Aug 2006 06:44:55 -0000 1.1.2.1.4.1
@@ -7,7 +7,7 @@
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\*************************************************************************/
- /* $Id: class.Pages_UI.inc.php,v 1.1.2.1 2003/06/23 20:31:21 totschnig
Exp $ */
+ /* $Id: class.Pages_UI.inc.php,v 1.1.2.1.4.1 2006/08/14 06:44:55
skwashd Exp $ */
class Pages_UI
{
@@ -37,7 +37,7 @@
{
$page_id = $_GET['page_id'];
$this->pagebo->removePage($page_id);
-
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Outline_UI.manage'));
+ $GLOBALS['phpgw']->redirect_link('/index.php',
array('menuaction' => 'sitemgr.Outline_UI.manage') );
return;
}
_______________________________________________
Phpgroupware-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs