@@ -104,7 +104,7 @@
Administration
-
Account
+
Account
Logout
diff --git a/index.php b/index.php
index cb81e850..dac0e37c 100644
--- a/index.php
+++ b/index.php
@@ -9,7 +9,7 @@ if (file_exists("config.php")) {
// If they are an app user, send them to their start page
if (isset($_SESSION['logged'])) {
require_once "includes/load_global_settings.php";
- header("Location: /user/$config_start_page");
+ header("Location: /agent/$config_start_page");
// If they're a client, send them to the client area
} elseif (isset($_SESSION['client_logged_in'])) {
diff --git a/login.php b/login.php
index c18c003f..f4a8f541 100644
--- a/login.php
+++ b/login.php
@@ -218,7 +218,7 @@ if (isset($_POST['login'])) {
if (isset($_GET['last_visited'])) {
redirect($_SERVER["REQUEST_SCHEME"] . "://" . $config_base_url . base64_decode($_GET['last_visited']) );
} else {
- redirect("user/$config_start_page");
+ redirect("agent/$config_start_page");
}
} else {
diff --git a/modals/notifications.php b/modals/notifications.php
index dce12ddc..2276a5aa 100644
--- a/modals/notifications.php
+++ b/modals/notifications.php
@@ -86,11 +86,11 @@ ob_start();
]; ?>" class="btn btn-primary">
Dismiss all
-
+
See all Notifications
-
+
See Dismissed Notifications
diff --git a/scripts/cron.php b/scripts/cron.php
index 9b35f0a7..624e090b 100644
--- a/scripts/cron.php
+++ b/scripts/cron.php
@@ -388,7 +388,7 @@ if (mysqli_num_rows($sql_recurring_tickets) > 0) {
if (filter_var($config_ticket_new_ticket_notification_email, FILTER_VALIDATE_EMAIL)) {
$email_subject = "ITFlow - New Recurring Ticket - $client_name: $ticket_subject";
- $email_body = "Hello,
This is a notification that a recurring (scheduled) ticket has been raised in ITFlow.
Ticket: $ticket_prefix$ticket_number
Client: $client_name
Priority: $priority
Link: https://$config_base_url/user/ticket.php?ticket_id=$id
--------------------------------
$ticket_subject$ticket_details";
+ $email_body = "Hello,
This is a notification that a recurring (scheduled) ticket has been raised in ITFlow.
Ticket: $ticket_prefix$ticket_number
Client: $client_name
Priority: $priority
Link: https://$config_base_url/agent/ticket.php?ticket_id=$id
--------------------------------
$ticket_subject$ticket_details";
$email = [
'from' => $config_ticket_from_email,
diff --git a/scripts/cron_ticket_email_parser.php b/scripts/cron_ticket_email_parser.php
index 72300f83..51adc6b7 100644
--- a/scripts/cron_ticket_email_parser.php
+++ b/scripts/cron_ticket_email_parser.php
@@ -174,7 +174,7 @@ function addTicket($contact_id, $contact_name, $contact_email, $client_id, $date
$client_name = sanitizeInput($client_row['client_name']);
}
$email_subject = "$config_app_name - New Ticket - $client_name: $subject";
- $email_body = "Hello,
This is a notification that a new ticket has been raised in ITFlow.
Client: $client_name
Priority: Low (email parsed)
Link: https://$config_base_url/user/ticket.php?ticket_id=$id
--------------------------------
$subject$message";
+ $email_body = "Hello,
This is a notification that a new ticket has been raised in ITFlow.
Client: $client_name
Priority: Low (email parsed)
Link: https://$config_base_url/agent/ticket.php?ticket_id=$id
--------------------------------
$subject$message";
$data[] = [
'from' => $config_ticket_from_email,
@@ -306,7 +306,7 @@ function addReply($from_email, $date, $subject, $ticket_number, $message, $attac
$tech_name = sanitizeInput($tech_row['user_name']);
$email_subject = "$config_app_name - Ticket updated - [$config_ticket_prefix$ticket_number] $ticket_subject";
- $email_body = "Hello $tech_name,
A new reply has been added to the below ticket, check ITFlow for full details.
Client: $client_name
Ticket: $config_ticket_prefix$ticket_number
Subject: $ticket_subject
https://$config_base_url/user/ticket.php?ticket_id=$ticket_id";
+ $email_body = "Hello $tech_name,
A new reply has been added to the below ticket, check ITFlow for full details.
Client: $client_name
Ticket: $config_ticket_prefix$ticket_number
Subject: $ticket_subject
https://$config_base_url/agent/ticket.php?ticket_id=$ticket_id";
$data = [
[