summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/page.inc.php
diff options
context:
space:
mode:
authorUdo Walter2019-07-16 16:06:41 +0200
committerUdo Walter2019-07-16 16:06:41 +0200
commit41ff429b1f39f107565365c206cfd6e11c875462 (patch)
tree567961d62970e3079ef7ce837a7215fc11b45a46 /modules-available/locationinfo/page.inc.php
parent[inc/Render] Remove legacy functions (diff)
downloadslx-admin-41ff429b1f39f107565365c206cfd6e11c875462.tar.gz
slx-admin-41ff429b1f39f107565365c206cfd6e11c875462.tar.xz
slx-admin-41ff429b1f39f107565365c206cfd6e11c875462.zip
[locationinfo] Add ability to select the start day of the calendar
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r--modules-available/locationinfo/page.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php
index 5292c40e..5ba555df 100644
--- a/modules-available/locationinfo/page.inc.php
+++ b/modules-available/locationinfo/page.inc.php
@@ -372,6 +372,7 @@ class Page_LocationInfo extends Page
'eco' => Request::post('eco', false, 'bool'),
'prettytime' => Request::post('prettytime', false, 'bool'),
'roomplanner' => Request::post('roomplanner', false, 'bool'),
+ 'startday' => Request::post('startday', 0, 'int'),
'scaledaysauto' => Request::post('scaledaysauto', false, 'bool'),
'daystoshow' => Request::post('daystoshow', 7, 'int'),
'rotation' => Request::post('rotation', 0, 'int'),
@@ -395,6 +396,7 @@ class Page_LocationInfo extends Page
'mode' => Request::post('override'.$locationids[$i].'mode', 1, 'int'),
'roomplanner' => Request::post('override'.$locationids[$i].'roomplanner', false, 'bool'),
'vertical' => Request::post('override'.$locationids[$i].'vertical', false, 'bool'),
+ 'startday' => Request::post('override'.$locationids[$i].'startday', 0, 'int'),
'scaledaysauto' => Request::post('override'.$locationids[$i].'scaledaysauto', false, 'bool'),
'daystoshow' => Request::post('override'.$locationids[$i].'daystoshow', 7, 'int'),
'rotation' => Request::post('override'.$locationids[$i].'rotation', 0, 'int'),
@@ -995,6 +997,7 @@ class Page_LocationInfo extends Page
'eco_checked' => $config['eco'] ? 'checked' : '',
'prettytime_checked' => $config['prettytime'] ? 'checked' : '',
'roomplanner' => $config['roomplanner'],
+ 'startday' => $config['startday'],
'scaledaysauto_checked' => $config['scaledaysauto'] ? 'checked' : '',
'daystoshow' => $config['daystoshow'],
'rotation' => $config['rotation'],