[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] sitemgr inc/class.Categories_UI.inc.php inc/cla...
From: |
Caeies |
Subject: |
[Phpgroupware-cvs] sitemgr inc/class.Categories_UI.inc.php inc/cla... |
Date: |
Wed, 24 Jan 2007 16:25:33 +0000 |
CVSROOT: /cvsroot/phpgroupware
Module name: sitemgr
Changes by: Caeies <Caeies> 07/01/24 16:25:33
Modified files:
inc : class.Categories_UI.inc.php
class.Content_UI.inc.php
class.Modules_UI.inc.php
class.Outline_UI.inc.php class.Pages_UI.inc.php
sitemgr-link : index.php
Log message:
some call to link() fixed
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/sitemgr/inc/class.Categories_UI.inc.php?cvsroot=phpgroupware&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/sitemgr/inc/class.Content_UI.inc.php?cvsroot=phpgroupware&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/sitemgr/inc/class.Modules_UI.inc.php?cvsroot=phpgroupware&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/sitemgr/inc/class.Outline_UI.inc.php?cvsroot=phpgroupware&r1=1.5&r2=1.6
http://cvs.savannah.gnu.org/viewcvs/sitemgr/inc/class.Pages_UI.inc.php?cvsroot=phpgroupware&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/sitemgr/sitemgr-link/index.php?cvsroot=phpgroupware&r1=1.9&r2=1.10
Patches:
Index: inc/class.Categories_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Categories_UI.inc.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- inc/class.Categories_UI.inc.php 31 May 2003 03:53:51 -0000 1.10
+++ inc/class.Categories_UI.inc.php 24 Jan 2007 16:25:33 -0000 1.11
@@ -39,7 +39,7 @@
{
if (!$this->isadmin)
{
-
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Outline_UI.manage'));
+
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'sitemgr.Outline_UI.manage')));
return False;
}
Index: inc/class.Content_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Content_UI.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- inc/class.Content_UI.inc.php 20 Jul 2004 23:22:53 -0000 1.12
+++ inc/class.Content_UI.inc.php 24 Jan 2007 16:25:33 -0000 1.13
@@ -88,7 +88,7 @@
$page =
$GLOBALS['Common_BO']->pages->getPage($page_id);
if
(!$GLOBALS['Common_BO']->acl->can_write_category($page->cat_id))
{
-
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Outline_UI.manage'));
+
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'sitemgr.Outline_UI.manage')));
return;
}
$page_or_cat_name = $page->name;
@@ -101,7 +101,7 @@
$cat =
$GLOBALS['Common_BO']->cats->getCategory($cat_id);
if
(!$GLOBALS['Common_BO']->acl->can_write_category($cat_id))
{
-
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Outline_UI.manage'));
+
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'sitemgr.Outline_UI.manage')));
return;
}
$page_or_cat_name = $cat->name;
Index: inc/class.Modules_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Modules_UI.inc.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- inc/class.Modules_UI.inc.php 3 Jun 2003 02:44:44 -0000 1.7
+++ inc/class.Modules_UI.inc.php 24 Jan 2007 16:25:33 -0000 1.8
@@ -41,7 +41,8 @@
{
$cat =
$this->catbo->getCategory($cat_id);
$cat_name = $cat->name;
- $managelink =
$GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Categories_UI.manage');
+//XXX Modified automatically
+ $managelink =
$GLOBALS['phpgw']->link('/index.php', array('menuaction' =>
'sitemgr.Categories_UI.manage'));
$goto = lang('Category
manager');
$scopename = lang('Category');
}
Index: inc/class.Outline_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Outline_UI.inc.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- inc/class.Outline_UI.inc.php 15 May 2005 02:16:27 -0000 1.5
+++ inc/class.Outline_UI.inc.php 24 Jan 2007 16:25:33 -0000 1.6
@@ -7,7 +7,7 @@
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\*************************************************************************/
- /* $Id: class.Outline_UI.inc.php,v 1.5 2005/05/15 02:16:27 skwashd Exp
$ */
+ /* $Id: class.Outline_UI.inc.php,v 1.6 2007/01/24 16:25:33 Caeies Exp $
*/
class Outline_UI
{
@@ -46,7 +46,7 @@
if ($this->isadmin)
{
$this->t->set_var('addcategory','<a
target="editwindow" href="' .
-
$GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Categories_UI.edit').
+ $GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'sitemgr.Categories_UI.edit')).
'">' . lang('Add a category') .'</a>'
);
}
Index: inc/class.Pages_UI.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/inc/class.Pages_UI.inc.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- inc/class.Pages_UI.inc.php 15 May 2005 02:16:27 -0000 1.9
+++ inc/class.Pages_UI.inc.php 24 Jan 2007 16:25:33 -0000 1.10
@@ -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.9 2005/05/15 02:16:27 skwashd Exp $
*/
+ /* $Id: class.Pages_UI.inc.php,v 1.10 2007/01/24 16:25:33 Caeies Exp $
*/
class Pages_UI
{
@@ -71,7 +71,7 @@
if(!$page_id)
{
// echo lang("You don't
have permission to write in the category");
-
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Outline_UI.manage'));
+
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'sitemgr.Outline_UI.manage')));
return;
}
}
@@ -101,7 +101,7 @@
$page =
$this->pagebo->getPage($page_id,$this->sitelanguages[0]);
if
(!$GLOBALS['Common_BO']->acl->can_write_category($page->cat_id))
{
-
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php','menuaction=sitemgr.Outline_UI.manage'));
+
$GLOBALS['phpgw']->redirect($GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'sitemgr.Outline_UI.manage')));
return;
}
$this->t->set_var(array(
Index: sitemgr-link/index.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/sitemgr-link/index.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- sitemgr-link/index.php 20 Jul 2004 23:22:54 -0000 1.9
+++ sitemgr-link/index.php 24 Jan 2007 16:25:33 -0000 1.10
@@ -59,7 +59,7 @@
{
echo lang('Before the public web site can be
viewed, you must configure the various locations and preferences. Please go to
the sitemgr setup page by following this link:') .
'<a href="' .
- $GLOBALS['phpgw']->link('/index.php',
'menuaction=sitemgr.Common_UI.DisplayPrefs') .
+ $GLOBALS['phpgw']->link('/index.php',
array('menuaction' => 'sitemgr.Common_UI.DisplayPrefs')) .
'">' .
lang('sitemgr setup page') .
'</a>. ' .
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] sitemgr inc/class.Categories_UI.inc.php inc/cla...,
Caeies <=