summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/pkg_edit.php
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-14 21:35:30 -0600
committerk-paulius <k.dash.paulius@gmail.com>2016-02-14 21:35:30 -0600
commit84320769a0bc9bd0f667f96343550a8626957acb (patch)
treebcdb4abd5b7dad946deb7b10a60723144dab41a7 /src/usr/local/www/pkg_edit.php
parentff41e565aa3b88c06917a1897f246f17589aba5f (diff)
downloadpfsense-84320769a0bc9bd0f667f96343550a8626957acb.zip
pfsense-84320769a0bc9bd0f667f96343550a8626957acb.tar.gz
Show page title because that's where page help icon is displayed.
Diffstat (limited to 'src/usr/local/www/pkg_edit.php')
-rw-r--r--src/usr/local/www/pkg_edit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/usr/local/www/pkg_edit.php b/src/usr/local/www/pkg_edit.php
index 8a1aae4..2ffba29 100644
--- a/src/usr/local/www/pkg_edit.php
+++ b/src/usr/local/www/pkg_edit.php
@@ -81,6 +81,7 @@ if ($_POST['xml']) {
$xml_fullpath = realpath('/usr/local/pkg/' . $xml);
if ($xml == "" || $xml_fullpath === false || substr($xml_fullpath, 0, strlen('/usr/local/pkg/')) != '/usr/local/pkg/') {
+ $pgtitle = array(gettext("Package"), gettext("Editor"));
include("head.inc");
print_info_box(gettext("No valid package defined."), 'danger', false);
include("foot.inc");
OpenPOWER on IntegriCloud