golden hour
/home/doctorbruno/public_html/taeionline.com/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-emails.inc.php
<?php if(!defined('OSTADMININC') || !$thisstaff || !$thisstaff->isAdmin() || !$config) die('Access Denied'); ?> <h2><?php echo __('Email Settings and Options');?></h2> <form action="emailsettings.php" method="post" class="save"> <?php csrf_token(); ?> <input type="hidden" name="t" value="emails" > <table class="form_table settings_table" width="940" border="0" cellspacing="0" cellpadding="2"> <thead> <tr> <th colspan="2"> <em><?php echo __('Note that some of the global settings can be overridden at department/email level.');?></em> </th> </tr> </thead> <tbody> <tr> <td width="180" class="required"><?php echo __('Default Template Set'); ?>:</td> <td> <select name="default_template_id"> <option value="">— <?php echo __('Select Default Email Template Set'); ?> —</option> <?php $sql='SELECT tpl_id, name FROM '.EMAIL_TEMPLATE_GRP_TABLE .' WHERE isactive =1 ORDER BY name'; if(($res=db_query($sql)) && db_num_rows($res)){ while (list($id, $name) = db_fetch_row($res)){ $selected = ($config['default_template_id']==$id)?'selected="selected"':''; ?> <option value="<?php echo $id; ?>"<?php echo $selected; ?>><?php echo $name; ?></option> <?php } } ?> </select> <font class="error">* <?php echo $errors['default_template_id']; ?></font> <i class="help-tip icon-question-sign" href="#default_email_templates"></i> </td> </tr> <tr> <td width="180" class="required"><?php echo __('Default System Email');?>:</td> <td> <select name="default_email_id"> <option value=0 disabled><?php echo __('Select One');?></option> <?php $sql='SELECT email_id,email,name FROM '.EMAIL_TABLE; if(($res=db_query($sql)) && db_num_rows($res)){ while (list($id,$email,$name) = db_fetch_row($res)){ $email=$name?"$name <$email>":$email; ?> <option value="<?php echo $id; ?>"<?php echo ($config['default_email_id']==$id)?'selected="selected"':''; ?>><?php echo $email; ?></option> <?php } } ?> </select> <font class="error">* <?php echo $errors['default_email_id']; ?></font> <i class="help-tip icon-question-sign" href="#default_system_email"></i> </td> </tr> <tr> <td width="180" class="required"><?php echo __('Default Alert Email');?>:</td> <td> <select name="alert_email_id"> <option value="0" selected="selected"><?php echo __('Use Default System Email (above)');?></option> <?php $sql='SELECT email_id,email,name FROM '.EMAIL_TABLE.' WHERE email_id != '.db_input($config['default_email_id']); if(($res=db_query($sql)) && db_num_rows($res)){ while (list($id,$email,$name) = db_fetch_row($res)){ $email=$name?"$name <$email>":$email; ?> <option value="<?php echo $id; ?>"<?php echo ($config['alert_email_id']==$id)?'selected="selected"':''; ?>><?php echo $email; ?></option> <?php } } ?> </select> <font class="error">* <?php echo $errors['alert_email_id']; ?></font> <i class="help-tip icon-question-sign" href="#default_alert_email"></i> </td> </tr> <tr> <td width="180" class="required"><?php echo __("Admin's Email Address");?>:</td> <td> <input type="text" size=40 name="admin_email" value="<?php echo $config['admin_email']; ?>"> <font class="error">* <?php echo $errors['admin_email']; ?></font> <i class="help-tip icon-question-sign" href="#admins_email_address"></i> </td> </tr> <tr> <td width="180" class="required"><?php echo __("Verify Email Addresses");?>:</td> <td> <input type="checkbox" name="verify_email_addrs" <?php if ($config['verify_email_addrs']) echo 'checked="checked"'; ?>> <?php echo __('Verify email address domain'); ?> <i class="help-tip icon-question-sign" href="#verify_email_addrs"></i> </td> </tr> <tr><th colspan=2><em><strong><?php echo __('Incoming Emails'); ?>:</strong> </em></th> <tr> <td width="180"><?php echo __('Email Fetching'); ?>:</td> <td><input type="checkbox" name="enable_mail_polling" value=1 <?php echo $config['enable_mail_polling']? 'checked="checked"': ''; ?>> <?php echo __('Enable'); ?> <i class="help-tip icon-question-sign" href="#email_fetching"></i> <input type="checkbox" name="enable_auto_cron" <?php echo $config['enable_auto_cron']?'checked="checked"':''; ?>> <?php echo __('Fetch on auto-cron'); ?> <i class="help-tip icon-question-sign" href="#enable_autocron_fetch"></i> </td> </tr> <tr> <td width="180"><?php echo __('Strip Quoted Reply');?>:</td> <td> <input type="checkbox" name="strip_quoted_reply" <?php echo $config['strip_quoted_reply'] ? 'checked="checked"':''; ?>> <?php echo __('Enable'); ?> <i class="help-tip icon-question-sign" href="#strip_quoted_reply"></i> <font class="error"> <?php echo $errors['strip_quoted_reply']; ?></font> </td> </tr> <tr> <td width="180"><?php echo __('Reply Separator Tag');?>:</td> <td><input type="text" name="reply_separator" value="<?php echo $config['reply_separator']; ?>"> <font class="error"> <?php echo $errors['reply_separator']; ?></font> <i class="help-tip icon-question-sign" href="#reply_separator_tag"></i> </td> </tr> <tr> <td width="180"><?php echo __('Emailed Tickets Priority'); ?>:</td> <td> <input type="checkbox" name="use_email_priority" value="1" <?php echo $config['use_email_priority'] ?'checked="checked"':''; ?>> <?php echo __('Enable'); ?> <i class="help-tip icon-question-sign" href="#emailed_tickets_priority"></i> </td> </tr> <tr> <td width="180"><?php echo __('Accept All Emails'); ?>:</td> <td><input type="checkbox" name="accept_unregistered_email" <?php echo $config['accept_unregistered_email'] ? 'checked="checked"' : ''; ?>/> <?php echo __('Accept email from unknown Users'); ?> <i class="help-tip icon-question-sign" href="#accept_all_emails"></i> </td> </tr> <tr> <td width="180"><?php echo __('Accept Email Collaborators'); ?>:</td> <td><input type="checkbox" name="add_email_collabs" <?php echo $config['add_email_collabs'] ? 'checked="checked"' : ''; ?>/> <?php echo __('Automatically add collaborators from email fields'); ?> <i class="help-tip icon-question-sign" href="#accept_email_collaborators"></i> </tr> <tr><th colspan=2><em><strong><?php echo __('Outgoing Email');?></strong>: <?php echo __('Default email only applies to outgoing emails without SMTP setting.');?></em></th></tr> <tr><td width="180"><?php echo __('Default MTA'); ?>:</td> <td> <select name="default_smtp_id"> <option value=0 selected="selected"><?php echo __('None: Use PHP mail function');?></option> <?php $accounts = SmtpAccount::objects()->filter(['active' => 1]); foreach ($accounts as $account) { if (!($email=$account->getEmail())) continue; $id = $account->getId(); $addr = sprintf('%s <%s>', $email->getName(), $email->getEmail()); ?> <option value="<?php echo $id; ?>"<?php echo ($config['default_smtp_id'] == $id) ? 'selected="selected"' : ''; ?>><?php echo $addr; ?></option> <?php } ?> </select> <font class="error"> <?php echo $errors['default_smtp_id']; ?></font> <i class="help-tip icon-question-sign" href="#default_mta"></i> </td> </tr> <tr> <td width="180"><?php echo __('Attachments');?>:</td> <td> <input type="checkbox" name="email_attachments" <?php echo $config['email_attachments']?'checked="checked"':''; ?>> <?php echo __('Email attachments to the user'); ?> <i class="help-tip icon-question-sign" href="#ticket_response_files"></i> </td> </tr> </tbody> </table> <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>
Save