summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2024-11-13 10:58:42 +0100
committerSimon Rettberg2024-11-13 10:58:42 +0100
commita8e1e47070f69d2780d35c82dbe54a8866c14be3 (patch)
treeea96219a24d7fd3a378565b9a1f9c64c80b9248b /modules-available/locationinfo/page.inc.php
parent[serversetup-bwlp-ipxe] Fix display of referencing menu list (diff)
downloadslx-admin-a8e1e47070f69d2780d35c82dbe54a8866c14be3.tar.gz
slx-admin-a8e1e47070f69d2780d35c82dbe54a8866c14be3.tar.xz
slx-admin-a8e1e47070f69d2780d35c82dbe54a8866c14be3.zip
[locationinfo] Add support for Firefox
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r--modules-available/locationinfo/page.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php
index 63a02ba2..7e19bfbc 100644
--- a/modules-available/locationinfo/page.inc.php
+++ b/modules-available/locationinfo/page.inc.php
@@ -354,8 +354,9 @@ class Page_LocationInfo extends Page
'whitelist' => preg_replace("/[\r\n]+/m", "\n", Request::post('whitelist', '', 'string')),
'blacklist' => preg_replace("/[\r\n]+/m", "\n", Request::post('blacklist', '', 'string')),
'split-login' => Request::post('split-login', 0, 'bool'),
- 'browser' => Request::post('browser', 'slx-browser', 'string'),
+ 'browser' => Request::post('browser', 'firefox', 'string'),
'interactive' => Request::post('interactive', '0', 'bool'),
+ 'hw-video' => Request::post('hw-video', '0', 'bool'),
'bookmarks' => $bookmarkString ?: '',
'allow-tty' => Request::post('allow-tty', '', 'string'),
'zoom-factor' => Request::post('zoom-factor', 100, 'int'),
@@ -1019,6 +1020,7 @@ class Page_LocationInfo extends Page
'split-login_checked' => $config['split-login'] ? 'checked' : '',
'browser' => $config['browser'],
'interactive_checked' => $config['interactive'] ? 'checked' : '',
+ 'hwvideo_checked' => $config['hw-video'] ? 'checked' : '',
'bookmarks' => $bookmarksArray,
'allow-tty_' . $config['allow-tty'] . '_checked' => 'checked',
));