This commit is contained in:
2025-12-10 21:20:56 +01:00
parent 9eddc2ba17
commit 330c5bad9d
11 changed files with 148 additions and 47 deletions

View File

@@ -0,0 +1,20 @@
<?php
$appBaseUrl = $GLOBALS['app_base_url'] ?? '';
$defaultNavLinks = [
['id' => 'dashboard', 'label' => 'Dashboard', 'href' => $appBaseUrl . '/admin/dashboard.php'],
['id' => 'settings', 'label' => 'Administration','href' => $appBaseUrl . '/admin/settings.php'],
['id' => 'bridge', 'label' => 'Bridge Setup', 'href' => $appBaseUrl . '/admin/bridge.php'],
['id' => 'profile', 'label' => 'Mein Konto', 'href' => $appBaseUrl . '/admin/profile.php'],
];
if (empty($navLinks)) {
$navLinks = $defaultNavLinks;
}
$layoutSharedCss = $layoutSharedCss ?? [];
if (!is_array($layoutSharedCss)) {
$layoutSharedCss = [$layoutSharedCss];
}
$layoutSharedCss[] = '/assets/css/accountsetup.css';
$layoutSharedCss = array_values(array_unique(array_filter($layoutSharedCss)));