diff options
author | Phil Davis <phil.davis@inf.org> | 2017-01-10 20:33:55 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2017-02-11 18:25:50 +0545 |
commit | de02dc292637fb731986719dbf8c8ead5fae4912 (patch) | |
tree | 89e3bbf1db16143f031efb77dd0162be4af90880 /src/usr/local/www/pkg.php | |
parent | 990bc1fb8b2e577e7a332b7b1e24b2faa3f3be27 (diff) | |
download | pfsense-de02dc292637fb731986719dbf8c8ead5fae4912.zip pfsense-de02dc292637fb731986719dbf8c8ead5fae4912.tar.gz |
Breadcrumb links
(cherry picked from commit edcd75357f0e93b124159314d3306197d5312e6c)
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 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; } |