phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] admin/inc hook_admin.inc.php


From: Dave Hall
Subject: [Phpgroupware-cvs] admin/inc hook_admin.inc.php
Date: Mon, 20 Feb 2006 13:31:00 +0000

CVSROOT:        /cvsroot/phpgroupware
Module name:    admin
Branch:         
Changes by:     Dave Hall <address@hidden>      06/02/20 13:31:00

Modified files:
        inc            : hook_admin.inc.php 

Log message:
        clean up links and remove broken peer servers link

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgroupware/admin/inc/hook_admin.inc.php.diff?tr1=1.37&tr2=1.38&r1=text&r2=text

Patches:
Index: admin/inc/hook_admin.inc.php
diff -u admin/inc/hook_admin.inc.php:1.37 admin/inc/hook_admin.inc.php:1.38
--- admin/inc/hook_admin.inc.php:1.37   Tue Feb 14 08:48:21 2006
+++ admin/inc/hook_admin.inc.php        Mon Feb 20 13:31:00 2006
@@ -8,71 +8,74 @@
        *  Free Software Foundation; either version 2 of the License, or (at 
your  *
        *  option) any later version.                                           
   *
        
\**************************************************************************/
-       /* $Id: hook_admin.inc.php,v 1.37 2006/02/14 08:48:21 skwashd Exp $ */
+       /* $Id: hook_admin.inc.php,v 1.38 2006/02/20 13:31:00 skwashd Exp $ */
 
        if (! $GLOBALS['phpgw']->acl->check('site_config_access',1,'admin'))
        {
-               $file['Site Configuration'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiconfig.index&appname=admin');
+               $file['Site Configuration'] = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiconfig.index', 'appname' => 'admin') );
        }
 
+       /*
        if (! $GLOBALS['phpgw']->acl->check('peer_server_access',1,'admin'))
        {
-               $file['Peer Servers'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiserver.list_servers');
+               $file['Peer Servers'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.uiserver.list_servers') );
        }
+       */
 
        if (! $GLOBALS['phpgw']->acl->check('account_access',1,'admin'))
        {
-               $file['addressmasters'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaclmanager.list_addressmasters&account_id='
 . $GLOBALS['phpgw_info']['user']['account_id']);
+               $file['addressmasters'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.uiaclmanager.list_addressmasters',
+                                                                               
        'account_id' => $GLOBALS['phpgw_info']['user']['account_id']) );
        }
 
        if (! $GLOBALS['phpgw']->acl->check('account_access',1,'admin'))
        {
-               $file['User Accounts'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.list_users');
+               $file['User Accounts'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.uiaccounts.list_users') );
        }
 
        if (! $GLOBALS['phpgw']->acl->check('group_access',1,'admin'))
        {
-               $file['User Groups'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.list_groups');
+               $file['User Groups'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.uiaccounts.list_groups') );
        }
 
        if (! $GLOBALS['phpgw']->acl->check('applications_access',1,'admin'))
        {
-               $file['Applications'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiapplications.get_list');
+               $file['Applications'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.uiapplications.get_list') );
        }
 
        if (! 
$GLOBALS['phpgw']->acl->check('global_categories_access',1,'admin'))
        {
-               $file['Global Categories'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicategories.index');
+               $file['Global Categories'] = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uicategories.index') );
        }
 
        if 
(!$GLOBALS['phpgw']->acl->check('mainscreen_message_access',1,'admin') || 
!$GLOBALS['phpgw']->acl->check('mainscreen_message_access',2,'admin'))
        {
-               $file['Change Main Screen Message'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uimainscreen.index');
+               $file['Change Main Screen Message'] = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uimainscreen.index') );
        }
 
        if (! 
$GLOBALS['phpgw']->acl->check('current_sessions_access',1,'admin'))
        {
-               $file['View Sessions'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uicurrentsessions.list_sessions');
+               $file['View Sessions'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.uicurrentsessions.list_sessions') );
        }
 
        if (! $GLOBALS['phpgw']->acl->check('access_log_access',1,'admin'))
        {
-               $file['View Access Log'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccess_history.list_history');
+               $file['View Access Log'] = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiaccess_history.list_history') );
        }
 
        if (! $GLOBALS['phpgw']->acl->check('error_log_access',1,'admin'))
        {
-               $file['View Error Log'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uilog.list_log');
+               $file['View Error Log'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.uilog.list_log') );
        }
 
        if (! $GLOBALS['phpgw']->acl->check('applications_access',16,'admin'))
        {
-               $file['Find and Register all Application Hooks'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiapplications.register_all_hooks');
+               $file['Find and Register all Application Hooks'] = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiapplications.register_all_hooks') );
        }
 
        if (! $GLOBALS['phpgw']->acl->check('asyncservice_access',1,'admin'))
        {
-               $file['Asynchronous timed services'] = 
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiasyncservice.index');
+               $file['Asynchronous timed services'] = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiasyncservice.index') );
        }
 
        if (! $GLOBALS['phpgw']->acl->check('info_access',1,'admin'))




reply via email to

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