diff --git a/src/application/controllers/appointments.php b/src/application/controllers/appointments.php index 7636e11a..356f0d15 100755 --- a/src/application/controllers/appointments.php +++ b/src/application/controllers/appointments.php @@ -90,8 +90,7 @@ class Appointments extends CI_Controller { $view = array( 'message_title' => $this->lang->line('appointment_not_found'), 'message_text' => $this->lang->line('appointment_does_not_exist_in_db'), - 'message_icon' => $this->config->item('base_url') - . '/assets/img/error.png' + 'message_icon' => base_url('assets/img/error.png') ); $this->load->view('appointments/message', $view); return; @@ -222,7 +221,7 @@ class Appointments extends CI_Controller { $view = array( 'message_title' => $this->lang->line('appointment_cancelled_title'), 'message_text' => $this->lang->line('appointment_cancelled'), - 'message_icon' => $this->config->item('base_url') . '/assets/img/success.png' + 'message_icon' => base_url('assets/img/success.png') ); if (isset($exceptions)) { diff --git a/src/application/views/appointments/book.php b/src/application/views/appointments/book.php index 5050828d..4a6dd1d7 100644 --- a/src/application/views/appointments/book.php +++ b/src/application/views/appointments/book.php @@ -15,23 +15,23 @@ + href=""> + href=""> + href=""> + href=""> + href=""> config->item('base_url'); ?>/assets/ext/jquery/jquery.min.js"> + src=""> + src=""> + src=""> + src=""> + src=""> + src=""> + href=""> + href=""> , availableProviders : , - baseUrl : config->item('base_url') . '"'; ?>, + baseUrl : config->item('base_url')); ?>, manageMode : , dateFormat : , appointmentData : , @@ -433,7 +433,7 @@ + src="">