Skip to content
Permalink
Browse files

comment out fixed navbar option for now

  • Loading branch information...
jdillard committed Nov 24, 2015
1 parent 1ee99ee commit a8ddecc1db0e09911f3a31b16292c562f5f8d464
Showing with 8 additions and 8 deletions.
  1. +3 −3 src/usr/local/www/head.inc
  2. +5 −5 src/usr/local/www/system.php
@@ -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">
@@ -89,7 +89,7 @@
$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 @@ function is_timezone($elt) {
} 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 @@ function is_timezone($elt) {
$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;

0 comments on commit a8ddecc

Please sign in to comment.
You can’t perform that action at this time.