Correction d'affichage

This commit is contained in:
Yohann 2020-01-24 10:56:33 +01:00
parent e5501c2076
commit 7815737079
1 changed files with 2 additions and 3 deletions

View File

@ -2,8 +2,7 @@
require_once "header.php";
?>
<?php
if (false) {
} elseif (Phase::getCurrentPhase() >= Phase::PHASE1) { ?>
if (Phase::getCurrentPhase() >= Phase::PHASE1) { ?>
<div class="mt-4 mb-4">
<h1 class="display-4">Ma participation</h1>
</div>
@ -97,7 +96,7 @@ if (false) {
continue;
?>
<div class="alert alert-info">
<strong>Question <?= $question->getNumber() ?> :</strong> <?= preg_replace("#\n#", "<br />\n", $question->getQuestion()) ?>
<strong><?= $question->getNumber() ? "Question " . $question->getNumber() : "Remarques générales" ?> :</strong> <?= preg_replace("#\n#", "<br />\n", $question->getQuestion()) ?>
<br/>
<?php
if ($question->getAttachedFile() !== null) { ?>