Compare commits
No commits in common. "d013b6cb8ad834cdea4ad9453451368f63a7fd75" and "bef54a755335d2e9839a9725c909caf27a8446d9" have entirely different histories.
d013b6cb8a
...
bef54a7553
@ -57,7 +57,6 @@ class AuthController
|
|||||||
'view' => $viewPath,
|
'view' => $viewPath,
|
||||||
'data' => [
|
'data' => [
|
||||||
'error' => $errorMessage,
|
'error' => $errorMessage,
|
||||||
'loginPage' => true,
|
|
||||||
],
|
],
|
||||||
'pageTitle' => 'Login',
|
'pageTitle' => 'Login',
|
||||||
// Beim Login ist typischerweise kein Menüpunkt aktiv.
|
// Beim Login ist typischerweise kein Menüpunkt aktiv.
|
||||||
|
|||||||
@ -38,7 +38,7 @@ function renderLayout(string $contentView, array $viewData, string $pageTitle, ?
|
|||||||
<!-- Page Wrapper -->
|
<!-- Page Wrapper -->
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<!-- Begin Sidebar -->
|
<!-- Begin Sidebar -->
|
||||||
<?php if (!$viewData['loginPage']): require $partialsPath . '/sidebar.php'; endif ?>
|
<?php require $partialsPath . '/sidebar.php'; ?>
|
||||||
<!-- End of Sidebar -->
|
<!-- End of Sidebar -->
|
||||||
<!-- Content Wrapper -->
|
<!-- Content Wrapper -->
|
||||||
<div id="content-wrapper" class="d-flex flex-column">
|
<div id="content-wrapper" class="d-flex flex-column">
|
||||||
@ -46,7 +46,7 @@ function renderLayout(string $contentView, array $viewData, string $pageTitle, ?
|
|||||||
<!-- Main Content -->
|
<!-- Main Content -->
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<!-- Begin Topbar -->
|
<!-- Begin Topbar -->
|
||||||
<?php if (!$viewData['loginPage']): require $partialsPath . '/topbar.php'; endif; ?>
|
<?php require $partialsPath . '/topbar.php'; ?>
|
||||||
<!-- End of Topbar -->
|
<!-- End of Topbar -->
|
||||||
<!-- Begin Page Content -->
|
<!-- Begin Page Content -->
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
@ -62,7 +62,8 @@ function renderLayout(string $contentView, array $viewData, string $pageTitle, ?
|
|||||||
<!-- End of Content Wrapper -->
|
<!-- End of Content Wrapper -->
|
||||||
</div>
|
</div>
|
||||||
<!-- End of Page Wrapper -->
|
<!-- End of Page Wrapper -->
|
||||||
<?php require $partialsPath . '/scripts.php'; ?>
|
<?php require $partialsPath . '/scripts.php';
|
||||||
|
?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
const LOGIN_PAGE = true;
|
|
||||||
|
|
||||||
/** @var string|null $error */
|
/** @var string|null $error */
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user