summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-14 00:31:46 -0600
committerk-paulius <k.dash.paulius@gmail.com>2016-02-14 00:31:46 -0600
commitd866cc445c686fdc36a914daa3a506624fb4415d (patch)
treef61f1b716c969c9ee6446670170daa788703460f /src/usr/local/www/pkg_mgr_install.php
parentd88908cfe135fc17479699d79927cc6e2e9c4a33 (diff)
downloadpfsense-d866cc445c686fdc36a914daa3a506624fb4415d.zip
pfsense-d866cc445c686fdc36a914daa3a506624fb4415d.tar.gz
Remove "headline" from the breadcrumb. It serves no real purpose, since the action that is being performed is already shown in the panel title + no other page shows action in the breadcrumb.
Diffstat (limited to 'src/usr/local/www/pkg_mgr_install.php')
-rw-r--r--src/usr/local/www/pkg_mgr_install.php24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/usr/local/www/pkg_mgr_install.php b/src/usr/local/www/pkg_mgr_install.php
index e9c33e0..05d940b 100644
--- a/src/usr/local/www/pkg_mgr_install.php
+++ b/src/usr/local/www/pkg_mgr_install.php
@@ -212,8 +212,6 @@ function waitfor_string_in_file($filename, $string, $timeout) {
return(false);
}
-$headline = "<br />";
-
if ($_POST) {
if (empty($_POST['id']) && $_POST['mode'] != 'reinstallall') {
header("Location: pkg_mgr_installed.php");
@@ -229,25 +227,6 @@ if ($_POST) {
header("Location: pkg_mgr_installed.php");
return;
}
-
- switch ($_GET['mode']) {
- case 'reinstallall':
- $headline = gettext("Reinstall all Packages");
- break;
- case 'reinstallpkg':
- if ($_GET['from'] && $_GET['to']) {
- $headline = gettext("Upgrade Package");
- } else {
- $headline = gettext("Reinstall Package");
- }
- break;
- case 'delete':
- $headline = gettext("Remove Package");
- break;
- default:
- $headline = gettext("Install Package");
- break;
- }
}
if ($_GET && $_GET['id'] == "firmware") {
@@ -262,7 +241,7 @@ if ($firmwareupdate || ($_POST['id'] == "firmware")) {
$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);
+ $pgtitle = array(gettext("System"), gettext("Package Manager"), gettext("Package Installer"));
$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, "");
@@ -277,7 +256,6 @@ if ($input_errors) {
?>
<form action="pkg_mgr_install.php" method="post" class="form-horizontal">
-<!-- <h2><?=$headline?></h2> -->
<?php if (($POST['complete'] != "true") && (empty($_GET['mode']) && $_GET['id']) || (!empty($_GET['mode']) && (!empty($_GET['pkg']) || $_GET['mode'] == 'reinstallall'))):
if (empty($_GET['mode']) && $_GET['id']) {
$pkgname = str_replace(array("<", ">", ";", "&", "'", '"', '.', '/'), "", htmlspecialchars_decode($_GET['id'], ENT_QUOTES | ENT_HTML401));
OpenPOWER on IntegriCloud