From db40900d9a5fec0d365b81dc45d9b04388ad0887 Mon Sep 17 00:00:00 2001 From: dmitryturcan Date: Mon, 2 Sep 2024 10:30:08 +0300 Subject: [PATCH] redirected to login and rename powered by --- application/controllers/Booking.php | 6 ++++++ application/views/components/booking_footer.php | 2 +- application/views/emails/account_recovery_email.php | 4 ++-- application/views/emails/appointment_deleted_email.php | 4 ++-- application/views/emails/appointment_saved_email.php | 4 ++-- application/views/errors/html/error_404.php | 2 +- application/views/errors/html/error_db.php | 2 +- application/views/errors/html/error_general.php | 2 +- application/views/layouts/account_layout.php | 2 +- application/views/layouts/message_layout.php | 2 +- application/views/pages/installation.php | 2 +- application/views/pages/update.php | 2 +- 12 files changed, 20 insertions(+), 14 deletions(-) diff --git a/application/controllers/Booking.php b/application/controllers/Booking.php index 8debcf5a..389987f5 100755 --- a/application/controllers/Booking.php +++ b/application/controllers/Booking.php @@ -103,7 +103,13 @@ class Booking extends EA_Controller { if (!is_app_installed()) { redirect('installation'); + $this->load->view('pages/login'); + return; + } + $provider_id = $this->input->get('provider'); + if (!$provider_id) { + redirect('login'); // Assuming 'login' is the route or page you want to redirect to return; } diff --git a/application/views/components/booking_footer.php b/application/views/components/booking_footer.php index 722e7342..a4f98162 100644 --- a/application/views/components/booking_footer.php +++ b/application/views/components/booking_footer.php @@ -10,7 +10,7 @@ Powered By - Easy!Appointments + DigiWorks Agency diff --git a/application/views/emails/account_recovery_email.php b/application/views/emails/account_recovery_email.php index 19fa48c2..80b74e9a 100644 --- a/application/views/emails/account_recovery_email.php +++ b/application/views/emails/account_recovery_email.php @@ -32,8 +32,8 @@ diff --git a/application/views/layouts/account_layout.php b/application/views/layouts/account_layout.php index 0af8b61d..6448328d 100644 --- a/application/views/layouts/account_layout.php +++ b/application/views/layouts/account_layout.php @@ -29,7 +29,7 @@ diff --git a/application/views/layouts/message_layout.php b/application/views/layouts/message_layout.php index 0d02df28..986643fa 100644 --- a/application/views/layouts/message_layout.php +++ b/application/views/layouts/message_layout.php @@ -33,7 +33,7 @@ diff --git a/application/views/pages/installation.php b/application/views/pages/installation.php index bdbdbf91..736d5673 100755 --- a/application/views/pages/installation.php +++ b/application/views/pages/installation.php @@ -192,7 +192,7 @@ diff --git a/application/views/pages/update.php b/application/views/pages/update.php index ef6d074e..adbeaac8 100644 --- a/application/views/pages/update.php +++ b/application/views/pages/update.php @@ -64,7 +64,7 @@