diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/usr/local/www/pkg.php | 1 | ||||
-rw-r--r-- | src/usr/local/www/pkg_edit.php | 1 |
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"); |