PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
osta
/
old
/
include
/
staff
/
templates
<?php if (!$email) return; if (isset($errors['mailbox_auth'])) { echo sprintf('<p id="msg_error">%s</p>', $errors['mailbox_auth']); } ?> <div> <table class="form_table" width="940" border="0" cellspacing="0" cellpadding="2"> <tbody> <tr> <th colspan="2"> <em><strong><?php echo __('Mailbox Setting'); ?></strong> <i class="help-tip icon-question-sign" href="#mail_account"></i> <font class="error"><?php echo $errors['mailbox_err']; ?></font></em> </th> </tr> </tbody> <tbody> <tr><td><?php echo __('Hostname'); ?></td> <td> <span> <input type="text" name="mailbox_host" size=35 value="<?php echo $info['mailbox_host']; ?>"> <i class="help-tip icon-question-sign" href="#host_and_port"></i> <font class="error"><?php echo $errors['mailbox_host']; ?></font> </span> </td> </tr> <tr><td><?php echo __('Port Number'); ?></td> <td><input type="text" name="mailbox_port" size=6 value="<?php echo $info['mailbox_port'] ?: ''; ?>"> <span> <i class="help-tip icon-question-sign" href="#host_and_port"></i> <font class="error"><?php echo $errors['mailbox_port']; ?></font> </span> </td> </tr> <tr><td><?php echo __('Mail Folder'); ?></td> <td> <span> <input type="text" name="mailbox_folder" size=20 value="<?php echo $info['mailbox_folder']; ?>" placeholder="INBOX"> <i class="help-tip icon-question-sign" href="#mailbox_folder"></i> <font class="error"><?php echo $errors['mailbox_folder']; ?></font> </span> </td> </tr> <tr><td><?php echo __('Protocol'); ?></td> <td> <span> <select name="mailbox_protocol"> <option value=''>— <?php echo __('Select protocol'); ?> —</option> <?php foreach (Email::mailboxProtocols() as $proto => $desc) { ?> <option value="<?php echo $proto; ?>" <?php if ($info['mailbox_protocol'] == $proto) echo 'selected="selected"'; ?>><?php echo $desc; ?></option> <?php } ?> </select> <i class="help-tip icon-question-sign" href="#protocol"></i> <font class="error"><?php echo $errors['mailbox_protocol']; ?></font> </span> </td> </tr> <tr> <td> <?php echo __('Authentication'); ?> </td> <td> <select class="emailauth" name="mailbox_auth_bk"> <option value=''>— <?php echo __('Select Type'); ?> —</option> <?php foreach (Email::getSupportedAuthTypes() as $auth => $desc) { ?> <option value="<?php echo $auth; ?>" <?php if ($info['mailbox_auth_bk'] == $auth) echo 'selected="selected"'; ?>><?php echo $desc; ?></option> <?php } ?> </select> <i class="help-tip icon-question-sign" href="#authentication"></i> <a class="action-button auth_config" id="mailbox_auth_bk_config" data-type="mailbox" data-orig="<?php echo $info['mailbox_auth_bk'];?>" style="overflow:inherit; display:<?php echo $info['mailbox_auth_bk'] ? 'block-inline': 'none' ?>;" href="#<?php echo $info['mailbox_auth_bk']; ?>"> <i class="icon-edit"></i> <?php echo __('Config'); ?> </a> <font class="error"><?php echo $errors['mailbox_auth_bk']; ?></font> </td> </tr> <tr> <th colspan="2"> <em><strong><?php echo __('Email Fetching'); ?></strong></em> </th> </tr> <tr> <td width="180"><?php echo __('Status'); ?></td> <td> <label><input type="radio" name="mailbox_active" value="1" <?php echo $info['mailbox_active'] ? 'checked="checked"' : ''; ?> /> <?php echo __('Enable'); ?></label> <label><input type="radio" name="mailbox_active" value="0" <?php echo !$info['mailbox_active'] ? 'checked="checked"' : ''; ?>/> <?php echo __('Disable'); ?></label> <font class="error"><?php echo $errors['mailbox_active']; ?></font> </td> </tr> <tr><td><?php echo __('Fetch Frequency'); ?></td> <td> <span> <input type="text" name="mailbox_fetchfreq" size=4 value="<?php echo $info['mailbox_fetchfreq'] ?: ''; ?>"> <?php echo __('minutes'); ?> <i class="help-tip icon-question-sign" href="#fetch_frequency"></i> <font class="error"><?php echo $errors['mailbox_fetchfreq']; ?></font> </span> </td> </tr> <tr><td><?php echo __('Emails Per Fetch'); ?></td> <td> <span> <input type="text" name="mailbox_fetchmax" size=4 value="<?php echo $info['mailbox_fetchmax']?$info['mailbox_fetchmax']:''; ?>"> <i class="help-tip icon-question-sign" href="#emails_per_fetch"></i> <font class="error"><?php echo $errors['mailbox_fetchmax']; ?></font> </span> </td> </tr> <tr><td valign="top"><?php echo __('Fetched Emails');?></td> <td> <select id="postfetch" name="mailbox_postfetch"> <option value=''>— <?php echo __('Select Action'); ?> —</option> <?php $actions = [ 'archive' => sprintf('%s - %s', __('Archive'), __('Move to folder')), 'delete' => __('Delete emails'), 'nothing' => sprintf('%s (%s)', __('Do Nothing'), __('not recommended'))]; foreach ($actions as $action => $desc) {?> <option value="<?php echo $action;?>" <?php echo ($info['mailbox_postfetch'] == $action) ? 'selected="selected"': ''; ?>> <?php echo $desc;?></option> <?php } ?> </select> <i class="help-tip icon-question-sign" href="#fetched_emails"></i> <span id="archive_folder" style="margin-left:5px; overflow:inherit; display:<?php echo $info['mailbox_postfetch'] == 'archive' ? 'block-inline': 'none'; ?>;"> <input type="text" name="mailbox_archivefolder" size="20" value="<?php echo $info['mailbox_archivefolder']; ?>"/></label> <font class="error"><?php echo $errors['mailbox_archivefolder']; ?></font> </span><br> <font class="error"><?php echo $errors['mailbox_postfetch']; ?></font> </td> </tr> </tbody> </table> </div>
[+]
..
[-] queue-export.tmpl.php
[edit]
[-] queue-preview.tmpl.php
[edit]
[-] queue-column-condition.tmpl.php
[edit]
[-] queue-sorting-add.tmpl.php
[edit]
[-] refer.tmpl.php
[edit]
[-] form-manage.tmpl.php
[edit]
[-] confirm.tmpl.php
[edit]
[-] queue-column-condition-prop.tmpl.php
[edit]
[-] user-lookup.tmpl.php
[edit]
[-] thread-entry.tmpl.php
[edit]
[-] quick-add-role.tmpl.php
[edit]
[-] simple-form.tmpl.php
[edit]
[-] sequence-manage.tmpl.php
[edit]
[-] reset-agent-permissions.tmpl.php
[edit]
[-] email-basicauth.tmpl.php
[edit]
[-] user-register.tmpl.php
[edit]
[-] thread-entry-edit.tmpl.php
[edit]
[-] queue-savedsearches-nav.tmpl.php
[edit]
[-] assign.tmpl.php
[edit]
[-] user-delete.tmpl.php
[edit]
[-] tickets.tmpl.php
[edit]
[-] export.tmpl.php
[edit]
[-] ticket-status.tmpl.php
[edit]
[-] merge-tickets.tmpl.php
[edit]
[-] notes.tmpl.php
[edit]
[-] queue-column-add.tmpl.php
[edit]
[-] user-import.tmpl.php
[edit]
[-] queue-fields.tmpl.php
[edit]
[-] dynamic-form-simple.tmpl.php
[edit]
[-] queue-quickfilter.tmpl.php
[edit]
[-] merge-preview.tmpl.php
[edit]
[-] field-edit.tmpl.php
[edit]
[-] org.tmpl.php
[edit]
[-] list-import.tmpl.php
[edit]
[-] thread-event.tmpl.php
[edit]
[-] tickets-actions.tmpl.php
[edit]
[-] queue-column-edit.tmpl.php
[edit]
[-] status-options.tmpl.php
[edit]
[-] navigation.tmpl.php
[edit]
[-] field-view.tmpl.php
[edit]
[-] tasks-queue-sort.tmpl.php
[edit]
[-] ticket-preview.tmpl.php
[edit]
[-] list-items.tmpl.php
[edit]
[-] thread-entries.tmpl.php
[edit]
[-] queue-tickets.tmpl.php
[edit]
[-] list-item-properties.tmpl.php
[edit]
[-] email-smtp.tmpl.php
[edit]
[-] release.tmpl.php
[edit]
[-] advanced-search.tmpl.php
[edit]
[-] schedule-holidays.tmpl.php
[edit]
[-] delete.tmpl.php
[edit]
[-] plugin-instance-modal.tmpl.php
[edit]
[-] thread-entry-view.tmpl.php
[edit]
[-] list-item-row.tmpl.php
[edit]
[-] faq-print.tmpl.php
[edit]
[-] sub-navigation.tmpl.php
[edit]
[-] plugin-instances.tmpl.php
[edit]
[-] collaborators.tmpl.php
[edit]
[-] list-item-preview.tmpl.php
[edit]
[-] task-edit.tmpl.php
[edit]
[-] set-password.tmpl.php
[edit]
[-] users.tmpl.php
[edit]
[-] queue-sort.tmpl.php
[edit]
[-] dynamic-field-config.tmpl.php
[edit]
[-] thread-email-recipients.tmpl.php
[edit]
[-] task-print.tmpl.php
[edit]
[-] org-delete.tmpl.php
[edit]
[-] 2fas.tmpl.php
[edit]
[-] advanced-search-criteria.tmpl.php
[edit]
[-] mark-as.tmpl.php
[edit]
[-] queue-subnavigation.tmpl.php
[edit]
[-] user-account.tmpl.php
[edit]
[-] queue-sorting.tmpl.php
[edit]
[-] advanced-search-field.tmpl.php
[edit]
[-] schedule-diagnostic.tmpl.php
[edit]
[-] schedule-entry.tmpl.php
[edit]
[-] inline-form.tmpl.php
[edit]
[-] task-view.tmpl.php
[edit]
[-] dynamic-form.tmpl.php
[edit]
[-] queue-navigation.tmpl.php
[edit]
[-] quick-add.tmpl.php
[edit]
[-] note.tmpl.php
[edit]
[-] thread-email-headers.tmpl.php
[edit]
[-] queue-sorting-edit.tmpl.php
[edit]
[-] queue-columns.tmpl.php
[edit]
[-] email-oauth2auth.tmpl.php
[edit]
[-] org-lookup.tmpl.php
[edit]
[-] user.tmpl.php
[edit]
[-] thread-entries-preview.tmpl.php
[edit]
[-] dynamic-form-fields-view.tmpl.php
[edit]
[-] savedqueue-settings.tmpl.php
[edit]
[-] tasks-actions.tmpl.php
[edit]
[-] thread-entry-resend.tmpl.php
[edit]
[-] plugin-instance.tmpl.php
[edit]
[-] content-manage.tmpl.php
[edit]
[-] timezone.tmpl.php
[edit]
[-] schedule-add.tmpl.php
[edit]
[-] task-status.tmpl.php
[edit]
[-] email-mailbox.tmpl.php
[edit]
[-] transfer.tmpl.php
[edit]
[-] collaborators-preview.tmpl.php
[edit]
[-] task.tmpl.php
[edit]
[-] org-profile.tmpl.php
[edit]
[-] queue-column.tmpl.php
[edit]
[-] schedule-entries.tmpl.php
[edit]
[-] task-preview.tmpl.php
[edit]
[-] ticket-print.tmpl.php
[edit]