From 20ed4d332b2e8760f0f0f935a1c2369d41da2e35 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 24 Jan 2024 12:00:46 +0100 Subject: [PATCH] add link in menu to manage link types --- views/bootstrap/class.Bootstrap.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index d4e61f8bd..c6c181070 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1009,12 +1009,14 @@ background-image: linear-gradient(to bottom, #882222, #111111);; $menuitems['user_group_management']['children']['access_control'] = array('link'=>$this->params['settings']->_httpRoot."out/out.Acl.php", 'label'=>getMLText('access_control')); } - if($accessobject->check_view_access(array('DefaultKeywords', 'Categories', 'AttributeMgr', 'AttributeGroupMgr', 'WorkflowMgr', 'WorkflowStatesMgr', 'WorkflowActionsMgr'))) { + if($accessobject->check_view_access(array('DefaultKeywords', 'Categories', 'LinkTypes', 'AttributeMgr', 'AttributeGroupMgr', 'WorkflowMgr', 'WorkflowStatesMgr', 'WorkflowActionsMgr'))) { $menuitems['definitions'] = array('link'=>"#", 'label'=>getMLText('definitions')); if ($accessobject->check_view_access('DefaultKeywords')) $menuitems['definitions']['children']['default_keywords'] = array('link'=>$this->params['settings']->_httpRoot."out/out.DefaultKeywords.php", 'label'=>getMLText('global_default_keywords')); if ($accessobject->check_view_access('Categories')) $menuitems['definitions']['children']['document_categories'] = array('link'=>$this->params['settings']->_httpRoot."out/out.Categories.php", 'label'=>getMLText('global_document_categories')); + if ($accessobject->check_view_access('LinkTypes')) + $menuitems['definitions']['children']['document_linktypes'] = array('link'=>$this->params['settings']->_httpRoot."out/out.LinkTypes.php", 'label'=>getMLText('global_link_types')); if ($accessobject->check_view_access('AttributeMgr')) $menuitems['definitions']['children']['attribute_definitions'] = array('link'=>$this->params['settings']->_httpRoot."out/out.AttributeMgr.php", 'label'=>getMLText('global_attributedefinitions')); if ($accessobject->check_view_access('AttributeGroupMgr'))