You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							39 lines
						
					
					
						
							953 B
						
					
					
				
			
		
		
	
	
							39 lines
						
					
					
						
							953 B
						
					
					
				<?php
 | 
						|
/* For licensing terms, see /license.txt */
 | 
						|
 | 
						|
require_once __DIR__.'/../inc/global.inc.php';
 | 
						|
 | 
						|
api_protect_admin_script();
 | 
						|
 | 
						|
if (!isset($_POST['ticket_id'])) {
 | 
						|
    exit;
 | 
						|
}
 | 
						|
 | 
						|
$ticket_id = (int) $_POST['ticket_id'];
 | 
						|
$history = TicketManager::get_assign_log($ticket_id);
 | 
						|
?>
 | 
						|
<table width="200px" border="0" cellspacing="2" cellpadding="2">
 | 
						|
<?php
 | 
						|
if (0 == count($history)) {
 | 
						|
    ?>
 | 
						|
    <tr>
 | 
						|
        <td colspan="2"><?php echo api_ucfirst(get_lang('No history')); ?></td>
 | 
						|
    </tr>
 | 
						|
    <?php
 | 
						|
}
 | 
						|
foreach ($history as $item) {
 | 
						|
    ?>
 | 
						|
    <tr>
 | 
						|
        <td width="50px">
 | 
						|
            <?php echo api_convert_encoding($item['insertuser'], 'UTF-8', $charset); ?>
 | 
						|
        </td>
 | 
						|
        <td width="80px">
 | 
						|
            <?php echo api_convert_encoding($item['assigned_date'], 'UTF-8', $charset); ?>
 | 
						|
        </td>
 | 
						|
        <td width="50px">
 | 
						|
            <?php echo api_convert_encoding($item['assignuser'], 'UTF-8', $charset); ?>
 | 
						|
        </td>
 | 
						|
    </tr>
 | 
						|
<?php
 | 
						|
} ?>
 | 
						|
</table>
 | 
						|
 |