diff --git a/admin/admin_main.php b/admin/admin_main.php index 0860a0bf..613b4f7f 100644 --- a/admin/admin_main.php +++ b/admin/admin_main.php @@ -72,7 +72,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php'); echo '
-

'.$hesklang['open_tickets'].' '.$hesklang['nti'].'

+

'.$hesklang['open_tickets'].' '.$hesklang['nti'].'

'; // The rest of the panel will be printed by print_tickets.inc.php } diff --git a/admin/show_tickets.php b/admin/show_tickets.php index 42aa8926..3d29d860 100644 --- a/admin/show_tickets.php +++ b/admin/show_tickets.php @@ -58,12 +58,15 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php'); ?> -
+
-

+
+ +
+
+

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + - - -
:   + + + fetch_assoc()) + { + if ($rowCounter > 3) + { + echo ''; + $rowCounter = 1; + } + echo ''; -
'.$hesklang[$row['ShortNameContentKey']].'
- - + +
- -

-
- - - - +
:   + $rowCounter++; + } + ?> +
+
- - - fetch_assoc()) - { - if ($rowCounter > 3) +
+  
+ + +
 
+
+ +
+ +
+ + + + + + + + -
:   + + + + + + + + + + + + +
 
 
+ +
:   + + + + '; - $rowCounter = 1; + ?> +
+ + + + '; + ?> + + + +
+ +
+ + +
+ '.$hesklang[$row['ShortNameContentKey']].'
 
- $rowCounter++; - } - ?> -
+
+
:   + + + + + + + + + + + +
 
-

- - -
 
+
:   + + + + + + + + + + + +
+ + +  
 
+ +
:   +
+
:  
:   + + | +
:   + +
+ () + +
+ +

+

+ +
+ + + + + + +
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
:   - - - - - - - - - - - - -
 
 
- -
:   - - - - - - - -
- - -
- - -
- - -
- -
 
- -
:   - - - - - - - - - - - -
 
- -
:   - - - - - - - - - - - -
- - - 
 
- -
:   -
-
:  
:   - -| -
:   - -
- () - -
- -

-

- -
- - - - - - -
- +
+
+

+
+
+ + @@ -336,28 +337,6 @@ EOC;
-

-
- +
- -
+
/>
+
+
- - + - - + - - + - - + +
:   +:  
:   +:  
/>
:   +:  
:  
:  
@@ -423,6 +427,8 @@ if ($can_view_unassigned)
+ + diff --git a/inc/ticket_list.inc.php b/inc/ticket_list.inc.php index 93d20934..7c83845d 100644 --- a/inc/ticket_list.inc.php +++ b/inc/ticket_list.inc.php @@ -61,6 +61,8 @@ $mysql_time = hesk_dbTime(); $result = hesk_dbQuery($sql_count); $total = hesk_dbResult($result); +//-- Precondition: The panel has already been created, and there is NO open
tag yet. +echo '
'; if ($total > 0) { @@ -112,13 +114,11 @@ if ($total > 0) $prev_page = ($page - 1 <= 0) ? 0 : $page - 1; $next_page = ($page + 1 > $pages) ? 0 : $page + 1; + + echo sprintf($hesklang['tickets_on_pages'],$total,$pages).'
'; - if ($pages > 1) + if ($pages > 1) { - //-- Precondition: The panel has already been created, and there is NO open
tag yet. - echo ' -
- '.sprintf($hesklang['tickets_on_pages'],$total,$pages).'
'; /* List pages */ echo '
@@ -166,16 +166,18 @@ if ($total > 0) } echo '
-
'.$hesklang['jump_page'].' - '; for ($i=1;$i<=$pages;$i++) { $tmp = ($page == $i) ? ' selected="selected"' : ''; echo ''; } - echo' + echo'
-
'; +
+
'; } @@ -240,7 +242,6 @@ if ($total > 0) } $i = 0; - $checkall = ''; $group_tmp = ''; $is_table = 0; @@ -260,7 +261,7 @@ if ($total > 0) $first_line = '(' . $hesklang['unas'] . ')'." \n\n"; if ($ticket['owner'] == $_SESSION['id']) { - $owner = ' '; + $owner = ' '; $first_line = $hesklang['tasy2'] . " \n\n"; } elseif ($ticket['owner']) @@ -269,14 +270,14 @@ if ($total > 0) { $admins[$ticket['owner']] = $hesklang['e_udel']; } - $owner = ' '; + $owner = ' '; $first_line = $hesklang['taso3'] . ' ' . $admins[$ticket['owner']] . " \n\n"; } $tagged = ''; if ($ticket['archive']) { - $tagged = ' '; + $tagged = ' '; } $statusName = hesk_dbFetchAssoc(hesk_dbQuery("SELECT `ShortNameContentKey`, `TextColor` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."statuses` WHERE ID = ".$ticket['status'])); @@ -293,7 +294,7 @@ if ($total > 0) $color = 'warning'; break; case 2: - $ticket['priority']=''; + $ticket['priority']=''; break; default: $ticket['priority']=''; @@ -315,8 +316,8 @@ if ($total > 0) $ticket['message'] = $first_line . substr(strip_tags($ticket['message']),0,200).'...'; echo << -
 
  $ticket[trackid] $ticket[lastchange] $ticket[name]
-
- -    - - -    - - - - -   -
+
+
0 @@ -421,10 +402,10 @@ function hesk_print_list_head() global $href, $query, $sort_possible, $hesklang; ?>
- +
- +