This commit is contained in:
2025-11-22 03:21:07 +01:00
parent be2bc4634d
commit 99098fa678
4 changed files with 166 additions and 25 deletions

View File

@@ -19,8 +19,10 @@ if (!isset($pageTitle) || !is_string($pageTitle) || $pageTitle === '') {
if (!isset($pageDescription) || !is_string($pageDescription)) {
$pageDescription = '';
}
tpl_add_script('/assets/js/header-user-menu.js', 'footer', true, false, '', null);
if (function_exists('tpl_add_script')) {
tpl_add_script('/assets/js/header-user-menu.js', 'footer', true, false, '', null);
tpl_add_script('/assets/js/header.js', 'footer', true, false, '', null);
}
// Kann später genutzt werden, falls du host-spezifische Sachen brauchst
$host = $_SERVER['HTTP_HOST'] ?? '';