diff --git a/admin/new_ticket.php b/admin/new_ticket.php index fad34c8f..d818c168 100644 --- a/admin/new_ticket.php +++ b/admin/new_ticket.php @@ -1118,4 +1118,79 @@ hesk_cleanSessionVars('isnotice'); require_once(HESK_PATH . 'inc/footer.inc.php'); exit(); -?> + +/*** START FUNCTIONS ***/ + + +function print_select_category($number_of_categories) { + global $hesk_settings, $hesklang; + + // A category needs to be selected + if (isset($_GET['category']) && empty($_GET['category'])) { + hesk_process_messages($hesklang['sel_app_cat'],'NOREDIRECT','NOTICE'); + } + + /* This will handle error, success and notice messages */ + hesk_handle_messages(); + ?> + +
+ +

+ +
+ $hesk_settings['cat_show_select']) + { + ?> +
+ + +  
+ +
+ +
+
+ + + +
+
+ +

 

+ +