#326 Show user agent info on admin_ticket
This commit is contained in:
parent
6c8feec6f7
commit
9156e98169
@ -697,10 +697,6 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
?>
|
||||
<script>
|
||||
var userAgent = platform.parse('<?php echo addslashes($ticket['user_agent']); ?>');
|
||||
var fontIcon = '';
|
||||
if (userAgent.os == 'OS X') {
|
||||
fontIcon = 'fa fa-apple';
|
||||
}
|
||||
</script>
|
||||
<div class="row" style="padding: 20px">
|
||||
<div class="col-md-2">
|
||||
@ -891,7 +887,9 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
}
|
||||
if (isset($ticket['user_agent']) && $ticket['user_agent'] !== NULL)
|
||||
{
|
||||
|
||||
$tooltipText = $hesklang['ticket_submitted_using'];
|
||||
echo '<i class="fa fa-desktop" id="user-agent"></i>';
|
||||
echo '<script>$("#user-agent").tooltip({ title: \''.$tooltipText.'\' + userAgent })</script>';
|
||||
}
|
||||
if ($modsForHesk_settings['request_location'])
|
||||
{
|
||||
|
||||
@ -23,6 +23,7 @@ $hesklang['EMAIL_HR']='------ Reply above this line ------';
|
||||
|
||||
// ADDED OR MODIFIED IN Mods for HESK 2.5.0
|
||||
$hesklang['ticket_message_no_attachments'] = 'Ticket/Reply message, however attachments will not be included in the email';
|
||||
$hesklang['ticket_submitted_using'] = 'Ticket submitted using: ';
|
||||
|
||||
// ADDED OR MODIFIED IN Mods for HESK 2.4.0
|
||||
$hesklang['sort_by_user_defined_order'] = 'Sort by user-defined order';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user