';
}
if ($space)
{
echo '
';
}
if (empty($group_tmp) || ! isset($admins[$group_tmp]))
{
echo '
'.$hesklang['gbou'].'
'; $space++; } else { if ($group_tmp == $_SESSION['id']) { echo ''.$hesklang['gbom'].'
'; $space++; } else { echo ''.sprintf($hesklang['gboo'],$admins[$group_tmp]).'
'; $space++; } } hesk_print_list_head(); $is_table = 1; } } // END if 'owner' elseif ($group == 'priority') { switch ($ticket['priority']) { case 0: $tmp = $hesklang['critical']; break; case 1: $tmp = $hesklang['high']; break; case 2: $tmp = $hesklang['medium']; break; default: $tmp = $hesklang['low']; } if ($ticket['priority'] != $group_tmp) { $group_tmp = $ticket['priority']; if ($is_table) { echo ''; } if ($space) { echo ''.$hesklang['priority'].': '.$tmp.'
'; $space++; hesk_print_list_head(); $is_table = 1; } } // END elseif 'priority' else { if ($ticket['category'] != $group_tmp) { $group_tmp = $ticket['category']; if ($is_table) { echo ''; } if ($space) { echo ''.$hesklang['category'].': '.$tmp.'
'; $space++; hesk_print_list_head(); $is_table = 1; } } // END else ('category')