[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] admin/inc/hook_admin.inc.php, 1.35
From: |
nomail |
Subject: |
[Phpgroupware-cvs] admin/inc/hook_admin.inc.php, 1.35 |
Date: |
Thu, 30 Dec 2004 08:38:14 +0100 |
Update of /admin/inc
Modified Files:
Branch:
hook_admin.inc.php
date: 2004/12/30 07:38:14; author: skwashd; state: Exp; lines: +22 -12
Log Message:
new HEAD admin - sans GIFs
=====================================================================
Index: admin/inc/hook_admin.inc.php
diff -u admin/inc/hook_admin.inc.php:1.34 admin/inc/hook_admin.inc.php:1.35
--- admin/inc/hook_admin.inc.php:1.34 Thu Nov 6 17:21:34 2003
+++ admin/inc/hook_admin.inc.php Thu Dec 30 07:38:14 2004
@@ -8,16 +8,17 @@
* Free Software Foundation; either version 2 of the License, or (at
your *
* option) any later version.
*
\**************************************************************************/
+
/* $Id$ */
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','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','menuaction=admin.uiserver.list_servers');
}
if (! $GLOBALS['phpgw']->acl->check('account_access',1,'admin'))
@@ -27,22 +28,27 @@
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','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','menuaction=admin.uiaccounts.list_groups');
+ }
+
+ if (! $GLOBALS['phpgw']->acl->check('sync_account_contact',1,'admin'))
+ {
+ $file['Sync Account-Contact'] =
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiaccounts.sync_accounts_contacts');
}
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','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','menuaction=admin.uicategories.index');
}
if
(!$GLOBALS['phpgw']->acl->check('mainscreen_message_access',1,'admin') ||
!$GLOBALS['phpgw']->acl->check('mainscreen_message_access',2,'admin'))
@@ -54,7 +60,7 @@
{
$file['View Sessions'] =
$GLOBALS['phpgw']->link('/index.php','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');
@@ -62,7 +68,12 @@
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','menuaction=admin.uilog.list_log');
+ }
+
+ if (! $GLOBALS['phpgw']->acl->check('error_log_access',1,'admin'))
+ {
+ $file['Edit Log Levels'] =
$GLOBALS['phpgw']->link('/index.php','menuaction=admin.uiloglevels.edit_log_levels');
}
if (! $GLOBALS['phpgw']->acl->check('applications_access',16,'admin'))
@@ -77,10 +88,9 @@
if (! $GLOBALS['phpgw']->acl->check('info_access',1,'admin'))
{
- $file['phpInfo'] = "javascript:openwindow('" .
$GLOBALS['phpgw']->link('/admin/phpinfo.php') . "','700','600')";
+ $file['phpInfo'] = "javascript:openwindow('" .
$GLOBALS['phpgw']->link('/admin/phpinfo.php') . "')";
//$GLOBALS['phpgw']->link('/admin/phpinfo.php');
}
/* Do not modify below this line */
-
- $GLOBALS['phpgw']->common->display_mainscreen('admin',$file);
+ display_section('admin',$file);
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] admin/inc/hook_admin.inc.php, 1.35,
nomail <=