diff options
-rwxr-xr-x | src/usr/local/www/head.inc | 6 | ||||
-rw-r--r-- | src/usr/local/www/system.php | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc index 09bb2c0..bb55f52 100755 --- a/src/usr/local/www/head.inc +++ b/src/usr/local/www/head.inc @@ -375,14 +375,14 @@ if (!$g['disablehelpmenu']) { $help_menu[] = array(gettext("FreeBSD Handbook"), "https://www.pfsense.org/j.php?jumpto=fbsdhandbook"); $help_menu = msort(array_merge($help_menu, return_ext_menu("Help")), 0); } - +/* $menuclass = "navbar navbar-static-top navbar-inverse"; if (isset($config['system']['webgui']['webguifixedmenu'])) { $menuclass = "navbar navbar-fixed-top navbar-inverse"; -} +}*/ ?> -<nav id="topmenu" class="<?=$menuclass?>"> +<nav id="topmenu" class="navbar navbar-fixed-top navbar-inverse"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#pf-navbar"> diff --git a/src/usr/local/www/system.php b/src/usr/local/www/system.php index 3f10473..de3e354 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']['webguifixedmenu']; +//$pconfig['webguifixedmenu'] = $config['system']['webgui']['webguifixedmenu']; $pconfig['dnslocalhost'] = isset($config['system']['dnslocalhost']); if (!$pconfig['timezone']) { @@ -143,13 +143,13 @@ if ($_POST) { } else { unset($config['system']['webgui']['webguicss']); } - + /* if ($_POST['webguifixedmenu']) { $config['system']['webgui']['webguifixedmenu'] = $_POST['webguifixedmenu']; } else { unset($config['system']['webgui']['webguifixedmenu']); } - + */ if ($_POST['hostname']) { if (!is_hostname($_POST['hostname'])) { $input_errors[] = gettext("The hostname can only contain the characters A-Z, 0-9 and '-'. It may not start or end with '-'."); @@ -478,14 +478,14 @@ $section->addInput(new Form_Select( $pconfig['webguicss'], $csslist ))->setHelp("Choose an alternative css file (if installed) to change the appearance of the Web configurator. css files are located in /usr/local/www/bootstrap/css"); - +/* $section->addInput(new Form_Select( 'webguifixedmenu', 'Menu', $pconfig['webguifixedmenu'], ["" => "Scrolls with page", "fixed" => "Fixed (Remains visible at top of page)"] )); - +*/ $form->add($section); print $form; |