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-tasks.inc.php
<?php if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config) die('Access Denied'); if(!($maxfileuploads=ini_get('max_file_uploads'))) $maxfileuploads=DEFAULT_MAX_FILE_UPLOADS; ?> <h2><?php echo __('Task Settings and Options');?></h2> <form action="settings.php?t=tasks" method="post" class="save"> <?php csrf_token(); ?> <input type="hidden" name="t" value="tasks" > <ul class="tabs" id="tasks-tabs"> <li class="active"><a href="#settings"> <i class="icon-asterisk"></i> <?php echo __('Settings'); ?></a></li> <li><a href="#alerts"> <i class="icon-bell-alt"></i> <?php echo __('Alerts & Notices'); ?></a></li> </ul> <div id="tasks-tabs_container"> <div id="settings" class="tab_content"> <table class="form_table settings_table" width="940" border="0" cellspacing="0" cellpadding="2"> <thead> <tr> <th colspan="2"> <em><?php echo __('Global default task settings and options.'); ?></em> </th> </tr> </thead> <tbody> <tr> <td> <?php echo __('Default Task Number Format'); ?>: </td> <td> <input type="text" name="task_number_format" value="<?php echo $config['task_number_format']; ?>"/> <span class="faded"><?php echo __('e.g.'); ?> <span id="format-example"><?php if ($config['task_sequence_id']) $seq = Sequence::lookup($config['task_sequence_id']); if (!isset($seq)) $seq = new RandomSequence(); echo $seq->current($config['task_number_format']); ?></span></span> <i class="help-tip icon-question-sign" href="#number_format"></i> <div class="error"><?php echo $errors['task_number_format']; ?></div> </td> </tr> <tr><td width="220"><?php echo __('Default Task Number Sequence'); ?>:</td> <?php $selected = 'selected="selected"'; ?> <td> <select name="task_sequence_id"> <option value="0" <?php if ($config['task_sequence_id'] == 0) echo $selected; ?>>— <?php echo __('Random'); ?> —</option> <?php foreach (Sequence::objects() as $s) { ?> <option value="<?php echo $s->id; ?>" <?php if ($config['task_sequence_id'] == $s->id) echo $selected; ?>><?php echo $s->name; ?></option> <?php } ?> </select> <button class="action-button pull-right" onclick="javascript: $.dialog('ajax.php/sequence/manage', 205); return false; "><i class="icon-gear"></i> <?php echo __('Manage'); ?></button> <i class="help-tip icon-question-sign" href="#sequence_id"></i> </td> </tr> <tr> <td width="180" class="required"><?php echo __('Default Priority');?>:</td> <td> <select name="default_task_priority_id"> <?php $priorities= db_query('SELECT priority_id,priority_desc FROM '.TICKET_PRIORITY_TABLE); while (list($id,$tag) = db_fetch_row($priorities)){ ?> <option value="<?php echo $id; ?>"<?php echo ($config['default_task_priority_id']==$id)?'selected':''; ?>><?php echo $tag; ?></option> <?php } ?> </select> <span class="error"><?php echo $errors['default_task_priority_id']; ?></span> <i class="help-tip icon-question-sign" href="#default_priority"></i> </td> </tr> <tr> <th colspan="2"> <em><b><?php echo __('Attachments');?></b>:</em> </th> </tr> <tr> <td width="180"><?php echo __('Task Attachment Settings');?>:</td> <td> <?php $tform = TaskForm::objects()->one()->getForm(); $f = $tform->getField('description'); ?> <a class="action-button field-config" style="overflow:inherit" href="#ajax.php/form/field-config/<?php echo $f->get('id'); ?>" onclick="javascript: $.dialog($(this).attr('href').substr(1), [201]); return false; "><i class="icon-edit"></i> <?php echo __('Config'); ?></a> <i class="help-tip icon-question-sign" href="#task_attachment_settings"></i> </td> </tr> </tbody> </table> </div> <div id="alerts" class="tab_content" style="display:none;"> <table class="form_table settings_table" width="940" border="0" cellspacing="0" cellpadding="2"> <tbody> <tr><th><em><b><?php echo __('New Task Alert'); ?></b>: <i class="help-tip icon-question-sign" href="#task_alert"></i> </em></th></tr> <tr> <td><em><b><?php echo __('Status'); ?>:</b></em> <input type="radio" name="task_alert_active" value="1" <?php echo $config['task_alert_active'] ? 'checked="checked"' : ''; ?> /> <?php echo __('Enable'); ?> <input type="radio" name="task_alert_active" value="0" <?php echo !$config['task_alert_active'] ? 'checked="checked"' : ''; ?> /> <?php echo __('Disable'); ?> <font class="error"><?php echo $errors['task_alert_active']; ?></font></em> </td> </tr> <tr> <td> <input type="checkbox" name="task_alert_admin" <?php echo $config['task_alert_admin'] ? 'checked="checked"' : ''; ?>> <?php echo __('Admin Email'); ?> <em>(<?php echo $cfg->getAdminEmail(); ?>)</em> </td> </tr> <tr> <td> <input type="checkbox" name="task_alert_dept_manager" <?php echo $config['task_alert_dept_manager'] ? 'checked="checked"' : ''; ?>> <?php echo __('Department Manager'); ?> </td> </tr> <tr> <td> <input type="checkbox" name="task_alert_dept_members" <?php echo $config['task_alert_dept_members'] ? 'checked="checked"' : ''; ?>> <?php echo __('Department Members'); ?> </td> </tr> <tr><th><em><b><?php echo __('New Activity Alert'); ?></b>: <i class="help-tip icon-question-sign" href="#activity_alert"></i> </em></th></tr> <tr> <td><em><b><?php echo __('Status'); ?>:</b></em> <input type="radio" name="task_activity_alert_active" value="1" <?php echo $config['task_activity_alert_active'] ? 'checked="checked"' : ''; ?> /> <?php echo __('Enable'); ?> <input type="radio" name="task_activity_alert_active" value="0" <?php echo !$config['task_activity_alert_active'] ? 'checked="checked"' : ''; ?> /> <?php echo __('Disable'); ?> <font class="error"><?php echo $errors['task_activity_alert_active']; ?></font> </td> </tr> <tr> <td> <input type="checkbox" name="task_activity_alert_laststaff" <?php echo $config['task_activity_alert_laststaff'] ? 'checked="checked"' : ''; ?>> <?php echo __('Last Respondent'); ?> </td> </tr> <tr> <td> <input type="checkbox" name="task_activity_alert_assigned" <?php echo $config['task_activity_alert_assigned'] ? 'checked="checked"' : ''; ?>> <?php echo __('Assigned Agent / Team'); ?> </td> </tr> <tr> <td> <input type="checkbox" name="task_activity_alert_dept_manager" <?php echo $config['task_activity_alert_dept_manager'] ? 'checked="checked"' : ''; ?>> <?php echo __('Department Manager'); ?> </td> </tr> <tr><th><em><b><?php echo __('Task Assignment Alert'); ?></b>: <i class="help-tip icon-question-sign" href="#assignment_alert"></i> </em></th></tr> <tr> <td><em><b><?php echo __('Status'); ?>: </b></em> <input name="task_assignment_alert_active" value="1" type="radio" <?php echo $config['task_assignment_alert_active'] ? 'checked="checked"' : ''; ?>> <?php echo __('Enable'); ?> <input name="task_assignment_alert_active" value="0" type="radio" <?php echo !$config['task_assignment_alert_active'] ? 'checked="checked"' : ''; ?>> <?php echo __('Disable'); ?> <font class="error"><?php echo $errors['task_assignment_alert_active']; ?></font> </td> </tr> <tr> <td> <input type="checkbox" name="task_assignment_alert_staff" <?php echo $config['task_assignment_alert_staff'] ? 'checked="checked"' : ''; ?>> <?php echo __('Assigned Agent / Team'); ?> </td> </tr> <tr> <td> <input type="checkbox"name="task_assignment_alert_team_lead" <?php echo $config['task_assignment_alert_team_lead'] ? 'checked="checked"' : ''; ?>> <?php echo __('Team Lead'); ?> </td> </tr> <tr> <td> <input type="checkbox"name="task_assignment_alert_team_members" <?php echo $config['task_assignment_alert_team_members'] ? 'checked="checked"' : ''; ?>> <?php echo __('Team Members'); ?> </td> </tr> <tr><th><em><b><?php echo __('Task Transfer Alert'); ?></b>: <i class="help-tip icon-question-sign" href="#transfer_alert"></i> </em></th></tr> <tr> <td><em><b><?php echo __('Status'); ?>:</b></em> <input type="radio" name="task_transfer_alert_active" value="1" <?php echo $config['task_transfer_alert_active'] ? 'checked="checked"' : ''; ?> /> <?php echo __('Enable'); ?> <input type="radio" name="task_transfer_alert_active" value="0" <?php echo !$config['task_transfer_alert_active'] ? 'checked="checked"' : ''; ?> /> <?php echo __('Disable'); ?> <font class="error"><?php echo $errors['task_transfer_alert_active']; ?></font> </td> </tr> <tr> <td> <input type="checkbox" name="task_transfer_alert_assigned" <?php echo $config['task_transfer_alert_assigned']?'checked="checked"':''; ?>> <?php echo __('Assigned Agent / Team'); ?> </td> </tr> <tr> <td> <input type="checkbox" name="task_transfer_alert_dept_manager" <?php echo $config['task_transfer_alert_dept_manager'] ? 'checked="checked"' : ''; ?>> <?php echo __('Department Manager'); ?> </td> </tr> <tr> <td> <input type="checkbox" name="task_transfer_alert_dept_members" <?php echo $config['task_transfer_alert_dept_members'] ? 'checked="checked"' : ''; ?>> <?php echo __('Department Members'); ?> </td> </tr> <tr><th><em><b><?php echo __('Overdue Task Alert'); ?></b>: <i class="help-tip icon-question-sign" href="#overdue_alert"></i> </em></th></tr> <tr> <td><em><b><?php echo __('Status'); ?>:</b></em> <input type="radio" name="task_overdue_alert_active" value="1" <?php echo $config['task_overdue_alert_active'] ? 'checked="checked"' : ''; ?> /> <?php echo __('Enable'); ?> <input type="radio" name="task_overdue_alert_active" value="0" <?php echo !$config['task_overdue_alert_active'] ? 'checked="checked"' : ''; ?> /> <?php echo __('Disable'); ?> <font class="error"><?php echo $errors['task_overdue_alert_active']; ?></font> </td> </tr> <tr> <td> <input type="checkbox" name="task_overdue_alert_assigned" <?php echo $config['task_overdue_alert_assigned'] ? 'checked="checked"' : ''; ?>> <?php echo __('Assigned Agent / Team'); ?> </td> </tr> <tr> <td> <input type="checkbox" name="task_overdue_alert_dept_manager" <?php echo $config['task_overdue_alert_dept_manager'] ? 'checked="checked"' : ''; ?>> <?php echo __('Department Manager'); ?> </td> </tr> <tr> <td> <input type="checkbox" name="task_overdue_alert_dept_members" <?php echo $config['task_overdue_alert_dept_members'] ? 'checked="checked"' : ''; ?>> <?php echo __('Department Members'); ?> </td> </tr> </tbody> </table> </div> </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> </form> <script type="text/javascript"> $(function() { var request = null, update_example = function() { request && request.abort(); request = $.get('ajax.php/sequence/' + $('[name=task_sequence_id] :selected').val(), {'format': $('[name=task_number_format]').val()}, function(data) { $('#format-example').text(data); } ); }; $('[name=task_sequence_id]').on('change', update_example); $('[name=task_number_format]').on('keyup', update_example); }); </script>
Save