golden hour
/home/doctorbruno/public_html/doctorbruno.info/taeionline/support/include/staff
⬆️ Go Up
Upload
File/Folder
Size
Actions
apikey.inc.php
4.69 KB
Del
OK
apikeys.inc.php
7.6 KB
Del
OK
banlist.inc.php
8.71 KB
Del
OK
banrule.inc.php
2.96 KB
Del
OK
cannedresponse.inc.php
6.09 KB
Del
OK
cannedresponses.inc.php
8.47 KB
Del
OK
categories.inc.php
7.03 KB
Del
OK
category.inc.php
6.51 KB
Del
OK
dashboard.inc.php
6.35 KB
Del
OK
department.inc.php
22.78 KB
Del
OK
departments.inc.php
10.42 KB
Del
OK
directory.inc.php
5.95 KB
Del
OK
dynamic-form.inc.php
15.2 KB
Del
OK
dynamic-forms.inc.php
5.26 KB
Del
OK
dynamic-list.inc.php
11.12 KB
Del
OK
dynamic-lists.inc.php
4.62 KB
Del
OK
email.inc.php
10.47 KB
Del
OK
emails.inc.php
7.03 KB
Del
OK
faq-categories.inc.php
7.13 KB
Del
OK
faq-category.inc.php
3.52 KB
Del
OK
faq-view.inc.php
3.52 KB
Del
OK
faq.inc.php
10.31 KB
Del
OK
filter.inc.php
18.98 KB
Del
OK
filters.inc.php
9.47 KB
Del
OK
footer.inc.php
3.87 KB
Del
OK
header.inc.php
6.02 KB
Del
OK
helptopic.inc.php
20.78 KB
Del
OK
helptopics.inc.php
9.93 KB
Del
OK
index.php
37 B
Del
OK
login.header.php
1.37 KB
Del
OK
login.tpl.php
6.76 KB
Del
OK
org-view.inc.php
4.45 KB
Del
OK
orgs.inc.php
8.57 KB
Del
OK
page.inc.php
7.87 KB
Del
OK
pages.inc.php
7.64 KB
Del
OK
plugin-add.inc.php
1.84 KB
Del
OK
plugin-instance.inc.php
1.31 KB
Del
OK
plugin.inc.php
4.67 KB
Del
OK
plugins.inc.php
5.81 KB
Del
OK
profile.inc.php
20.72 KB
Del
OK
pwreset.login.php
1.77 KB
Del
OK
pwreset.php
1.7 KB
Del
OK
pwreset.sent.php
1.59 KB
Del
OK
queue.inc.php
15.59 KB
Del
OK
queues-ticket.inc.php
4.56 KB
Del
OK
role.inc.php
4.91 KB
Del
OK
roles.inc.php
5.5 KB
Del
OK
schedule.inc.php
4.53 KB
Del
OK
schedules.inc.php
5.34 KB
Del
OK
settings-agents.inc.php
13.15 KB
Del
OK
settings-alerts.inc.php
10.68 KB
Del
OK
settings-autoresp.inc.php
2.48 KB
Del
OK
settings-emails.inc.php
9.88 KB
Del
OK
settings-kb.inc.php
2.18 KB
Del
OK
settings-pages.inc.php
15.32 KB
Del
OK
settings-system.inc.php
22.99 KB
Del
OK
settings-tasks.inc.php
14.99 KB
Del
OK
settings-tickets.inc.php
13.7 KB
Del
OK
settings-users.inc.php
9.36 KB
Del
OK
slaplan.inc.php
5.96 KB
Del
OK
slaplans.inc.php
7.99 KB
Del
OK
staff.inc.php
21.42 KB
Del
OK
staffmembers.inc.php
12.63 KB
Del
OK
syslogs.inc.php
8.58 KB
Del
OK
system.inc.php
7.82 KB
Del
OK
task-view.inc.php
93 B
Del
OK
tasks.inc.php
17.99 KB
Del
OK
team.inc.php
8.76 KB
Del
OK
teams.inc.php
8.14 KB
Del
OK
template.inc.php
7.21 KB
Del
OK
templates
-
Del
OK
templates.inc.php
8.25 KB
Del
OK
ticket-edit.inc.php
8.62 KB
Del
OK
ticket-open.inc.php
23.7 KB
Del
OK
ticket-relations.inc.php
1.27 KB
Del
OK
ticket-tasks.inc.php
7.32 KB
Del
OK
ticket-view.inc.php
70.54 KB
Del
OK
tickets.inc.php
25.45 KB
Del
OK
tpl.inc.php
5.77 KB
Del
OK
user-view.inc.php
9.22 KB
Del
OK
users.inc.php
12.88 KB
Del
OK
Edit: settings-agents.inc.php
<?php if (!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config) die('Access Denied'); ?> <h2><?php echo __('Agents Settings'); ?></h2> <form action="settings.php?t=agents" method="post" class="save"> <?php csrf_token(); ?> <input type="hidden" name="t" value="agents" > <ul class="tabs" id="agents-tabs"> <li class="active"><a href="#settings"> <i class="icon-asterisk"></i> <?php echo __('Settings'); ?></a></li> <li><a href="#templates"> <i class="icon-file-text"></i> <?php echo __('Templates'); ?></a></li> </ul> <div id="agents-tabs_container"> <div id="settings" class="tab_content"> <table class="form_table settings_table" width="940" border="0" cellspacing="0" cellpadding="2"> <tbody> <tr> <th colspan="2"> <em><b><?php echo __('General Settings'); ?></b></em> </th> </tr> <tr> <td width="180"><?php echo __('Name Formatting'); ?>:</td> <td> <select name="agent_name_format"> <?php foreach (PersonsName::allFormats() as $n=>$f) { list($desc, $func) = $f; $selected = ($config['agent_name_format'] == $n) ? 'selected="selected"' : ''; ?> <option value="<?php echo $n; ?>" <?php echo $selected; ?>><?php echo __($desc); ?></option> <?php } ?> </select> <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> <select name="agent_avatar"> <?php require_once INCLUDE_DIR . 'class.avatar.php'; foreach (AvatarSource::allSources() as $id=>$class) { $modes = $class::getModes(); if ($modes) { echo "<optgroup label=\"{$class::getName()}\">"; foreach ($modes as $mid=>$mname) { $oid = "$id.$mid"; $selected = ($config['agent_avatar'] == $oid) ? 'selected="selected"' : ''; echo "<option {$selected} value=\"{$oid}\">{$class::getName()} / {$mname}</option>"; } echo "</optgroup>"; } else { $selected = ($config['agent_avatar'] == $id) ? 'selected="selected"' : ''; echo "<option {$selected} value=\"{$id}\">{$class::getName()}</option>"; } } ?> </select> <div class="error"><?php echo Format::htmlchars($errors['agent_avatar']); ?></div> </td> </tr> <tr> <td><?php echo __('Disable Agent Collaborators'); ?>:</td> <td> <input type="checkbox" name="disable_agent_collabs" <?php echo $config['disable_agent_collabs']?'checked="checked"':''; ?>> <?php echo __('Enable'); ?> <i class="help-tip icon-question-sign" href="#disable_agent_collabs"></i> </td> </tr> <tr> <th colspan="2"> <em><b><?php echo __('Authentication Settings'); ?></b></em> </th> </tr> <tr> <td><?php echo __('Password Policy'); ?>:</td> <td> <select name="agent_passwd_policy"> <option value=" "> — <?php echo __('All Active Policies'); ?> —</option> <?php foreach (PasswordPolicy::allActivePolicies() as $P) { $id = $P->getBkId(); echo sprintf('<option value="%s" %s>%s</option>', $id, (($config['agent_passwd_policy'] == $id) ? 'selected="selected"' : ''), $P->getName()); } ?> </select> <font class="error"><?php echo $errors['agent_passwd_policy']; ?></font> <i class="help-tip icon-question-sign" href="#agent_password_policy"></i> </td> </tr> <tr> <td><?php echo __('Allow Password Resets'); ?>:</td> <td> <input type="checkbox" name="allow_pw_reset" <?php echo $config['allow_pw_reset']?'checked="checked"':''; ?>> <i class="help-tip icon-question-sign" href="#allow_password_resets"></i> </td> </tr> <tr> <td><?php echo __('Reset Token Expiration'); ?>:</td> <td> <input type="text" name="pw_reset_window" size="6" value="<?php echo $config['pw_reset_window']; ?>"> <em><?php echo __('minutes'); ?></em> <i class="help-tip icon-question-sign" href="#reset_token_expiration"></i> <font class="error"><?php echo $errors['pw_reset_window']; ?></font> </td> </tr> <tr> <td><?php echo __('Multifactor Authentication'); ?>:</td> <td> <input type="checkbox" name="require_agent_2fa" <?php echo $config['require_agent_2fa'] ? 'checked="checked"' : ''; ?>> <?php echo __('Require agents to turn on 2FA'); ?> <i class="help-tip icon-question-sign" href="#require_agent_2fa"></i> </td> </tr> <tr> <td><?php echo __('Agent Excessive Logins'); ?>:</td> <td> <select name="staff_max_logins"> <?php for ($i = 1; $i <= 10; $i++) { echo sprintf('<option value="%d" %s>%d</option>', $i,(($config['staff_max_logins']==$i)?'selected="selected"':''), $i); } ?> </select> <?php echo __( 'failed login attempt(s) allowed before a lock-out is enforced'); ?> <br/> <select name="staff_login_timeout"> <?php for ($i = 1; $i <= 10; $i++) { echo sprintf('<option value="%d" %s>%d</option>', $i,(($config['staff_login_timeout']==$i)?'selected="selected"':''), $i); } ?> </select> <?php echo __('minutes locked out'); ?> </td> </tr> <tr> <td><?php echo __('Agent Session Timeout'); ?>:</td> <td> <input type="text" name="staff_session_timeout" size=6 value="<?php echo $config['staff_session_timeout']; ?>"> <?php echo __('minutes'); ?> <em><?php echo __('(0 to disable)'); ?></em>. <i class="help-tip icon-question-sign" href="#staff_session_timeout"></i> </td> </tr> <tr> <td><?php echo __('Bind Agent Session to IP'); ?>:</td> <td> <input type="checkbox" name="staff_ip_binding" <?php echo $config['staff_ip_binding']?'checked="checked"':''; ?>> <i class="help-tip icon-question-sign" href="#bind_staff_session_to_ip"></i> </td> </tr> </tbody> </table> </div> <div id="templates" class="tab_content hidden"> <table class="form_table settings_table" width="940" border="0" cellspacing="0" cellpadding="2"> <tbody> <?php $res = db_query('select distinct(`type`), id, notes, name, updated from ' .PAGE_TABLE .' where isactive=1 group by `type`'); $contents = array(); while (list($type, $id, $notes, $name, $u) = db_fetch_row($res)) $contents[$type] = array($id, $name, $notes, $u); $manage_content = function($title, $content) use ($contents) { list($id, $name, $notes, $upd) = $contents[$content]; $notes = explode('. ', $notes); $notes = $notes[0]; ?> <tr> <td colspan="2"> <div style="padding:2px 5px"> <a href="#ajax.php/content/<?php echo $id; ?>/manage" onclick="javascript: $.dialog($(this).attr('href').substr(1), 201); return false;" class="pull-left"> <i class="icon-file-text icon-2x" style="color:#bbb;"></i> </a> <span style="display:inline-block;width:90%;width:calc(100% - 32px);padding-left:10px;line-height:1.2em"> <a href="#ajax.php/content/<?php echo $id; ?>/manage" onclick="javascript: $.dialog($(this).attr('href').substr(1), 201, null, {size:'large'}); return false;"><?php echo Format::htmlchars($title); ?> </a> </span> <span class="faded"><?php echo Format::display($notes); ?> <br /> <em><?php echo sprintf(__('Last Updated %s'), Format::datetime($upd)); ?></em> </span> </div> </td> </tr> <?php }; ?> <tr> <th colspan="2"> <em><b><?php echo __( 'Authentication and Registration Templates & Pages'); ?></b></em> </th> </tr> <?php $manage_content(__('Agent Welcome Email'), 'registration-staff'); ?> <?php $manage_content(__('Sign-in Login Banner'), 'banner-staff'); ?> <?php $manage_content(__('Password Reset Email'), 'pwreset-staff'); ?> <?php $manage_content(__('Two Factor Authentication Email'), 'email2fa-staff'); ?> </tbody> </table> </div> <p style="text-align:center"> <input class="button" type="submit" name="submit" value="<?php echo __('Save Changes'); ?>"> <input class="button" type="reset" name="reset" value="<?php echo __('Reset Changes'); ?>"> </p> </div> </form>
Save