From: hickert Date: Tue, 27 May 2008 09:35:15 +0000 (+0000) Subject: Do not display create button, if not allowed. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b05e7ab0ab8a9c190375b09a453d6e3795aeafe6;p=gosa.git Do not display create button, if not allowed. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11019 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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.= "...|".