diff --git a/admin/manage_categories.php b/admin/manage_categories.php
index 62498722..b90caebb 100644
--- a/admin/manage_categories.php
+++ b/admin/manage_categories.php
@@ -249,201 +249,46 @@ $res = hesk_dbQuery("SELECT * FROM `" . hesk_dbEscape($hesk_settings['db_pfix'])
-
-
-
-
+
-
-
-
-
-
-
-
-
- |
- |
- |
- |
- |
- |
- |
-
-
-
-
-
-
-
-
-
-
-
- |
- |
- |
- |
- |
- |
- |
- |
-
-
-
- '
- ',
- 1 => '',
- 2 => ' '
- );
-
- while ($mycat = hesk_dbFetchAssoc($res)) {
- $j++;
-
- if (isset($_SESSION['selcat2']) && $mycat['id'] == $_SESSION['selcat2']) {
- $color = 'admin_green';
- unset($_SESSION['selcat2']);
- } else {
- $color = $i ? 'admin_white' : 'admin_gray';
- }
-
- $tmp = $i ? 'White' : 'Blue';
- $style = 'background: ' . $mycat['background_color'];
- $backgroundVolatile = 'background-volatile';
- if ($mycat['foreground_color'] != 'AUTO') {
- $style .= '; color: ' . $mycat['foreground_color'];
- $backgroundVolatile = '';
-
- if ($mycat['display_border_outline']) {
- $style .= '; border: solid 1px ' . $mycat['foreground_color'];
- }
- }
-
- if ($mycat['foreground_color'] == 'AUTO') {
- $mycat['foreground_color'] = '';
- }
-
- $i = $i ? 0 : 1;
-
- /* Number of tickets and graph width */
- $all = isset($tickets_all[$mycat['id']]) ? $tickets_all[$mycat['id']] : 0;
- $width_all = 0;
- if ($tickets_total && $all) {
- $width_all = round(($all / $tickets_total) * 100);
- }
-
- /* Deleting category with ID 1 (default category) is not allowed */
- if ($mycat['id'] == 1) {
- $remove_code = '
';
- } else {
- $remove_code = ' ';
- }
-
- /* Is category private or public? */
- if ($mycat['type']) {
- $type_code = '';
- } else {
- $type_code = '';
- }
-
- /* Is auto assign enabled? */
- if ($hesk_settings['autoassign']) {
- if ($mycat['autoassign']) {
- $autoassign_code = '';
- } else {
- $autoassign_code = '';
- }
- } else {
- $autoassign_code = '';
- }
-
- echo '
-
- ' . $mycat['id'] . ' |
- ' . $mycat['name'] . ' |
- ' . $priorities[$mycat['priority']]['formatted'] . ' |
- ' . $all . ' |
-
-
-
-
+ if ($hesk_settings['cust_urgency']) {
+ hesk_show_notice($hesklang['cat_pri_info'] . ' ' . $hesklang['cpri']);
+ }
+ ?>
+
+
+
+
+
+
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+
+
+
- |
- ' . $usage[$mycat['usage']] . ' |
- ' . get_manager($mycat['manager'], $users) . ' |
-
-
- ' . $autoassign_code . '
- ' . $type_code . ' ';
-
- if ($orderBy != 'name' && $num > 1) {
- if ($j == 1) {
- echo ' ';
- } elseif ($j == $num) {
- echo ' ';
- } else {
- echo '
-
-
- ';
- }
- }
- echo '';
- echo $remove_code . ' |
-
- ';
-
- } // End while
-
- ?>
-
-
+
+
+
-
-
-
-
-
+
@@ -550,6 +395,14 @@ $res = hesk_dbQuery("SELECT * FROM `" . hesk_dbEscape($hesk_settings['db_pfix'])
+
@@ -560,12 +413,12 @@ $res = hesk_dbQuery("SELECT * FROM `" . hesk_dbEscape($hesk_settings['db_pfix'])
-