From a8cd62c44e87c8c2c007f50400eaa5394ee9f837 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 1 Jan 2021 22:00:00 +0100 Subject: [PATCH] Add AUDIT_ENABLE_PREFIX_SESSION --- htdocs/admin/tools/listevents.php | 10 +++++++++- htdocs/langs/en_US/other.lang | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/tools/listevents.php b/htdocs/admin/tools/listevents.php index 00c4bdc36dd..78a3f8948d4 100644 --- a/htdocs/admin/tools/listevents.php +++ b/htdocs/admin/tools/listevents.php @@ -92,7 +92,15 @@ $date_endday = $tmp['mday']; $date_endmonth = $tmp['mon']; $date_endyear = $tmp['year']; -$arrayfields = array(); +// Add prefix session +$arrayfields = array( + 'e.prefix_session' => array( + 'label'=>'UserAgent', + 'checked'=>(empty($conf->global->AUDIT_ENABLE_PREFIX_SESSION) ? 0 : 1), + 'enabled'=>(empty($conf->global->AUDIT_ENABLE_PREFIX_SESSION) ? 0 : 1), + 'position'=>110 + ) +); /* diff --git a/htdocs/langs/en_US/other.lang b/htdocs/langs/en_US/other.lang index 011352f1dcd..0a7b3723ab1 100644 --- a/htdocs/langs/en_US/other.lang +++ b/htdocs/langs/en_US/other.lang @@ -259,7 +259,8 @@ ContactCreatedByEmailCollector=Contact/address created by email collector from e ProjectCreatedByEmailCollector=Project created by email collector from email MSGID %s TicketCreatedByEmailCollector=Ticket created by email collector from email MSGID %s OpeningHoursFormatDesc=Use a - to separate opening and closing hours.
Use a space to enter different ranges.
Example: 8-12 14-18 - +PrefixSession=Prefix for session ID + ##### Export ##### ExportsArea=Exports area AvailableFormats=Available formats