Compare commits
2 Commits
240296f89b
..
bugs
| Author | SHA1 | Date | |
|---|---|---|---|
| c22853d802 | |||
| 4abc5f4167 |
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
include_once 'php/controller/profile-controller.php';
|
||||
|
||||
$user = $user ?? null;
|
||||
$isEditMode = (isset($_GET["edit"]) && $_GET["edit"] === "1") || !empty($error);
|
||||
|
||||
+3
-3
@@ -16,7 +16,7 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden
|
||||
|
||||
<!-- Mobile navbar mit Burger-Symbol -->
|
||||
<input type="checkbox" id="nav-toggle" class="nav__checkbox">
|
||||
<label for="nav-toggle" class="nav__mobile-button">
|
||||
<label for="nav-toggle" id="mobile-nav">
|
||||
<span>☰</span>
|
||||
</label>
|
||||
|
||||
@@ -151,7 +151,7 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden
|
||||
</a>
|
||||
|
||||
<div class="nav__search">
|
||||
<?php include_once __DIR__ . '/search.php'; ?>
|
||||
<?php include_once 'search.php'; ?>
|
||||
</div>
|
||||
|
||||
<a href="index.php?pfad=createArticle" class="nav__item nav__button">
|
||||
@@ -165,7 +165,7 @@ Globales Menü, wird via PHP später in alle Seiten eingebunden
|
||||
<?php else: ?>
|
||||
|
||||
<div class="nav__search">
|
||||
<?php include_once __DIR__ . '/search.php'; ?>
|
||||
<?php include_once 'search.php'; ?>
|
||||
</div>
|
||||
|
||||
<a href="index.php?pfad=login" class="nav__item nav__button">
|
||||
|
||||
@@ -2,13 +2,6 @@
|
||||
if (session_status() === PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
|
||||
include_once "includes/csrf.php";
|
||||
include_once "php/controller/index-controller.php";
|
||||
?>
|
||||
if (session_status() === PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
include_once "includes/csrf.php";
|
||||
include_once "php/controller/index-controller.php";
|
||||
?>
|
||||
|
||||
@@ -20,6 +20,8 @@ if ($pfad === "login") {
|
||||
include_once "php/controller/confirm-register-controller.php";
|
||||
} elseif ($pfad === "confirm-password") {
|
||||
include_once "php/controller/confirm-password-controller.php";
|
||||
} elseif ($pfad === "profile") {
|
||||
include_once "php/controller/profile-controller.php";
|
||||
} elseif ($pfad === "updateComment") {
|
||||
include_once "php/controller/updateComment-controller.php";
|
||||
} elseif($pfad === "deleteComment") {
|
||||
|
||||
Reference in New Issue
Block a user