From e3084b66ab71810536bd494847d36d6e61feccf8 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Wed, 26 Nov 2025 22:49:49 +0100 Subject: [PATCH] los --- partials/structure/layout_end.php | 4 +--- partials/structure/layout_start.php | 5 ++++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/partials/structure/layout_end.php b/partials/structure/layout_end.php index 7513da5..53d8e6a 100644 --- a/partials/structure/layout_end.php +++ b/partials/structure/layout_end.php @@ -45,8 +45,6 @@ foreach ($GLOBALS['page_footer_scripts'] as $script) { } ?> - - - + \ No newline at end of file diff --git a/partials/structure/layout_start.php b/partials/structure/layout_start.php index 54ee040..52e387d 100644 --- a/partials/structure/layout_start.php +++ b/partials/structure/layout_start.php @@ -45,7 +45,10 @@ if (function_exists('tpl_add_script')) { // header.js kommt wie gehabt in den Footer tpl_add_script('/assets/js/header.js', 'footer', true, false, '', null); } - +if (function_exists('tpl_add_script')) { + // header.js kommt wie gehabt in den Footer + tpl_add_script('/assets/js/lang.js', 'footer', true, false, '', null); +} // ----------------------------------------------------------- // Canonical-URL bestimmen // -----------------------------------------------------------