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: Tue, 19 Dec 2006 13:59:48 +0000

CVSROOT:        /sources/phpgroupware
Module name:    admin
Changes by:     Dave Hall <skwashd>     06/12/19 13:59:48

Modified files:
        inc            : hook_admin.inc.php 

Log message:
        re-add error log levels editor

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/admin/inc/hook_admin.inc.php?cvsroot=phpgroupware&r1=1.43&r2=1.44

Patches:
Index: hook_admin.inc.php
===================================================================
RCS file: /sources/phpgroupware/admin/inc/hook_admin.inc.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -b -r1.43 -r1.44
--- hook_admin.inc.php  19 Nov 2006 12:34:12 -0000      1.43
+++ hook_admin.inc.php  19 Dec 2006 13:59:48 -0000      1.44
@@ -8,7 +8,7 @@
        *  Free Software Foundation; either version 2 of the License, or (at 
your  *
        *  option) any later version.                                           
   *
        
\**************************************************************************/
-       /* $Id: hook_admin.inc.php,v 1.43 2006/11/19 12:34:12 sigurdne Exp $ */
+       /* $Id: hook_admin.inc.php,v 1.44 2006/12/19 13:59:48 skwashd Exp $ */
 
        if (! $GLOBALS['phpgw']->acl->check('site_config_access',1,'admin'))
        {
@@ -73,6 +73,11 @@
                $file['View Error Log'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.uilog.list_log') );
        }
 
+       if (! $GLOBALS['phpgw']->acl->check('error_log_access',1,'admin'))
+       {
+               $file['Edit Log Levels']  = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiloglevels.edit_log_levels') );
+       }
+
        if (! $GLOBALS['phpgw']->acl->check('applications_access',16,'admin'))
        {
                $file['Find and Register all Application Hooks'] = 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'admin.uiapplications.register_all_hooks') );




reply via email to

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