mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 07:52:29 +03:00
Corrected base_url calls
This commit is contained in:
parent
5119e757f6
commit
34cf06917c
11 changed files with 71 additions and 71 deletions
|
@ -331,7 +331,7 @@
|
|||
var GlobalVariables = {
|
||||
availableServices : <?php echo json_encode($available_services); ?>,
|
||||
availableProviders : <?php echo json_encode($available_providers); ?>,
|
||||
baseUrl : <?php echo json_encode($this->config->item('base_url')); ?>,
|
||||
baseUrl : <?php echo json_encode(base_url()); ?>,
|
||||
manageMode : <?php echo $manage_mode ? 'true' : 'false'; ?>,
|
||||
dateFormat : <?php echo json_encode($date_format); ?>,
|
||||
appointmentData : <?php echo json_encode($appointment_data); ?>,
|
||||
|
|
|
@ -7,20 +7,20 @@
|
|||
<meta name="theme-color" content="#35A768">
|
||||
<title><?php echo $message_title ?></title>
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/bootstrap/css/bootstrap.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/css/frontend.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ext/bootstrap/css/bootstrap.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/css/frontend.css'); ?>">
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo base_url('/assets/img/favicon.ico'); ?>">
|
||||
<link rel="icon" sizes="192x192" href="<?php echo base_url('/assets/img/logo.png'); ?>">
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo base_url('assets/img/favicon.ico'); ?>">
|
||||
<link rel="icon" sizes="192x192" href="<?php echo base_url('assets/img/logo.png'); ?>">
|
||||
|
||||
<script>
|
||||
var EALang = <?php echo json_encode($this->lang->language); ?>;
|
||||
</script>
|
||||
|
||||
<script src="<?php echo base_url('/assets/ext/jquery/jquery.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/bootstrap/js/bootstrap.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/datejs/date.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/general_functions.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery/jquery.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/bootstrap/js/bootstrap.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/datejs/date.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/general_functions.js'); ?>"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/jquery-fullcalendar/jquery.fullcalendar.css'); ?>">
|
||||
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-fullcalendar/jquery.fullcalendar.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-sticky-table-headers/jquery.stickytableheaders.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-ui/jquery-ui-timepicker-addon.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_calendar.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_calendar_default_view.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_calendar_table_view.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_calendar_google_sync.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_calendar_appointments_modal.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_calendar_unavailabilities_modal.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_calendar_api.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-fullcalendar/jquery.fullcalendar.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-sticky-table-headers/jquery.stickytableheaders.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-ui/jquery-ui-timepicker-addon.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_calendar.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_calendar_default_view.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_calendar_table_view.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_calendar_google_sync.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_calendar_appointments_modal.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_calendar_unavailabilities_modal.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_calendar_api.js'); ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
'csrfToken' : <?php echo json_encode($this->security->get_csrf_hash()); ?>,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script src="<?php echo base_url('/assets/ext/jquery-ui/jquery-ui-timepicker-addon.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_customers_helper.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_customers.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-ui/jquery-ui-timepicker-addon.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_customers_helper.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_customers.js'); ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
'csrfToken' : <?php echo json_encode($this->security->get_csrf_hash()); ?>,
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script src="<?php echo base_url('/assets/js/backend.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/general_functions.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/general_functions.js'); ?>"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -5,22 +5,22 @@
|
|||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo base_url('/assets/img/favicon.ico'); ?>">
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo base_url('assets/img/favicon.ico'); ?>">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/bootstrap/css/bootstrap.min.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/jquery-ui/jquery-ui.min.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/jquery-qtip/jquery.qtip.min.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/ext/jquery-jscrollpane/jquery.jscrollpane.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/css/backend.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('/assets/css/general.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ext/bootstrap/css/bootstrap.min.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ext/jquery-ui/jquery-ui.min.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ext/jquery-qtip/jquery.qtip.min.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ext/jquery-jscrollpane/jquery.jscrollpane.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/css/backend.css'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/css/general.css'); ?>">
|
||||
|
||||
<script src="<?php echo base_url('/assets/ext/jquery/jquery.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/bootstrap/js/bootstrap.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-ui/jquery-ui.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-qtip/jquery.qtip.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/datejs/date.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-jscrollpane/jquery.jscrollpane.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-mousewheel/jquery.mousewheel.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery/jquery.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/bootstrap/js/bootstrap.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-ui/jquery-ui.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-qtip/jquery.qtip.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/datejs/date.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-jscrollpane/jquery.jscrollpane.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-mousewheel/jquery.mousewheel.js'); ?>"></script>
|
||||
|
||||
<script>
|
||||
// Global JavaScript Variables - Used in all backend pages.
|
||||
|
@ -34,7 +34,7 @@
|
|||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<div id="header-logo" class="navbar-brand">
|
||||
<img src="<?php echo basel_url('/assets/img/logo.png'); ?>">
|
||||
<img src="<?php echo base_url('assets/img/logo.png'); ?>">
|
||||
<span><?php echo $company_name; ?></span>
|
||||
</div>
|
||||
|
||||
|
@ -122,5 +122,5 @@
|
|||
<div id="notification" style="display: none;"></div>
|
||||
|
||||
<div id="loading" style="display: none;">
|
||||
<img src="<?php echo base_url('/assets/img/loading.gif"'); ?>>
|
||||
<img src="<?php echo base_url('assets/img/loading.gif"'); ?>>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script src="<?php echo base_url('/assets/js/backend_services_helper.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_categories_helper.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_services.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_services_helper.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_categories_helper.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_services.js'); ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
'csrfToken' : <?php echo json_encode($this->security->get_csrf_hash()); ?>,
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<script src="<?php echo base_url('/assets/js/backend_settings_system.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_settings_user.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_settings.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/working_plan.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-ui/jquery-ui-timepicker-addon.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-jeditable/jquery.jeditable.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_settings_system.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_settings_user.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_settings.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/working_plan.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-ui/jquery-ui-timepicker-addon.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-jeditable/jquery.jeditable.min.js'); ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
'csrfToken' : <?php echo json_encode($this->security->get_csrf_hash()); ?>,
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<script src="<?php echo base_url('/assets/js/backend_users_admins.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_users_providers.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_users_secretaries.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/backend_users.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/working_plan.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-ui/jquery-ui-timepicker-addon.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-jeditable/jquery.jeditable.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_users_admins.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_users_providers.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_users_secretaries.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/backend_users.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/working_plan.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-ui/jquery-ui-timepicker-addon.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-jeditable/jquery.jeditable.min.js'); ?>"></script>
|
||||
<script>
|
||||
var GlobalVariables = {
|
||||
csrfToken : <?php echo json_encode($this->security->get_csrf_hash()); ?>,
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
<title>Easy!Appointments - Installation</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?>/assets/ext/bootstrap/css/bootstrap.min.css">
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo $base_url; ?>/assets/img/favicon.ico">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $base_url ?>/assets/ext/jquery-ui/jquery-ui.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?>/assets/css/general.css">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/ext/bootstrap/css/bootstrap.min.css'); ?>">
|
||||
<link rel="icon" type="image/x-icon" href="<?php echo base_url('assets/img/favicon.ico'); ?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url ('assets/ext/jquery-ui/jquery-ui.min.css')?>">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo base_url('assets/css/general.css'); ?>">
|
||||
|
||||
<style>
|
||||
header {
|
||||
|
@ -49,13 +49,13 @@
|
|||
</head>
|
||||
<body>
|
||||
<div id="loading" class="hidden">
|
||||
<img src="<?php echo $base_url; ?>/assets/img/loading.gif" />
|
||||
<img src="<?php echo base_url('assets/img/loading.gif'); ?>">
|
||||
</div>
|
||||
|
||||
<header>
|
||||
<a href="http://easyappointments.org" target="_blank">
|
||||
<img src="<?php echo $base_url; ?>/assets/img/installation-banner.png"
|
||||
alt="Easy!Appointents Installation Banner">
|
||||
<img src="<?php echo base_url('assets/img/installation-banner.png'); ?>"
|
||||
alt="Easy!Appointments Installation Banner">
|
||||
</a>
|
||||
</header>
|
||||
|
||||
|
@ -172,17 +172,17 @@
|
|||
<script>
|
||||
var GlobalVariables = {
|
||||
'csrfToken': <?php echo json_encode($this->security->get_csrf_hash()); ?>,
|
||||
'baseUrl': <?php echo '"' . $base_url . '"'; ?>
|
||||
'baseUrl': <?php echo json_encode(base_url()); ?>
|
||||
};
|
||||
|
||||
var EALang = <?php echo json_encode($this->lang->language); ?>;
|
||||
</script>
|
||||
|
||||
<script src="<?php echo base_url('/assets/ext/jquery/jquery.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/jquery-ui/jquery-ui.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/bootstrap/js/bootstrap.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/general_functions.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/ext/datejs/date.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('/assets/js/installation.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery/jquery.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/jquery-ui/jquery-ui.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/bootstrap/js/bootstrap.min.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/general_functions.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/ext/datejs/date.js'); ?>"></script>
|
||||
<script src="<?php echo base_url('assets/js/installation.js'); ?>"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
$(document).ready(function() {
|
||||
var GlobalVariables = {
|
||||
'csrfToken': <?php echo json_encode($this->security->get_csrf_hash()); ?>,
|
||||
'baseUrl': <?php echo json_encode($base_url); ?>,
|
||||
'baseUrl': <?php echo json_encode(base_url()); ?>,
|
||||
'AJAX_SUCCESS': 'SUCCESS',
|
||||
'AJAX_FAILURE': 'FAILURE'
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue