From 6ebcec38fd34580866de901fd02696ac47e3a2b2 Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 27 May 2015 23:15:43 +0200 Subject: [PATCH] Replaced base_url() method with item('base_url') --- .../views/appointments/book_success.php | 20 +++++++++---------- .../views/appointments/message.php | 16 +++++++-------- src/application/views/backend/settings.php | 2 +- src/application/views/general/error404.php | 18 ++++++++--------- src/application/views/general/test.php | 2 +- .../views/user/forgot_password.php | 14 ++++++------- src/application/views/user/login.php | 16 +++++++-------- src/application/views/user/logout.php | 14 ++++++------- src/application/views/user/no_privileges.php | 12 +++++------ 9 files changed, 57 insertions(+), 57 deletions(-) diff --git a/src/application/views/appointments/book_success.php b/src/application/views/appointments/book_success.php index 6fadd9ce..90d9efbf 100644 --- a/src/application/views/appointments/book_success.php +++ b/src/application/views/appointments/book_success.php @@ -13,9 +13,9 @@ // INCLUDE CSS FILES // ------------------------------------------------------------ ?> + href="config->item('base_url'); ?>/assets/ext/bootstrap/css/bootstrap.min.css"> + href="config->item('base_url'); ?>/assets/css/frontend.css"> + href="config->item('base_url'); ?>/assets/img/favicon.ico"> + href="config->item('base_url'); ?>/assets/img/logo.png">
@@ -38,7 +38,7 @@ col-lg-offset-2 col-lg-8">
- +
+ src="config->item('base_url'); ?>/assets/js/libs/jquery/jquery.min.js"> + src="config->item('base_url'); ?>/assets/ext/bootstrap/js/bootstrap.min.js"> + src="config->item('base_url'); ?>/assets/js/libs/date.js"> @@ -106,10 +106,10 @@ + src="config->item('base_url'); ?>/assets/js/frontend_book_success.js"> + src="config->item('base_url'); ?>/assets/js/general_functions.js"> \ No newline at end of file diff --git a/src/application/views/appointments/message.php b/src/application/views/appointments/message.php index 8e4ce54a..e73af4a9 100644 --- a/src/application/views/appointments/message.php +++ b/src/application/views/appointments/message.php @@ -12,19 +12,19 @@ // INCLUDE CSS FILES // ------------------------------------------------------------ ?> + href="config->item('base_url'); ?>/assets/ext/bootstrap/css/bootstrap.css"> + href="config->item('base_url'); ?>/assets/css/frontend.css"> + href="config->item('base_url'); ?>/assets/img/favicon.ico"> + href="config->item('base_url'); ?>/assets/img/logo.png"> + src="config->item('base_url'); ?>/assets/js/libs/jquery/jquery.min.js"> + src="config->item('base_url'); ?>/assets/ext/bootstrap/js/bootstrap.min.js"> + src="config->item('base_url'); ?>/assets/js/libs/date.js"> + src="config->item('base_url'); ?>/assets/js/general_functions.js"> diff --git a/src/application/views/backend/settings.php b/src/application/views/backend/settings.php index 31174d1b..5fc210e8 100644 --- a/src/application/views/backend/settings.php +++ b/src/application/views/backend/settings.php @@ -90,7 +90,7 @@
- + lang->line('go_to_booking_page'); ?> diff --git a/src/application/views/general/error404.php b/src/application/views/general/error404.php index 7076156b..4e68fe85 100644 --- a/src/application/views/general/error404.php +++ b/src/application/views/general/error404.php @@ -11,11 +11,11 @@ + href="config->item('base_url'); ?>/assets/css/libs/bootstrap/bootstrap.css"> + href="config->item('base_url'); ?>/assets/css/libs/bootstrap/bootstrap-responsive.css"> config->base_url(); ?>/assets/img/favicon.ico"> + href="config->item('base_url'); ?>/assets/img/favicon.ico"> + src="config->item('base_url'); ?>/assets/js/libs/jquery/jquery.min.js"> + src="config->item('base_url'); ?>/assets/js/libs/bootstrap/bootstrap.min.js"> + src="config->item('base_url'); ?>/assets/js/libs/date.js"> + src="config->item('base_url'); ?>/assets/js/general_functions.js"> - + lang->line('book_appointment_title'); ?> - + lang->line('backend_section'); ?> diff --git a/src/application/views/general/test.php b/src/application/views/general/test.php index a8181fc0..0f21d6a8 100644 --- a/src/application/views/general/test.php +++ b/src/application/views/general/test.php @@ -1,4 +1,4 @@ - + + src="config->item('base_url'); ?>/assets/js/libs/jquery/jquery.min.js"> + src="config->item('base_url'); ?>/assets/js/libs/bootstrap/bootstrap.min.js"> + src="config->item('base_url'); ?>/assets/js/libs/date.js"> + src="config->item('base_url'); ?>/assets/js/general_functions.js"> \ No newline at end of file diff --git a/src/application/views/user/login.php b/src/application/views/user/login.php index dccd7cf0..f3467507 100644 --- a/src/application/views/user/login.php +++ b/src/application/views/user/login.php @@ -7,33 +7,33 @@ + src="config->item('base_url'); ?>/assets/js/libs/jquery/jquery.min.js"> + src="config->item('base_url'); ?>/assets/js/libs/bootstrap/bootstrap.min.js"> + src="config->item('base_url'); ?>/assets/js/libs/date.js"> + href="config->item('base_url'); ?>/assets/css/libs/bootstrap/bootstrap.css"> + href="config->item('base_url'); ?>/assets/css/libs/bootstrap/bootstrap-responsive.css"> + href="config->item('base_url'); ?>/assets/css/general.css"> + href="config->item('base_url'); ?>/assets/img/favicon.ico">