summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-23 14:54:40 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-23 14:55:03 -0500
commitf10f74a14d6aeab5ca45b8dcad317c8d0ffc2461 (patch)
tree77e7edd993df02d5a1dd51a2f55d498efbd778ad /src
parent289c70f9e48b8532986d86396e851c0d2e770262 (diff)
downloadpfsense-f10f74a14d6aeab5ca45b8dcad317c8d0ffc2461.zip
pfsense-f10f74a14d6aeab5ca45b8dcad317c8d0ffc2461.tar.gz
Fixed menu scroll in pconfig
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/system.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php
index 295576d..1b4eb51 100644
--- a/src/usr/local/www/system.php
+++ b/src/usr/local/www/system.php
@@ -89,7 +89,7 @@ $pconfig['timezone'] = $config['system']['timezone'];
$pconfig['timeservers'] = $config['system']['timeservers'];
$pconfig['language'] = $config['system']['language'];
$pconfig['webguicss'] = $config['system']['webgui']['webguicss'];
-$pconfig['webguifixedmenu'] = $config['system']['webgui']['webguiwebguifixedmenu'];
+$pconfig['webguifixedmenu'] = $config['system']['webgui']['webguifixedmenu'];
$pconfig['dnslocalhost'] = isset($config['system']['dnslocalhost']);
if (!$pconfig['timezone']) {
@@ -482,7 +482,7 @@ $section->addInput(new Form_Select(
$section->addInput(new Form_Select(
'webguifixedmenu',
'Menu',
- $pconfig['webguifixedmenu'],
+ ($pconfig['webguifixedmenu'] == "fixed"),
["" => "Scrolls with page", "fixed" => "Fixed (pinned to top of page)"]
));
OpenPOWER on IntegriCloud