Skip to content
Snippets Groups Projects
Commit 91b87a01 authored by Peter Rotich's avatar Peter Rotich
Browse files

Agent Identity Masking

Move setting from Setting > Tickets to Settings > Agents
parent 3f7c5277
No related branches found
No related tags found
No related merge requests found
......@@ -1136,6 +1136,7 @@ class OsticketConfig extends Config {
'allow_pw_reset'=>isset($vars['allow_pw_reset'])?1:0,
'pw_reset_window'=>$vars['pw_reset_window'],
'agent_name_format'=>$vars['agent_name_format'],
'hide_staff_name'=>isset($vars['hide_staff_name']) ? 1 : 0,
'agent_avatar'=>$vars['agent_avatar'],
));
}
......@@ -1207,7 +1208,6 @@ class OsticketConfig extends Config {
'show_assigned_tickets'=>isset($vars['show_assigned_tickets'])?0:1,
'show_answered_tickets'=>isset($vars['show_answered_tickets'])?0:1,
'show_related_tickets'=>isset($vars['show_related_tickets'])?1:0,
'hide_staff_name'=>isset($vars['hide_staff_name'])?1:0,
'allow_client_updates'=>isset($vars['allow_client_updates'])?1:0,
'ticket_lock' => $vars['ticket_lock'],
));
......
......@@ -21,6 +21,12 @@ agent_name_format:
Choose a format for Agents names throughout the system. Email templates
will use it for names if no other format is specified.
staff_identity_masking:
title: Staff Identity Masking
content: >
If enabled, this will hide the Agent’s name from the Client during any
communication.
# Authentication settings
password_reset:
title: Password Expiration Policy
......
......@@ -108,12 +108,6 @@ answered_tickets:
will be included in the <span class="doc-desc-title">Open Tickets
Queue</span>.
staff_identity_masking:
title: Staff Identity Masking
content: >
If enabled, this will hide the Agent’s name from the Client during any
communication.
ticket_attachment_settings:
title: Ticket Thread Attachments
content: >
......
......@@ -35,6 +35,14 @@ if (!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config
<i class="help-tip icon-question-sign" href="#agent_name_format"></i>
</td>
</tr>
<tr>
<td><?php echo __('Agent Identity Masking'); ?>:</td>
<td>
<input type="checkbox" name="hide_staff_name" <?php echo $config['hide_staff_name']?'checked="checked"':''; ?>>
<?php echo __("Hide agent's name on responses."); ?>
<i class="help-tip icon-question-sign" href="#staff_identity_masking"></i>
</td>
</tr>
<tr>
<td width="180"><?php echo __('Avatar Source'); ?>:</td>
<td>
......
......@@ -203,14 +203,6 @@ if(!($maxfileuploads=ini_get('max_file_uploads')))
<i class="help-tip icon-question-sign" href="#answered_tickets"></i>
</td>
</tr>
<tr>
<td><?php echo __('Agent Identity Masking'); ?>:</td>
<td>
<input type="checkbox" name="hide_staff_name" <?php echo $config['hide_staff_name']?'checked="checked"':''; ?>>
<?php echo __("Hide agent's name on responses."); ?>
<i class="help-tip icon-question-sign" href="#staff_identity_masking"></i>
</td>
</tr>
<tr>
<th colspan="2">
<em><b><?php echo __('Attachments');?></b>: <?php echo __('Size and maximum uploads setting mainly apply to web tickets.');?></em>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment