diff --git a/index.php b/index.php index bdc5fbc6..b91cf814 100644 --- a/index.php +++ b/index.php @@ -42,6 +42,7 @@ require(HESK_PATH . 'inc/common.inc.php'); // Are we in maintenance mode? hesk_check_maintenance(); +hesk_load_database_functions(); // Are we in "Knowledgebase only" mode? hesk_check_kb_only(); @@ -166,7 +167,17 @@ if ( ! isset($_SESSION['c_category']) && ! $hesk_settings['select_cat']) +
+
@@ -175,7 +186,8 @@ if ( ! isset($_SESSION['c_category']) && ! $hesk_settings['select_cat'])
-
+ +
+ +
 
+ @@ -1069,7 +1082,6 @@ function print_start() } // Connect to database - hesk_load_database_functions(); hesk_dbConnect(); /* Print header */ @@ -1243,7 +1255,6 @@ function forgot_tid() require(HESK_PATH . 'inc/email_functions.inc.php'); /* Get ticket(s) from database */ - hesk_load_database_functions(); hesk_dbConnect(); $email = hesk_validateEmail( hesk_POST('email'), 'ERR' ,0) or hesk_process_messages($hesklang['enter_valid_email'],'ticket.php?remind=1'); diff --git a/knowledgebase.php b/knowledgebase.php index 8404b903..7fd2d310 100644 --- a/knowledgebase.php +++ b/knowledgebase.php @@ -155,7 +155,16 @@ function hesk_kb_header($kb_link) {
  • +
    +
    @@ -166,7 +175,8 @@ function hesk_kb_header($kb_link) {
    -
    + +
     
    '; + } +} ?> diff --git a/ticket.php b/ticket.php index 81abf9fc..2ba4df15 100644 --- a/ticket.php +++ b/ticket.php @@ -217,7 +217,16 @@ require_once(HESK_PATH . 'inc/header.inc.php');
  • +
    +
    @@ -226,7 +235,8 @@ require_once(HESK_PATH . 'inc/header.inc.php');
    -
    + +
  • - + +
    +
    @@ -470,7 +490,8 @@ function print_form()
    -
    + +