From 6c61bca4a3d4b97f565a5289076d5b693018c88b Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 17 Aug 2005 07:27:32 +0000 Subject: [PATCH] disable formatbox, if record is unchecked git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1162 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/gofon/conference/class_phoneConferenceGeneric.inc | 3 +++ plugins/gofon/conference/generic.tpl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/gofon/conference/class_phoneConferenceGeneric.inc b/plugins/gofon/conference/class_phoneConferenceGeneric.inc index 25e158d5b..5fd4c0f5d 100644 --- a/plugins/gofon/conference/class_phoneConferenceGeneric.inc +++ b/plugins/gofon/conference/class_phoneConferenceGeneric.inc @@ -126,6 +126,9 @@ class conference extends plugin $smarty->assign("goFonPINACL"," disabled "); $smarty->assign("goFonPIN",""); } + if($this->goFonConferenceOption_r != "r"){ + $smarty->assign("goFonConferenceOptionFormatACL"," disabled "); + } return($smarty->fetch (get_template_path('generic.tpl', TRUE))); } diff --git a/plugins/gofon/conference/generic.tpl b/plugins/gofon/conference/generic.tpl index 47d044978..f467ed2b3 100644 --- a/plugins/gofon/conference/generic.tpl +++ b/plugins/gofon/conference/generic.tpl @@ -107,7 +107,7 @@ - + {t}Record Conference{/t} @@ -116,7 +116,7 @@   {t}Format{/t} - {html_options options=$goFonConferenceOptionFormats selected=$goFonConferenceOptionFormat} -- 2.30.2