Put full config available to javascript
This commit is contained in:
parent
4eb4e0eb18
commit
45db266ede
|
@ -105,3 +105,10 @@ stateStrings[STATE_PREALARM] = "<?php echo translate('Prealarm') ?>";
|
|||
stateStrings[STATE_ALARM] = "<?php echo translate('Alarm') ?>";
|
||||
stateStrings[STATE_ALERT] = "<?php echo translate('Alert') ?>";
|
||||
stateStrings[STATE_TAPE] = "<?php echo translate('Record') ?>";
|
||||
|
||||
<?php
|
||||
global $config;
|
||||
foreach ($config as $name=>$c) {
|
||||
echo $name . ' = \''.$c['Value'].'\''.PHP_EOL;
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue