Kategorien nicht statisch sondern dynamisch #20

Merged
niklas.ortmann merged 21 commits from dynamicCategories into dev 2026-06-03 20:15:16 +02:00
Showing only changes of commit 2a3a15c92d - Show all commits
+3 -3
View File
@@ -13,11 +13,11 @@ include_once "php/controller/showCategory-controller.php";
<div class="s-res-item">
<div class="s-res-content">
<h2 class="s-res-item-title">
<a href="index.php?pfad=showArticle&id=<?php echo $article['id']; ?>" class="s-res-link">
<?php echo htmlspecialchars($article['title']); ?>
<a href="index.php?pfad=showArticle&id=<?php echo $article->getId(); ?>" class="s-res-link">
<?php echo htmlspecialchars($article->getTitle()); ?>
</a>
</h2>
<p class="s-res-author">Von: <span class="s-res-author-name"><?php echo htmlspecialchars($article['author']); ?></span></p>
<p class="s-res-author">Von: <span class="s-res-author-name"><?php echo htmlspecialchars($article->getAuthor()); ?></span></p>
</div>
<div class="s-res-arrow">&rarr;</div>
</div>