|
|
@ -256,6 +256,14 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
|
|
|
<label for="default_notify_customer_email" class="col-sm-3 control-label"><?php echo $hesklang['notify_customer_email']; ?>:</label>
|
|
|
|
|
|
|
|
<div class="col-sm-9">
|
|
|
|
|
|
|
|
<div class="checkbox">
|
|
|
|
|
|
|
|
<label><input type="checkbox" name="default_notify_customer_email" value="1" <?php if (!empty($_SESSION['new']['default_notify_customer_email'])) {echo 'checked="checked"';}?>> <?php echo $hesklang['notify_customer_email_text']; ?></label>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="autoRefresh" class="col-sm-3 control-label"><?php echo $hesklang['ticket_auto_refresh']; ?></label>
|
|
|
|
<label for="autoRefresh" class="col-sm-3 control-label"><?php echo $hesklang['ticket_auto_refresh']; ?></label>
|
|
|
@ -412,6 +420,7 @@ function update_profile() {
|
|
|
|
$_SESSION['new']['notify_assigned'] = empty($_POST['notify_assigned']) ? 0 : 1;
|
|
|
|
$_SESSION['new']['notify_assigned'] = empty($_POST['notify_assigned']) ? 0 : 1;
|
|
|
|
$_SESSION['new']['notify_note'] = empty($_POST['notify_note']) ? 0 : 1;
|
|
|
|
$_SESSION['new']['notify_note'] = empty($_POST['notify_note']) ? 0 : 1;
|
|
|
|
$_SESSION['new']['notify_pm'] = empty($_POST['notify_pm']) ? 0 : 1;
|
|
|
|
$_SESSION['new']['notify_pm'] = empty($_POST['notify_pm']) ? 0 : 1;
|
|
|
|
|
|
|
|
$_SESSION['new']['default_notify_customer_email'] = empty($_POST['default_notify_customer_email']) ? 0 : 1;
|
|
|
|
|
|
|
|
|
|
|
|
/* Any errors? */
|
|
|
|
/* Any errors? */
|
|
|
|
if (strlen($hesk_error_buffer))
|
|
|
|
if (strlen($hesk_error_buffer))
|
|
|
@ -441,7 +450,8 @@ function update_profile() {
|
|
|
|
`notify_reply_my`='".intval($_SESSION['new']['notify_reply_my'])."' ,
|
|
|
|
`notify_reply_my`='".intval($_SESSION['new']['notify_reply_my'])."' ,
|
|
|
|
`notify_assigned`='".intval($_SESSION['new']['notify_assigned'])."' ,
|
|
|
|
`notify_assigned`='".intval($_SESSION['new']['notify_assigned'])."' ,
|
|
|
|
`notify_pm`='".intval($_SESSION['new']['notify_pm'])."',
|
|
|
|
`notify_pm`='".intval($_SESSION['new']['notify_pm'])."',
|
|
|
|
`notify_note`='".intval($_SESSION['new']['notify_note'])."'
|
|
|
|
`notify_note`='".intval($_SESSION['new']['notify_note'])."',
|
|
|
|
|
|
|
|
`default_notify_customer_email`='".intval($_SESSION['new']['default_notify_customer_email'])."'
|
|
|
|
WHERE `id`='".intval($_SESSION['id'])."' LIMIT 1"
|
|
|
|
WHERE `id`='".intval($_SESSION['id'])."' LIMIT 1"
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|