summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-01-10 20:33:55 +0545
committerPhil Davis <phil.davis@inf.org>2017-01-10 20:33:55 +0545
commitedcd75357f0e93b124159314d3306197d5312e6c (patch)
tree6794b7c6bfc78f057e2990bca7096a733c70cb0f /src/usr/local/www/pkg.php
parentc50f228a1583fe694993778e8576322877a15bba (diff)
downloadpfsense-edcd75357f0e93b124159314d3306197d5312e6c.zip
pfsense-edcd75357f0e93b124159314d3306197d5312e6c.tar.gz
Breadcrumb links
Diffstat (limited to 'src/usr/local/www/pkg.php')
-rw-r--r--src/usr/local/www/pkg.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/usr/local/www/pkg.php b/src/usr/local/www/pkg.php
index b5cf67e..84aef95 100644
--- a/src/usr/local/www/pkg.php
+++ b/src/usr/local/www/pkg.php
@@ -37,6 +37,7 @@ $xml = $_REQUEST['xml'];
if ($xml == "") {
$pgtitle = array(gettext("Package"), gettext("Editor"));
+ $pglinks = array("", "@self");
include("head.inc");
print_info_box(gettext("No valid package defined."), 'danger', false);
include("foot.inc");
@@ -163,12 +164,15 @@ if ($pkg['title'] != "") {
foreach ($title as $subtitle) {
$pgtitle[] = gettext($subtitle);
+ $pglinks[] = "@self";
}
} else {
$pgtitle = array(gettext("Package"), gettext($pkg['title']));
+ $pglinks = array("", "@self");
}
} else {
$pgtitle = array(gettext("Package"), gettext("Editor"));
+ $pglinks = array("", "@self");
}
if ($pkg['tabs'] != "") {
@@ -182,6 +186,7 @@ if ($pkg['tabs'] != "") {
if (isset($tab['active'])) {
$active = true;
$pgtitle[] = $tab['text'];
+ $pglinks[] = "@self";
} else {
$active = false;
}
OpenPOWER on IntegriCloud