From aebaed6de4d268509d852c62ae5d7cf131c8e961 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 28 Jun 2005 11:17:25 +0000 Subject: [PATCH] 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 --- plugins/gofon/phoneaccount/class_phoneAccount.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.30.2