diff --git a/application/helpers/render_helper.php b/application/helpers/render_helper.php
index ad55aa82..d101fef5 100644
--- a/application/helpers/render_helper.php
+++ b/application/helpers/render_helper.php
@@ -18,7 +18,7 @@
*
* @return string
*/
-function render_timezone_dropdown($attributes = '')
+function render_timezone_dropdown(string $attributes = ''): string
{
$CI = get_instance();
@@ -31,3 +31,35 @@ function render_timezone_dropdown($attributes = '')
'attributes' => $attributes
], TRUE);
}
+
+/**
+ * Render the language script tag.
+ *
+ * @param string $attributes HTML element attributes of the script element.
+ *
+ * @return string
+ */
+function render_language_script(string $attributes = ''): string
+{
+ $CI = get_instance();
+
+ return $CI->load->view('partials/language_script', [
+ 'attributes' => $attributes
+ ], TRUE);
+}
+
+/**
+ * Render the global variables script tag.
+ *
+ * @param string $attributes HTML element attributes of the script element.
+ *
+ * @return string
+ */
+function render_global_variables_script(string $attributes = ''): string
+{
+ $CI = get_instance();
+
+ return $CI->load->view('partials/global_variables_script', [
+ 'attributes' => $attributes
+ ], TRUE);
+}
diff --git a/application/views/partials/global_variables_script.php b/application/views/partials/global_variables_script.php
new file mode 100644
index 00000000..86a81a32
--- /dev/null
+++ b/application/views/partials/global_variables_script.php
@@ -0,0 +1,10 @@
+
+
+
diff --git a/application/views/partials/language_script.php b/application/views/partials/language_script.php
new file mode 100644
index 00000000..43aefc98
--- /dev/null
+++ b/application/views/partials/language_script.php
@@ -0,0 +1,9 @@
+
+
+