From e06970f1e756f3002c7193742cb6320d42fe4e03 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 23 Oct 2008 11:43:19 +0000 Subject: [PATCH] Updated ACL template rendering, hide everything instead of gray-out git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12770 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_acl.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gosa-core/include/class_acl.inc b/gosa-core/include/class_acl.inc index fb58fffcc..4d4a36f80 100644 --- a/gosa-core/include/class_acl.inc +++ b/gosa-core/include/class_acl.inc @@ -437,6 +437,10 @@ class acl extends plugin /* Create templating instance */ $smarty= get_smarty(); + $smarty->assign("acl_readable",$this->acl_is_readable("")); + if(!$this->acl_is_readable("")){ + return ($smarty->fetch (get_template_path('acl.tpl'))); + } if ($this->dialogState == 'head'){ /* Draw list */ -- 2.30.2