Beitrag erstellen #13

Merged
niklas.ortmann merged 164 commits from Beitrag-erstellen into dev 2026-05-29 13:22:11 +02:00
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>
<?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">
Dein Beitrag wurde erfolgreich veröffentlicht!
</p>
<?php endif; ?>
<?php
include_once $abs_path . '/includes/navbar.php';
<?php endif;
//Dynamischer Inhalt:
if (isset($_GET["pfad"])) {
if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) {