From 45db266ede1036b79823298cc7bd6239954e885d Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 22 Jan 2022 12:07:12 -0500 Subject: [PATCH] Put full config available to javascript --- web/skins/classic/js/skin.js.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/web/skins/classic/js/skin.js.php b/web/skins/classic/js/skin.js.php index 2b7980c3a..6cde755b6 100644 --- a/web/skins/classic/js/skin.js.php +++ b/web/skins/classic/js/skin.js.php @@ -105,3 +105,10 @@ stateStrings[STATE_PREALARM] = ""; stateStrings[STATE_ALARM] = ""; stateStrings[STATE_ALERT] = ""; stateStrings[STATE_TAPE] = ""; + +$c) { + echo $name . ' = \''.$c['Value'].'\''.PHP_EOL; +} +?>