Ajout de titres aux énigmes.

Modification des pages en conséquence.
This commit is contained in:
antux18 2023-07-27 13:10:52 +02:00
parent 169db0dc95
commit a299ceff64
3 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
</header>
<main>
<header>
<h1><?= $tr["page_title"]["article"] . $art_id ?></h1>
<h1><?= $tr["page_title"]["article"] . $art_id . " : " . $article["title"] ?></h1>
<p><?= $article["text"] ?></p>
</header>
<article>

Binary file not shown.

View File

@ -55,7 +55,7 @@
<article>
<ul>
<?php foreach ($puzzles as $puzzle) : ?>
<li><a href="article.php?team=<?= $team_id ?>&id=<?= $puzzle["id"] ?>"><?= $puzzle["text"] ?></a></li>
<li><a href="article.php?team=<?= $team_id ?>&id=<?= $puzzle["id"] ?>"><?= $tr["page_title"]["article"] . $puzzle["id"] . " : " . $puzzle["title"] ?></a></li>
<?php endforeach; ?>
</ul>
</article>