summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2022-12-06 11:40:55 +0100
committerSimon Rettberg2022-12-06 11:40:55 +0100
commit51049ea72c6102bc499832a638787305063c2420 (patch)
tree9c71b085a2b12199c7d7e03e80ec41d817d4284a /modules-available/locationinfo/page.inc.php
parent[locationinfo] Minor JS tweaks (diff)
downloadslx-admin-51049ea72c6102bc499832a638787305063c2420.tar.gz
slx-admin-51049ea72c6102bc499832a638787305063c2420.tar.xz
slx-admin-51049ea72c6102bc499832a638787305063c2420.zip
[locationinfo] Add Slider to configure browser zoom in URL panel
Closes #3915
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r--modules-available/locationinfo/page.inc.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php
index de21aae2..f563e727 100644
--- a/modules-available/locationinfo/page.inc.php
+++ b/modules-available/locationinfo/page.inc.php
@@ -356,6 +356,7 @@ class Page_LocationInfo extends Page
'interactive' => Request::post('interactive', '0', 'bool'),
'bookmarks' => $bookmarkString ? $bookmarkString : '',
'allow-tty' => Request::post('allow-tty', '', 'string'),
+ 'zoom-factor' => Request::post('zoom-factor', 100, 'int'),
);
return array('config' => $conf, 'locationids' => []);
}
@@ -1001,6 +1002,7 @@ class Page_LocationInfo extends Page
'uuid' => $id,
'panelname' => $panel['panelname'],
'url' => $config['url'],
+ 'zoom-factor' => $config['zoom-factor'],
'ssl_checked' => $config['insecure-ssl'] ? 'checked' : '',
'reloadminutes' => (int)$config['reload-minutes'],
'whitelist' => str_replace("\n", "\r\n", $config['whitelist']),