Changed the directory of the render functions to "components"

This commit is contained in:
alextselegidis 2021-11-11 09:01:42 +01:00
parent 538ded7d69
commit 179e72bfb9
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ function render_timezone_dropdown(string $attributes = ''): string
$timezones = $CI->timezones->to_grouped_array();
return $CI->load->view('partials/timezone_dropdown', [
return $CI->load->view('components/timezone_dropdown', [
'timezones' => $timezones,
'attributes' => $attributes
], TRUE);
@ -43,7 +43,7 @@ function render_language_script(string $attributes = ''): string
{
$CI = get_instance();
return $CI->load->view('partials/language_script', [
return $CI->load->view('components/language_script', [
'attributes' => $attributes
], TRUE);
}
@ -59,7 +59,7 @@ function render_global_variables_script(string $attributes = ''): string
{
$CI = get_instance();
return $CI->load->view('partials/global_variables_script', [
return $CI->load->view('components/global_variables_script', [
'attributes' => $attributes
], TRUE);
}