diff --git a/portal/autopay.php b/client/autopay.php similarity index 93% rename from portal/autopay.php rename to client/autopay.php index 0a9c0eed..44280785 100644 --- a/portal/autopay.php +++ b/client/autopay.php @@ -4,10 +4,10 @@ * Auto-pay configuration for PTC/finance contacts */ -require_once "inc_portal.php"; +require_once "includes/inc_all.php"; if ($session_contact_primary == 0 && !$session_contact_is_billing_contact) { - header("Location: portal_post.php?logout"); + header("Location: post.php?logout"); exit(); } @@ -30,7 +30,7 @@ if ($stripe_client_details) { // Stripe not enabled in settings if (!$config_stripe_enable || !$config_stripe_publishable || !$config_stripe_secret) { echo "Stripe payment error - Stripe is not enabled, please talk to your helpdesk for further information."; - include_once 'portal_footer.php'; + include_once 'includes/footer.php'; exit(); } @@ -50,7 +50,7 @@ if (!$config_stripe_enable || !$config_stripe_publishable || !$config_stripe_sec

-
+
@@ -120,7 +120,7 @@ if (!$config_stripe_enable || !$config_stripe_publishable || !$config_stripe_sec
Actions
- - Remove saved card + - Remove saved card @@ -131,4 +131,4 @@ if (!$config_stripe_enable || !$config_stripe_publishable || !$config_stripe_sec
- + @@ -93,4 +93,4 @@ if ($session_contact_primary == 0 && !$session_contact_is_technical_contact) {
- + @@ -126,4 +126,4 @@ if ($row) { purify($row['document_content']); } else { - header("Location: portal_post.php?logout"); + header("Location: post.php?logout"); exit(); } @@ -68,4 +68,4 @@ if ($row) {
Account - Sign out + Sign out
diff --git a/portal/inc_portal.php b/client/includes/inc_all.php similarity index 74% rename from portal/inc_portal.php rename to client/includes/inc_all.php index aa814aca..d0ea5d15 100644 --- a/portal/inc_portal.php +++ b/client/includes/inc_all.php @@ -8,5 +8,5 @@ require_once '../config.php'; require_once '../get_settings.php'; require_once '../functions.php'; require_once 'check_login.php'; -require_once 'portal_functions.php'; -require_once "portal_header.php"; +require_once 'functions.php'; +require_once "header.php"; diff --git a/portal/index.php b/client/index.php similarity index 75% rename from portal/index.php rename to client/index.php index eef09ea1..856a36bf 100644 --- a/portal/index.php +++ b/client/index.php @@ -6,11 +6,11 @@ header("Content-Security-Policy: default-src 'self'"); -require_once "inc_portal.php"; +require_once "includes/inc_all.php"; ?> - + diff --git a/portal/invoices.php b/client/invoices.php similarity index 97% rename from portal/invoices.php rename to client/invoices.php index 6cd1e9b8..654a4bd3 100644 --- a/portal/invoices.php +++ b/client/invoices.php @@ -6,11 +6,11 @@ header("Content-Security-Policy: default-src 'self'"); -require_once "inc_portal.php"; +require_once "includes/inc_all.php"; if ($session_contact_primary == 0 && !$session_contact_is_billing_contact) { - header("Location: portal_post.php?logout"); + header("Location: post.php?logout"); exit(); } @@ -99,5 +99,5 @@ $invoices_sql = mysqli_query($mysqli, "SELECT * FROM invoices WHERE invoice_clie @@ -30,7 +30,7 @@ require_once 'inc_portal.php';

Password

- +
@@ -46,5 +46,5 @@ require_once 'inc_portal.php'; - "> + "> @@ -88,4 +88,4 @@ $quotes_sql = mysqli_query($mysqli, "SELECT * FROM quotes WHERE quote_client_id
- Resolve ticket + Resolve ticket
@@ -135,7 +135,7 @@ if (isset($_GET['id']) && intval($_GET['id'])) { - +
@@ -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

- +
Your ticket regarding $ticket_subject has been scheduled for $email_datetime.

- Access your ticket here + Access your ticket here

Please do not reply to this email.

@@ -2344,13 +2344,13 @@ if (isset($_POST['edit_ticket_schedule'])) {
The ticket regarding $ticket_subject has been scheduled for $email_datetime.

- $ticket_link + $ticket_link

Please do not reply to this email.

Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
- Portal: Access the ticket here + Portal: Access the ticket here

Scheduled work for your ticket regarding $ticket_subject has been cancelled.

- Access your ticket here + Access your ticket here

Please do not reply to this email.

@@ -2496,13 +2496,13 @@ if (isset($_GET['cancel_ticket_schedule'])) {
Scheduled work for the ticket regarding $ticket_subject has been cancelled.

- $ticket_link + $ticket_link

Please do not reply to this email.

Ticket: $ticket_prefix$ticket_number
Subject: $ticket_subject
- Portal: Access the ticket here + Portal: Access the ticket here