From 70e972b786702bf3e4cda9e4ff3f832c349201bf Mon Sep 17 00:00:00 2001 From: stevenA Date: Tue, 1 Feb 2022 15:00:18 +0100 Subject: [PATCH] Supply buttons for days not active selection WIP --- conf/sccpgeneral.xml.v433 | 19 ++++++++++--------- sccpManClasses/formcreate.class.php | 3 ++- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/conf/sccpgeneral.xml.v433 b/conf/sccpgeneral.xml.v433 index 16e2332..d575b2e 100644 --- a/conf/sccpgeneral.xml.v433 +++ b/conf/sccpgeneral.xml.v433 @@ -570,14 +570,17 @@ and open the template in the editor. Base Version before all crash :-) - + - - daysdisplaynotactive - - sccp-custom - - + daysdisplaynotactive + off + + + + + + + Comma separated list of days that the phone's display is not active and will be automatically turned off after the time specified by "displayIdleTimeout" has elapsed (1 - Sunday, 7 - Saturday) @@ -634,7 +637,6 @@ and open the template in the editor. Base Version before all crash :-) - videocapability @@ -643,7 +645,6 @@ and open the template in the editor. Base Version before all crash :-) - webadmin diff --git a/sccpManClasses/formcreate.class.php b/sccpManClasses/formcreate.class.php index eda3dc5..6c167b1 100644 --- a/sccpManClasses/formcreate.class.php +++ b/sccpManClasses/formcreate.class.php @@ -463,7 +463,8 @@ class formcreate } else {$val_check = "";} } else {$val_check = "";} } - echo ""; + $tmpName = ($res_id == 'sccpdevice_daysdisplaynotactive') ? "${res_id}_{$i}" : $res_id; + echo ""; echo ""; $i++; }