@@ -154,11 +154,11 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
@@ -168,7 +168,7 @@ if (isset($_GET['id']) && intval($_GET['id'])) {
Ticket closed. Please rate your ticket
-
diff --git a/post/user/contact.php b/post/user/contact.php
index 63f3358d..4815bba4 100644
--- a/post/user/contact.php
+++ b/post/user/contact.php
@@ -182,13 +182,13 @@ if (isset($_POST['edit_contact'])) {
if ($auth_method == 'azure') {
$password_info = "Login with your Microsoft (Azure AD) account.";
} elseif (empty($_POST['contact_password'])) {
- $password_info = "Request a password reset at https://$config_base_url/portal/login_reset.php";
+ $password_info = "Request a password reset at https://$config_base_url/client/login_reset.php";
} else {
$password_info = mysqli_real_escape_string($mysqli, $_POST['contact_password'] . " -- Please change on first login");
}
$subject = "Your new $company_name portal account";
- $body = "Hello $name,
$company_name has created a support portal account for you.
Username: $email
Password: $password_info
Login URL: https://$config_base_url/portal/
--
$company_name - Support
$config_ticket_from_email
$company_phone";
+ $body = "Hello $name,
$company_name has created a support portal account for you.
Username: $email
Password: $password_info
Login URL: https://$config_base_url/client/
--
$company_name - Support
$config_ticket_from_email
$company_phone";
// Queue Mail
$data = [
diff --git a/post/user/ticket.php b/post/user/ticket.php
index bd358d11..5f66f9c6 100644
--- a/post/user/ticket.php
+++ b/post/user/ticket.php
@@ -961,7 +961,7 @@ if (isset($_POST['bulk_resolve_tickets'])) {
// EMAIL
$subject = "Ticket resolved - [$ticket_prefix$ticket_number] - $ticket_subject | (pending closure)";
- $body = "
##- Please type your reply above this line -##Hello $contact_name,
Your ticket regarding \"$ticket_subject\" has been marked as solved and is pending closure.
$details
If your request/issue is resolved, you can simply ignore this email. If you need further assistance, please reply or
re-open to let us know!
Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Portal: https://$base_url/portal/ticket.php?id=$ticket_id
--
$company_name - Support
$config_ticket_from_email
$company_phone";
+ $body = "
##- Please type your reply above this line -##Hello $contact_name,
Your ticket regarding \"$ticket_subject\" has been marked as solved and is pending closure.
$details
If your request/issue is resolved, you can simply ignore this email. If you need further assistance, please reply or
re-open to let us know!
Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Portal: https://$base_url/client/ticket.php?id=$ticket_id
--
$company_name - Support
$config_ticket_from_email
$company_phone";
// Check email valid
if (filter_var($contact_email, FILTER_VALIDATE_EMAIL)) {
@@ -1758,7 +1758,7 @@ if (isset($_GET['close_ticket'])) {
// EMAIL
$subject = "Ticket closed - [$ticket_prefix$ticket_number] - $ticket_subject | (do not reply)";
//$body = "Hello $contact_name,
Your ticket regarding \"$ticket_subject\" has been closed.
We hope the request/issue was resolved to your satisfaction. If you need further assistance, please raise a new ticket using the below details. Please do not reply to this email.
Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Portal: https://$config_base_url/portal/ticket.php?id=$ticket_id
--
$company_name - Support
$config_ticket_from_email
$company_phone";
- $body = "Hello $contact_name,
Your ticket regarding \"$ticket_subject\" has been closed.
We hope the request/issue was resolved to your satisfaction, please provide your feedback
here.
If you need further assistance, please raise a new ticket using the below details. Please do not reply to this email.
Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Portal: https://$config_base_url/portal/ticket.php?id=$ticket_id
--
$company_name - Support
$config_ticket_from_email
$company_phone";
+ $body = "Hello $contact_name,
Your ticket regarding \"$ticket_subject\" has been closed.
We hope the request/issue was resolved to your satisfaction, please provide your feedback
here.
If you need further assistance, please raise a new ticket using the below details. Please do not reply to this email.
Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Portal: https://$config_base_url/client/ticket.php?id=$ticket_id
--
$company_name - Support
$config_ticket_from_email
$company_phone";
// Check email valid
if (filter_var($contact_email, FILTER_VALIDATE_EMAIL)) {
@@ -2087,7 +2087,7 @@ if (isset($_GET['force_recurring_ticket'])) {
if (!empty($config_smtp_host) && $config_ticket_client_general_notifications == 1 && filter_var($contact_email, FILTER_VALIDATE_EMAIL)) {
$email_subject = "Ticket created - [$ticket_prefix$ticket_number] - $ticket_subject (scheduled)";
- $email_body = "
##- Please type your reply above this line -##Hello $contact_name,
A ticket regarding \"$ticket_subject\" has been automatically created for you.
--------------------------------
$ticket_details--------------------------------
Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Status: Open
Portal: https://$config_base_url/portal/ticket.php?id=$id
--
$company_name - Support
$config_ticket_from_email
$company_phone";
+ $email_body = "
##- Please type your reply above this line -##Hello $contact_name,
A ticket regarding \"$ticket_subject\" has been automatically created for you.
--------------------------------
$ticket_details--------------------------------
Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
Status: Open
Portal: https://$config_base_url/client/ticket.php?id=$id
--
$company_name - Support
$config_ticket_from_email
$company_phone";
$email = [
'from' => $config_ticket_from_email,
@@ -2230,7 +2230,7 @@ if (isset($_POST['edit_ticket_schedule'])) {
$onsite = intval($_POST['onsite']);
$schedule = sanitizeInput($_POST['scheduled_date_time']);
$ticket_link = "ticket.php?ticket_id=$ticket_id";
- $full_ticket_url = "https://$config_base_url/portal/ticket.php?ticket_id=$ticket_id";
+ $full_ticket_url = "https://$config_base_url/client/ticket.php?ticket_id=$ticket_id";
$ticket_link_html = "
$ticket_link";
mysqli_query($mysqli,"UPDATE tickets
@@ -2309,7 +2309,7 @@ if (isset($_POST['edit_ticket_schedule'])) {
Your ticket regarding $ticket_subject has been scheduled for $email_datetime.