From 3ec6b91e804fc1d81357fe367fb066843e06e003 Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Sun, 11 Jan 2015 19:36:14 -0500 Subject: [PATCH] #92 Update manage_categories --- admin/manage_categories.php | 117 ++++++++++++++++++++++++++++++++++-- 1 file changed, 113 insertions(+), 4 deletions(-) diff --git a/admin/manage_categories.php b/admin/manage_categories.php index d3a596ce..9af9e1e4 100644 --- a/admin/manage_categories.php +++ b/admin/manage_categories.php @@ -1,7 +1,7 @@ array('value' => 3, 'text' => $hesklang['low'], 'formatted' => $hesklang['low']), + 2 => array('value' => 2, 'text' => $hesklang['medium'], 'formatted' => ''.$hesklang['medium'].''), + 1 => array('value' => 1, 'text' => $hesklang['high'], 'formatted' => ''.$hesklang['high'].''), + 0 => array('value' => 0, 'text' => $hesklang['critical'], 'formatted' => ''.$hesklang['critical'].''), +); + /* What should we do? */ if ( $action = hesk_REQUEST('a') ) { @@ -59,6 +67,7 @@ if ( $action = hesk_REQUEST('a') ) elseif ($action == 'order') {order_cat();} elseif ($action == 'autoassign') {toggle_autoassign();} elseif ($action == 'type') {toggle_type();} + elseif ($action == 'priority') {change_priority();} } /* Print header */ @@ -71,7 +80,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');