Compare commits
8 Commits
bef54a7553
...
d013b6cb8a
| Author | SHA1 | Date | |
|---|---|---|---|
| d013b6cb8a | |||
| bde7b7c7ce | |||
| 191666736b | |||
| 2637715e48 | |||
| bdd79a66cb | |||
| 3eac9a659e | |||
| d1bafa28d9 | |||
| 28be78dceb |
@ -57,6 +57,7 @@ class AuthController
|
||||
'view' => $viewPath,
|
||||
'data' => [
|
||||
'error' => $errorMessage,
|
||||
'loginPage' => true,
|
||||
],
|
||||
'pageTitle' => 'Login',
|
||||
// Beim Login ist typischerweise kein Menüpunkt aktiv.
|
||||
|
||||
@ -38,7 +38,7 @@ function renderLayout(string $contentView, array $viewData, string $pageTitle, ?
|
||||
<!-- Page Wrapper -->
|
||||
<div id="wrapper">
|
||||
<!-- Begin Sidebar -->
|
||||
<?php require $partialsPath . '/sidebar.php'; ?>
|
||||
<?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 require $partialsPath . '/topbar.php'; ?>
|
||||
<?php if (!$viewData['loginPage']): require $partialsPath . '/topbar.php'; endif; ?>
|
||||
<!-- End of Topbar -->
|
||||
<!-- Begin Page Content -->
|
||||
<div class="container-fluid">
|
||||
@ -62,8 +62,7 @@ function renderLayout(string $contentView, array $viewData, string $pageTitle, ?
|
||||
<!-- End of Content Wrapper -->
|
||||
</div>
|
||||
<!-- End of Page Wrapper -->
|
||||
<?php require $partialsPath . '/scripts.php';
|
||||
?>
|
||||
<?php require $partialsPath . '/scripts.php'; ?>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
const LOGIN_PAGE = true;
|
||||
|
||||
/** @var string|null $error */
|
||||
?>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user