From b6dfb51993761b603134f3a39d85ebf164bccf88 Mon Sep 17 00:00:00 2001 From: steve-lad <72376554+steve-lad@users.noreply.github.com> Date: Sun, 4 Jul 2021 09:02:33 +0200 Subject: [PATCH] Conditional include of Use chan-sccp defaults/Customise button If there is no chan-sccp default, do not add the button to use chan-sccp default/customise This adds a large block of html + php enclosed within {}. Add documentation so that this is clear --- conf/sccpgeneral.xml.v433 | 8 ++++---- views/formShowSysDefs.php | 13 +++++++++++++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/conf/sccpgeneral.xml.v433 b/conf/sccpgeneral.xml.v433 index 14e8ca8..4967003 100644 --- a/conf/sccpgeneral.xml.v433 +++ b/conf/sccpgeneral.xml.v433 @@ -411,7 +411,7 @@ and open the template in the editor. Base Version before all crash :-) simulate_enbloc - on + Use simulated enbloc dialing to speedup connection when dialing while onhook (older phones) @@ -897,7 +897,7 @@ and open the template in the editor. Base Version before all crash :-) 0x4 sccp-custom - SCCP Type Of Service / Class Of Service: SCCP Type or Class of Service - this is modifiable, but don't. + SCCP Signalling Type Of Service / Class Of Service - this is modifiable, but it is not recommended to change @@ -911,7 +911,7 @@ and open the template in the editor. Base Version before all crash :-) 0x6 sccp-custom - Audio Type Of Service / Class Of Service: Audio Type or Class of Service - this is modifiable, but don't. + Audio Type Of Service / Class Of Service - this is modifiable, but it is not recommended to change @@ -925,7 +925,7 @@ and open the template in the editor. Base Version before all crash :-) 0x5 sccp-custom - Video Type Of Service / Class Of Service: Video Type or Class of Service - this is modifiable, but don't. + Video Type Of Service / Class Of Service - this is modifiable, but it is not recommended to change diff --git a/views/formShowSysDefs.php b/views/formShowSysDefs.php index 9a4c18d..9480a30 100644 --- a/views/formShowSysDefs.php +++ b/views/formShowSysDefs.php @@ -420,6 +420,13 @@ foreach ($items as $child) { + + +
+ + +