summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg.php
diff options
context:
space:
mode:
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 5edc566..7f92d3b 100644
--- a/src/usr/local/www/pkg.php
+++ b/src/usr/local/www/pkg.php
@@ -69,6 +69,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");
@@ -195,12 +196,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'] != "") {
@@ -214,6 +218,7 @@ if ($pkg['tabs'] != "") {
if (isset($tab['active'])) {
$active = true;
$pgtitle[] = $tab['text'];
+ $pglinks[] = "@self";
} else {
$active = false;
}
OpenPOWER on IntegriCloud