<h2>Alerts and Notices</h2> <form action="settings.php?t=alerts" method="post" id="save"> <?php csrf_token(); ?> <input type="hidden" name="t" value="alerts" > <table class="form_table settings_table" width="940" border="0" cellspacing="0" cellpadding="2"> <thead> <tr> <th> <h4>Alerts and Notices sent to staff on ticket "events"</h4> </th> </tr> </thead> <tbody> <tr><th><em><b>New Ticket Alert</b>: <i class="help-tip icon-question-sign" href="#new_ticket"></i> </em></th></tr> <tr> <td><em><b>Status:</b></em> <input type="radio" name="ticket_alert_active" value="1" <?php echo $config['ticket_alert_active']?'checked':''; ?> />Enable <input type="radio" name="ticket_alert_active" value="0" <?php echo !$config['ticket_alert_active']?'checked':''; ?> />Disable <font class="error"> <?php echo $errors['ticket_alert_active']; ?></font></em> </td> </tr> <tr> <td> <input type="checkbox" name="ticket_alert_admin" <?php echo $config['ticket_alert_admin']?'checked':''; ?>> Admin Email <em>(<?php echo $cfg->getAdminEmail(); ?>)</em> </td> </tr> <tr> <td> <input type="checkbox" name="ticket_alert_dept_manager" <?php echo $config['ticket_alert_dept_manager']?'checked':''; ?>> Department Manager </td> </tr> <tr> <td> <input type="checkbox" name="ticket_alert_dept_members" <?php echo $config['ticket_alert_dept_members']?'checked':''; ?>> Department Members <em>(spammy)</em> </td> </tr> <tr><th><em><b>New Message Alert</b>: <i class="help-tip icon-question-sign" href="#new_message"></i> </em></th></tr> <tr> <td><em><b>Status:</b></em> <input type="radio" name="message_alert_active" value="1" <?php echo $config['message_alert_active']?'checked':''; ?> />Enable <input type="radio" name="message_alert_active" value="0" <?php echo !$config['message_alert_active']?'checked':''; ?> />Disable </td> </tr> <tr> <td> <input type="checkbox" name="message_alert_laststaff" <?php echo $config['message_alert_laststaff']?'checked':''; ?>> Last Respondent </td> </tr> <tr> <td> <input type="checkbox" name="message_alert_assigned" <?php echo $config['message_alert_assigned']?'checked':''; ?>> Assigned Staff </td> </tr> <tr> <td> <input type="checkbox" name="message_alert_dept_manager" <?php echo $config['message_alert_dept_manager']?'checked':''; ?>> Department Manager <em>(spammy)</em> </td> </tr> <tr><th><em><b>New Internal Note Alert</b>: <i class="help-tip icon-question-sign" href="#new_activity"></i> </em></th></tr> <tr> <td><em><b>Status:</b></em> <input type="radio" name="note_alert_active" value="1" <?php echo $config['note_alert_active']?'checked':''; ?> />Enable <input type="radio" name="note_alert_active" value="0" <?php echo !$config['note_alert_active']?'checked':''; ?> />Disable <font class="error"> <?php echo $errors['note_alert_active']; ?></font> </td> </tr> <tr> <td> <input type="checkbox" name="note_alert_laststaff" <?php echo $config['note_alert_laststaff']?'checked':''; ?>> Last Respondent </td> </tr> <tr> <td> <input type="checkbox" name="note_alert_assigned" <?php echo $config['note_alert_assigned']?'checked':''; ?>> Assigned Staff </td> </tr> <tr> <td> <input type="checkbox" name="note_alert_dept_manager" <?php echo $config['note_alert_dept_manager']?'checked':''; ?>> Department Manager <em>(spammy)</em> </td> </tr> <tr><th><em><b>Ticket Assignment Alert</b>: <i class="help-tip icon-question-sign" href="#assign_alert"></i> </em></th></tr> <tr> <td><em><b>Status: </b></em> <input name="assigned_alert_active" value="1" type="radio" <?php echo $config['assigned_alert_active']?'checked="checked"':''; ?>>Enable <input name="assigned_alert_active" value="0" type="radio" <?php echo !$config['assigned_alert_active']?'checked="checked"':''; ?>>Disable <font class="error"> <?php echo $errors['assigned_alert_active']; ?></font> </td> </tr> <tr> <td> <input type="checkbox" name="assigned_alert_staff" <?php echo $config['assigned_alert_staff']?'checked':''; ?>> Assigned Staff </td> </tr> <tr> <td> <input type="checkbox"name="assigned_alert_team_lead" <?php echo $config['assigned_alert_team_lead']?'checked':''; ?>>Team Lead <em>(On team assignment)</em> </td> </tr> <tr> <td> <input type="checkbox"name="assigned_alert_team_members" <?php echo $config['assigned_alert_team_members']?'checked':''; ?>> Team Members <em>(spammy)</em> </td> </tr> <tr><th><em><b>Ticket Transfer Alert</b>: <i class="help-tip icon-question-sign" href="#transfer_alert"></i> </em></th></tr> <tr> <td><em><b>Status:</b></em> <input type="radio" name="transfer_alert_active" value="1" <?php echo $config['transfer_alert_active']?'checked':''; ?> />Enable <input type="radio" name="transfer_alert_active" value="0" <?php echo !$config['transfer_alert_active']?'checked':''; ?> />Disable <font class="error"> <?php echo $errors['alert_alert_active']; ?></font> </td> </tr> <tr> <td> <input type="checkbox" name="transfer_alert_assigned" <?php echo $config['transfer_alert_assigned']?'checked':''; ?>> Assigned Staff/Team </td> </tr> <tr> <td> <input type="checkbox" name="transfer_alert_dept_manager" <?php echo $config['transfer_alert_dept_manager']?'checked':''; ?>> Department Manager </td> </tr> <tr> <td> <input type="checkbox" name="transfer_alert_dept_members" <?php echo $config['transfer_alert_dept_members']?'checked':''; ?>> Department Members <em>(spammy)</em> </td> </tr> <tr><th><em><b>Overdue Ticket Alert</b>: <i class="help-tip icon-question-sign" href="#stale_alert"></i> </em></th></tr> <tr> <td><em><b>Status:</b></em> <input type="radio" name="overdue_alert_active" value="1" <?php echo $config['overdue_alert_active']?'checked':''; ?> />Enable <input type="radio" name="overdue_alert_active" value="0" <?php echo !$config['overdue_alert_active']?'checked':''; ?> />Disable <font class="error"> <?php echo $errors['overdue_alert_active']; ?></font> </td> </tr> <tr> <td> <input type="checkbox" name="overdue_alert_assigned" <?php echo $config['overdue_alert_assigned']?'checked':''; ?>> Assigned Staff/Team </td> </tr> <tr> <td> <input type="checkbox" name="overdue_alert_dept_manager" <?php echo $config['overdue_alert_dept_manager']?'checked':''; ?>> Department Manager </td> </tr> <tr> <td> <input type="checkbox" name="overdue_alert_dept_members" <?php echo $config['overdue_alert_dept_members']?'checked':''; ?>> Department Members <em>(spammy)</em> </td> </tr> <tr><th><em><b>System Alerts</b>: <i class="help-tip icon-question-sign" href="#meltdowns"></i> </em></th></tr> <tr> <td> <input type="checkbox" name="send_sys_errors" checked="checked" disabled="disabled">System Errors </td> </tr> <tr> <td> <input type="checkbox" name="send_sql_errors" <?php echo $config['send_sql_errors']?'checked':''; ?>>SQL errors </td> </tr> <tr> <td> <input type="checkbox" name="send_login_errors" <?php echo $config['send_login_errors']?'checked':''; ?>>Excessive Login attempts </td> </tr> </tbody> </table> <p style="padding-left:350px;"> <input class="button" type="submit" name="submit" value="Save Changes"> <input class="button" type="reset" name="reset" value="Reset Changes"> </p> </form>