mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-01 04:12:22 +03:00
Remove the html_vars call when loading views as it is currently unnecessary.
This commit is contained in:
parent
59c44994f7
commit
821afb2211
19 changed files with 21 additions and 21 deletions
|
@ -75,6 +75,6 @@ class About extends EA_Controller {
|
|||
'privileges' => $this->roles_model->get_permissions_by_slug($role_slug),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/about', html_vars());
|
||||
$this->load->view('pages/about');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -74,7 +74,7 @@ class Account extends EA_Controller {
|
|||
'timezones' => $this->timezones->to_grouped_array(),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/account', html_vars());
|
||||
$this->load->view('pages/account');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -74,7 +74,7 @@ class Admins extends EA_Controller {
|
|||
'privileges' => $this->roles_model->get_permissions_by_slug($role_slug),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/admins', html_vars());
|
||||
$this->load->view('pages/admins');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -130,7 +130,7 @@ class Booking extends EA_Controller {
|
|||
'matomo_analytics_url' => $matomo_analytics_url
|
||||
]);
|
||||
|
||||
$this->load->view('pages/booking_message', html_vars());
|
||||
$this->load->view('pages/booking_message');
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -159,7 +159,7 @@ class Booking extends EA_Controller {
|
|||
'matomo_analytics_url' => $matomo_analytics_url
|
||||
]);
|
||||
|
||||
$this->load->view('pages/booking_message', html_vars());
|
||||
$this->load->view('pages/booking_message');
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -233,7 +233,7 @@ class Booking extends EA_Controller {
|
|||
'customer_data' => $customer,
|
||||
]);
|
||||
|
||||
$this->load->view('pages/booking', html_vars());
|
||||
$this->load->view('pages/booking');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -100,6 +100,6 @@ class Booking_cancellation extends EA_Controller {
|
|||
'exceptions' => $exceptions
|
||||
]);
|
||||
|
||||
$this->load->view('pages/booking_message', html_vars());
|
||||
$this->load->view('pages/booking_message');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -90,6 +90,6 @@ class Booking_confirmation extends EA_Controller {
|
|||
'matomo_analytics_url' => setting('matomo_analytics_url'),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/booking_confirmation', html_vars());
|
||||
$this->load->view('pages/booking_confirmation');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ class Booking_settings extends EA_Controller {
|
|||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/booking_settings', html_vars());
|
||||
$this->load->view('pages/booking_settings');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -77,7 +77,7 @@ class Business_settings extends EA_Controller {
|
|||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/business_settings', html_vars());
|
||||
$this->load->view('pages/business_settings');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -138,7 +138,7 @@ class Calendar extends EA_Controller {
|
|||
'require_notes' => setting('require_notes'),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/calendar', html_vars());
|
||||
$this->load->view('pages/calendar');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -72,7 +72,7 @@ class Categories extends EA_Controller {
|
|||
'privileges' => $this->roles_model->get_permissions_by_slug($role_slug),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/categories', html_vars());
|
||||
$this->load->view('pages/categories');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -104,7 +104,7 @@ class Customers extends EA_Controller {
|
|||
'available_languages' => config('available_languages'),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/customers', html_vars());
|
||||
$this->load->view('pages/customers');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -66,7 +66,7 @@ class General_settings extends EA_Controller {
|
|||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/general_settings', html_vars());
|
||||
$this->load->view('pages/general_settings');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -66,7 +66,7 @@ class Legal_settings extends EA_Controller {
|
|||
'user_display_name' => $this->accounts->get_user_display_name($user_id),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/legal_settings', html_vars());
|
||||
$this->load->view('pages/legal_settings');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -45,7 +45,7 @@ class Login extends EA_Controller {
|
|||
'company_name' => setting('company_name')
|
||||
]);
|
||||
|
||||
$this->load->view('pages/login', html_vars());
|
||||
$this->load->view('pages/login');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -32,6 +32,6 @@ class Logout extends EA_Controller {
|
|||
'company_name' => $company_name
|
||||
]);
|
||||
|
||||
$this->load->view('pages/logout', html_vars());
|
||||
$this->load->view('pages/logout');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -88,7 +88,7 @@ class Providers extends EA_Controller {
|
|||
'services' => $this->services_model->get(),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/providers', html_vars());
|
||||
$this->load->view('pages/providers');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -42,7 +42,7 @@ class Recovery extends EA_Controller {
|
|||
'company_name' => $company_name
|
||||
]);
|
||||
|
||||
$this->load->view('pages/recovery', html_vars());
|
||||
$this->load->view('pages/recovery');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -88,7 +88,7 @@ class Secretaries extends EA_Controller {
|
|||
'providers' => $this->providers_model->get(),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/secretaries', html_vars());
|
||||
$this->load->view('pages/secretaries');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -72,7 +72,7 @@ class Services extends EA_Controller {
|
|||
'privileges' => $this->roles_model->get_permissions_by_slug($role_slug),
|
||||
]);
|
||||
|
||||
$this->load->view('pages/services', html_vars());
|
||||
$this->load->view('pages/services');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue