From b41928ee835c1acb1a856a74c357c215a5eebfe2 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Tue, 18 Oct 2016 21:35:04 -0400 Subject: [PATCH] Update new ticket. Probably broken right now but it's something --- admin/new_ticket.php | 77 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 76 insertions(+), 1 deletion(-) 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']) + { + ?> +
+ + +  
+ +
+ +
+
+ + + +
+
+ +

 

+ +