summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/inc/locationinfo.inc.php
diff options
context:
space:
mode:
authorChristian Hofmaier2018-12-03 19:03:24 +0100
committerChristian Hofmaier2018-12-03 19:03:24 +0100
commitf57731abf206bf3030a7a95a9019aa398c3dea2e (patch)
tree5d7df13c1028fae8a659f8e39c91b9e1e66e03c0 /modules-available/locationinfo/inc/locationinfo.inc.php
parent[dozmod] networkshares: Use {{password_type}} for password field (diff)
downloadslx-admin-f57731abf206bf3030a7a95a9019aa398c3dea2e.tar.gz
slx-admin-f57731abf206bf3030a7a95a9019aa398c3dea2e.tar.xz
slx-admin-f57731abf206bf3030a7a95a9019aa398c3dea2e.zip
[locationinfo] add new settings for panels (counter, updaterate)
- setting: consider only clients in roomplaner, instead of ip range - add option to set update rate in summary panels - directly initialize when mode is "only calendar" - Set counter to "-" if room has ongoing event - fix some spelling / unused code
Diffstat (limited to 'modules-available/locationinfo/inc/locationinfo.inc.php')
-rw-r--r--modules-available/locationinfo/inc/locationinfo.inc.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules-available/locationinfo/inc/locationinfo.inc.php b/modules-available/locationinfo/inc/locationinfo.inc.php
index c51be666..88f96d29 100644
--- a/modules-available/locationinfo/inc/locationinfo.inc.php
+++ b/modules-available/locationinfo/inc/locationinfo.inc.php
@@ -80,6 +80,7 @@ class LocationInfo
'vertical' => false,
'eco' => false,
'prettytime' => true,
+ 'roomplaner' => true,
'scaledaysauto' => true,
'daystoshow' => 7,
'rotation' => 0,
@@ -93,9 +94,9 @@ class LocationInfo
if ($type === 'SUMMARY') {
return array(
'language' => defined('LANG') ? LANG : 'en',
- 'calupdate' => 30,
- 'roomupdate' => 15,
- 'configupdate' => 180,
+ 'roomplaner' => true,
+ 'eco' => false,
+ 'panelupdate' => 60,
);
}
return array();