mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-28 10:53:40 +03:00
Changed the users callback to use the layout loading method
This commit is contained in:
parent
3ca9211449
commit
2479ffb3a1
1 changed files with 5 additions and 15 deletions
|
@ -105,9 +105,7 @@ class Backend extends EA_Controller {
|
|||
$view['edit_appointment'] = NULL;
|
||||
}
|
||||
|
||||
$this->load->view('backend/header', $view);
|
||||
$this->load->view('backend/calendar', $view);
|
||||
$this->load->view('backend/footer', $view);
|
||||
$this->load->layout('layouts/backend/backend_layout', 'pages/calendar/calendar_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -210,9 +208,7 @@ class Backend extends EA_Controller {
|
|||
|
||||
$this->set_user_data($view);
|
||||
|
||||
$this->load->view('backend/header', $view);
|
||||
$this->load->view('backend/customers', $view);
|
||||
$this->load->view('backend/footer', $view);
|
||||
$this->load->layout('layouts/backend/backend_layout', 'pages/customers/customers_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -245,9 +241,7 @@ class Backend extends EA_Controller {
|
|||
$view['timezones'] = $this->timezones->to_array();
|
||||
$this->set_user_data($view);
|
||||
|
||||
$this->load->view('backend/header', $view);
|
||||
$this->load->view('backend/services', $view);
|
||||
$this->load->view('backend/footer', $view);
|
||||
$this->load->layout('layouts/backend/backend_layout', 'pages/services/services_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -282,9 +276,7 @@ class Backend extends EA_Controller {
|
|||
$view['working_plan_exceptions'] = '{}';
|
||||
$this->set_user_data($view);
|
||||
|
||||
$this->load->view('backend/header', $view);
|
||||
$this->load->view('backend/users', $view);
|
||||
$this->load->view('backend/footer', $view);
|
||||
$this->load->layout('layouts/backend/backend_layout', 'pages/users/users_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -328,9 +320,7 @@ class Backend extends EA_Controller {
|
|||
|
||||
$this->set_user_data($view);
|
||||
|
||||
$this->load->view('backend/header', $view);
|
||||
$this->load->view('backend/settings', $view);
|
||||
$this->load->view('backend/footer', $view);
|
||||
$this->load->layout('layouts/backend/backend_layout', 'pages/settings/settings_page', $view);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue