1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-02-06 12:13:01 +00:00

Correction d'affichage

This commit is contained in:
Yohann 2020-01-24 10:56:33 +01:00
parent e5501c2076
commit 7815737079

View File

@ -2,8 +2,7 @@
require_once "header.php"; require_once "header.php";
?> ?>
<?php <?php
if (false) { if (Phase::getCurrentPhase() >= Phase::PHASE1) { ?>
} elseif (Phase::getCurrentPhase() >= Phase::PHASE1) { ?>
<div class="mt-4 mb-4"> <div class="mt-4 mb-4">
<h1 class="display-4">Ma participation</h1> <h1 class="display-4">Ma participation</h1>
</div> </div>
@ -97,7 +96,7 @@ if (false) {
continue; continue;
?> ?>
<div class="alert alert-info"> <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/> <br/>
<?php <?php
if ($question->getAttachedFile() !== null) { ?> if ($question->getAttachedFile() !== null) { ?>