dev auf main #68

Open
niklas.ortmann wants to merge 1044 commits from devNachCSRF into main
Showing only changes of commit f4d144980d - Show all commits
+4 -5
View File
@@ -29,14 +29,13 @@ require_once $abs_path . "/php/controller/index-controller.php";
<body> <body>
<?php if (isset($_SESSION["message"]) && $_SESSION["message"] == "new_article"): ?> <?php
include_once $abs_path . '/includes/navbar.php';
if (isset($_SESSION["message"]) && $_SESSION["message"] == "new_article"): ?>
<p style="color:green"> <p style="color:green">
Dein Beitrag wurde erfolgreich veröffentlicht! Dein Beitrag wurde erfolgreich veröffentlicht!
</p> </p>
<?php endif; ?> <?php endif;
<?php
include_once $abs_path . '/includes/navbar.php';
//Dynamischer Inhalt: //Dynamischer Inhalt:
if (isset($_GET["pfad"])) { if (isset($_GET["pfad"])) {
if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) { if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) {