From b05e7ab0ab8a9c190375b09a453d6e3795aeafe6 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 27 May 2008 09:35:15 +0000 Subject: [PATCH] Do not display create button, if not allowed. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11019 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/admin/users/class_divListUsers.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/plugins/admin/users/class_divListUsers.inc b/gosa-core/plugins/admin/users/class_divListUsers.inc index 5414d4254..ea408b79e 100644 --- a/gosa-core/plugins/admin/users/class_divListUsers.inc +++ b/gosa-core/plugins/admin/users/class_divListUsers.inc @@ -165,11 +165,11 @@ class divListUsers extends MultiSelectWindow /* Create Layers menu */ $s = ".|"._("Actions")."|\n"; - $s .= "..|". - " "._("Create")."|\n"; /* Append create options */ if(preg_match("/c/",$acl)) { + $s .= "..|". + " "._("Create")."|\n"; $s.= "...|". " "._("User")."|user_new|\n"; $s.= "...|". -- 2.30.2