From: hickert Date: Thu, 23 Oct 2008 11:43:19 +0000 (+0000) Subject: Updated ACL template rendering, hide everything instead of gray-out X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e06970f1e756f3002c7193742cb6320d42fe4e03;p=gosa.git 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 --- 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 */