fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [10117] added admin link for bim type requirements


From: Erik Holm-Larsen
Subject: [Fmsystem-commits] [10117] added admin link for bim type requirements
Date: Fri, 05 Oct 2012 06:41:27 +0000

Revision: 10117
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=10117
Author:   erikhl
Date:     2012-10-05 06:41:26 +0000 (Fri, 05 Oct 2012)
Log Message:
-----------
added admin link for bim type requirements

Modified Paths:
--------------
    trunk/logistic/inc/class.menu.inc.php

Modified: trunk/logistic/inc/class.menu.inc.php
===================================================================
--- trunk/logistic/inc/class.menu.inc.php       2012-10-05 06:40:50 UTC (rev 
10116)
+++ trunk/logistic/inc/class.menu.inc.php       2012-10-05 06:41:26 UTC (rev 
10117)
@@ -74,11 +74,11 @@
                                                                                
'image' => array('property', 'location_tenant'),
                                                                ),
                                                )
-                               )     
+                               )
                        );
-                       
+
                        if ( $GLOBALS['phpgw']->acl->check('run', 
phpgwapi_acl::READ, 'admin')
-                               || $GLOBALS['phpgw']->acl->check('admin', 
phpgwapi_acl::ADD, 'controller'))
+                               || $GLOBALS['phpgw']->acl->check('admin', 
phpgwapi_acl::ADD, 'logistic'))
                        {
                                $menus['admin'] = array
                                (
@@ -97,6 +97,10 @@
                                                'text'  => lang('Project 
types'),
                                                'url'   => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'logistic.uiproject.project_types') )
                                        ),
+                                       'bim_type_requirement' => array(
+                                               'text' => lang('Bim type 
requirement'),
+                                               'url' => 
$GLOBALS['phpgw']->link('/index.php', array('menuaction' => 
'logistic.uibim_type_requirement.index') )
+                                       )
 /*                                     'control_cats'  => array
                                        (
                                                'text'  => lang('Control area'),
@@ -115,7 +119,7 @@
                                        )*/
                                );
                        }
-                       
+
                        $menus['folders'] = 
phpgwapi_menu::get_categories('bergen');
 
                        $GLOBALS['phpgw_info']['flags']['currentapp'] = 
$incoming_app;




reply via email to

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