summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authorheper <heper@users.noreply.github.com>2015-11-29 13:09:08 +0100
committerheper <heper@users.noreply.github.com>2015-11-29 13:09:08 +0100
commit581c340299128fb0b4ca5f75b37ffe9d649d9366 (patch)
treec324bbdc95a476abc4caf9de94ed92a38d8edec9 /src/usr/local/www/pkg_mgr_install.php
parentcbe639a8a2575b3148c9b5069be78b0a89b3b429 (diff)
downloadpfsense-581c340299128fb0b4ca5f75b37ffe9d649d9366.zip
pfsense-581c340299128fb0b4ca5f75b37ffe9d649d9366.tar.gz
Santize breadcrumb #5527
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-rw-r--r--src/usr/local/www/pkg_mgr_install.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php
index 04213de..a7952e5 100644
--- a/src/usr/local/www/pkg_mgr_install.php
+++ b/src/usr/local/www/pkg_mgr_install.php
@@ -247,23 +247,23 @@ if ($_POST) {
if($_GET && $_GET['id'] == "firmware") {
$firmwareupdate = true;
$firmwareversion = get_system_pkg_version();
+ $headline = gettext("System update") ;
}
-$pgtitle = array(gettext("System"),gettext("Package Manager"), $headline);
-include("head.inc");
-
$tab_array = array();
-$tab_array[] = array(gettext("Available packages"), false, "pkg_mgr.php");
-$tab_array[] = array(gettext("Installed packages"), false, "pkg_mgr_installed.php");
+
if($firmwareupdate) {
+ $pgtitle = array(gettext("System"),gettext("Update"), $headline);
$tab_array[] = array(gettext("System update"), true, "");
+ $tab_array[] = array(gettext("Update Settings"), false, "system_update_settings.php");
} else {
+ $pgtitle = array(gettext("System"),gettext("Package Manager"), $headline);
+ $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, "");
}
-if($firmwareupdate) {
- $tab_array[] = array(gettext("Update Settings"), false, "system_update_settings.php");
-}
+include("head.inc");
display_top_tabs($tab_array);
if ($input_errors)
OpenPOWER on IntegriCloud