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: Sigurd Nes
Subject: [Phpgroupware-cvs] admin/inc hook_admin.inc.php
Date: Sun, 26 Mar 2006 19:58:40 +0000

CVSROOT:        /sources/phpgroupware
Module name:    admin
Branch:         
Changes by:     Sigurd Nes <address@hidden>     06/03/26 19:58:40

Modified files:
        inc            : hook_admin.inc.php 

Log message:
        no message

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

Patches:
Index: admin/inc/hook_admin.inc.php
diff -u admin/inc/hook_admin.inc.php:1.39 admin/inc/hook_admin.inc.php:1.40
--- admin/inc/hook_admin.inc.php:1.39   Sun Mar 12 11:19:48 2006
+++ admin/inc/hook_admin.inc.php        Sun Mar 26 19:58:40 2006
@@ -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.39 2006/03/12 11:19:48 skwashd Exp $ */
+       /* $Id: hook_admin.inc.php,v 1.40 2006/03/26 19:58:40 sigurdne Exp $ */
 
        if (! $GLOBALS['phpgw']->acl->check('site_config_access',1,'admin'))
        {
@@ -53,6 +53,11 @@
                $file['custom fields'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.ui_custom_fields.index', 'appname' => 'admin') );
        }
 
+       if (! $GLOBALS['phpgw']->acl->check('custom_fields_access',1,'admin'))
+       {
+               $file['custom fields2'] = $GLOBALS['phpgw']->link('/index.php', 
array('menuaction' => 'admin.ui_custom_fields2.list_attribute', 'appname' => 
'tts') );
+       }
+
        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', array('menuaction' => 
'admin.uimainscreen.index') );




reply via email to

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