summaryrefslogtreecommitdiffstats
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
parentff41e565aa3b88c06917a1897f246f17589aba5f (diff)
downloadpfsense-84320769a0bc9bd0f667f96343550a8626957acb.zip
pfsense-84320769a0bc9bd0f667f96343550a8626957acb.tar.gz
Show page title because that's where page help icon is displayed.
-rwxr-xr-xsrc/usr/local/www/pkg.php1
-rw-r--r--src/usr/local/www/pkg_edit.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/pkg.php b/src/usr/local/www/pkg.php
index c468319..cf394c1 100755
--- a/src/usr/local/www/pkg.php
+++ b/src/usr/local/www/pkg.php
@@ -70,6 +70,7 @@ function domTT_title($title_msg) {
$xml = $_REQUEST['xml'];
if ($xml == "") {
+ $pgtitle = array(gettext("Package"), gettext("Editor"));
include("head.inc");
print_info_box(gettext("No valid package defined."), 'danger', false);
include("foot.inc");
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