From: hickert Date: Tue, 28 Jun 2005 11:17:25 +0000 (+0000) Subject: Input fields must be disabled in case of missing ACL X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=aebaed6de4d268509d852c62ae5d7cf131c8e961;p=gosa.git Input fields must be disabled in case of missing ACL git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@897 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc index a3a489ba6..0a9601386 100644 --- a/plugins/gofon/phoneaccount/class_phoneAccount.inc +++ b/plugins/gofon/phoneaccount/class_phoneAccount.inc @@ -238,7 +238,7 @@ class phoneAccount extends plugin switch ($type){ case "combo": - $str= "acl, "goFonMacro")." ".chkacl($this->acl, "goFonMacro").">"; foreach(split(":",$default) as $choice){ if($choosen==$choice){ $str.= "\n"; @@ -252,9 +252,9 @@ class phoneAccount extends plugin case "bool": if(!$choosen){ - $str="\n"; + $str="\nacl, "goFonMacro")." >"; }else{ - $str="\n"; + $str="\nacl, "goFonMacro").">"; } $macrotab.= "$str $name"; break;