X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Ftags.php;h=761b0995296ca1f77e4ed072120cfd7211256e98;hb=d2cc0860eccf02eaefcd90731ac3af141a841529;hp=9bb6c6d44067ea95fd0266eaf517d423a0b407ae;hpb=c67cb853142909aaa6dd27681a9bd5b62f1f7526;p=fa-stable.git diff --git a/admin/tags.php b/admin/tags.php index 9bb6c6d4..761b0995 100644 --- a/admin/tags.php +++ b/admin/tags.php @@ -10,8 +10,6 @@ See the License here . ***********************************************************************/ $path_to_root = ".."; -include_once($path_to_root . "/includes/types.inc"); // For tag constants - // Set up page security based on what type of tags we're working with if ($_GET['type'] == "account" || $_POST['type'] == TAG_ACCOUNT) { $page_security = 'SA_GLACCOUNTTAGS'; @@ -20,6 +18,7 @@ if ($_GET['type'] == "account" || $_POST['type'] == TAG_ACCOUNT) { } include($path_to_root . "/includes/session.inc"); // Define session before using $_SESSION +include_once($path_to_root . "/includes/types.inc"); // For tag constants if (!isset($page_security)) { // If GET & POST don't have the info, try getting it from the session. @@ -43,11 +42,11 @@ if (!isset($_POST['type'])) { switch ($_POST['type']) { case TAG_ACCOUNT: // Account tags - $_SESSION['page_title'] = _("Account Tags"); + $_SESSION['page_title'] = _($help_context = "Account Tags"); break; case TAG_DIMENSION: // Dimension tags - $_SESSION['page_title'] = _("Dimension Tags"); + $_SESSION['page_title'] = _($help_context = "Dimension Tags"); } page($_SESSION['page_title']);