summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-18 11:56:29 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-18 11:56:29 -0500
commit4d4eefabb70a4d895e564ff0a57721b11d59dadc (patch)
tree4dcc489be59a6c7535eaa263d43b9a3d040e9be5 /src/usr/local/www/pkg_mgr_install.php
parentd8ee2a3d08c94f3e9a1b1438100609e8990a83e2 (diff)
downloadpfsense-4d4eefabb70a4d895e564ff0a57721b11d59dadc.zip
pfsense-4d4eefabb70a4d895e564ff0a57721b11d59dadc.tar.gz
System update settings UI implemented
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-rw-r--r--src/usr/local/www/pkg_mgr_install.php13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php
index a0373b0..6917c02 100644
--- a/src/usr/local/www/pkg_mgr_install.php
+++ b/src/usr/local/www/pkg_mgr_install.php
@@ -244,6 +244,11 @@ if ($_POST) {
}
}
+if($_GET && $_GET['id'] == "firmware") {
+ $firmwareupdate = true;
+ $firmwareversion = get_system_pkg_version();
+}
+
$pgtitle = array(gettext("System"),gettext("Package Manager"), $headline);
include("head.inc");
@@ -251,13 +256,13 @@ $tab_array = array();
$tab_array[] = array(gettext("Available packages"), false, "pkg_mgr.php");
$tab_array[] = array(gettext("Installed packages"), false, "pkg_mgr_installed.php");
$tab_array[] = array(gettext("Package Installer"), true, "");
-display_top_tabs($tab_array);
-if($_GET && $_GET['id'] == "firmware") {
- $firmwareupdate = true;
- $firmwareversion = get_system_pkg_version();
+if($firmwareupdate) {
+ $tab_array[] = array(gettext("Updater Settings"), false, "system_update_settings.php");
}
+display_top_tabs($tab_array);
+
if ($input_errors)
print_input_errors($input_errors);
OpenPOWER on IntegriCloud