develop #24

Merged
blaerf merged 39 commits from develop into main 2025-12-05 09:20:22 +00:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 191666736b - Show all commits

View File

@ -57,6 +57,7 @@ class AuthController
'view' => $viewPath,
'data' => [
'error' => $errorMessage,
'loginPage' => true,
],
'pageTitle' => 'Login',
// Beim Login ist typischerweise kein Menüpunkt aktiv.

View File

@ -38,7 +38,7 @@ function renderLayout(string $contentView, array $viewData, string $pageTitle, ?
<!-- Page Wrapper -->
<div id="wrapper">
<!-- Begin Sidebar -->
<?php if (!defined('LOGIN_PAGE')): require $partialsPath . '/sidebar.php'; endif ?>
<?php if (!$viewData['loginPage']): require $partialsPath . '/sidebar.php'; endif ?>
<!-- End of Sidebar -->
<!-- Content Wrapper -->
<div id="content-wrapper" class="d-flex flex-column">
@ -46,7 +46,7 @@ function renderLayout(string $contentView, array $viewData, string $pageTitle, ?
<!-- Main Content -->
<div id="content">
<!-- Begin Topbar -->
<?php if (!defined('LOGIN_PAGE')): require $partialsPath . '/topbar.php'; endif; ?>
<?php if (!$viewData['loginPage']): require $partialsPath . '/topbar.php'; endif; ?>
<!-- End of Topbar -->
<!-- Begin Page Content -->
<div class="container-fluid">