diff options
Diffstat (limited to 'src/usr/local/www/pkg.php')
-rw-r--r-- | src/usr/local/www/pkg.php | 5 |
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; } |