From b31b4c87bd815bba9cd375916c1a066caf284ebf Mon Sep 17 00:00:00 2001 From: alextselegidis Date: Fri, 12 Nov 2021 16:33:01 +0100 Subject: [PATCH] Converted the booking success page to the layout structure --- application/controllers/Appointments.php | 2 +- .../views/appointments/book_success.php | 99 ------------------- .../pages/booking/booking_success_page.php | 62 ++++++++++++ 3 files changed, 63 insertions(+), 100 deletions(-) delete mode 100755 application/views/appointments/book_success.php create mode 100755 application/views/pages/booking/booking_success_page.php diff --git a/application/controllers/Appointments.php b/application/controllers/Appointments.php index 69f37754..ee886b55 100755 --- a/application/controllers/Appointments.php +++ b/application/controllers/Appointments.php @@ -315,7 +315,7 @@ class Appointments extends EA_Controller { $view['exceptions'] = $exceptions; } - $this->load->view('appointments/book_success', $view); + $this->load->layout('layouts/message/message_layout', 'pages/booking/booking_success_page', $view); } /** diff --git a/application/views/appointments/book_success.php b/application/views/appointments/book_success.php deleted file mode 100755 index 70b4230b..00000000 --- a/application/views/appointments/book_success.php +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - - <?= lang('appointment_registered') . ' - ' . $company_name ?> - - - - - - - - - - - -
-
-
-
- success -
- -
-

- -

- -

- -

- - - -

- - - - - - - - - -
- -
- - Powered by - Easy!Appointments - -
-
-
-
- - - - - - - - - - - - - - - - - diff --git a/application/views/pages/booking/booking_success_page.php b/application/views/pages/booking/booking_success_page.php new file mode 100755 index 00000000..c584d809 --- /dev/null +++ b/application/views/pages/booking/booking_success_page.php @@ -0,0 +1,62 @@ + + +
+ success +
+ +
+

+ +

+ +

+ +

+ + + +

+ + + + + + + + + +
+ + + + + + + + + + + +