mirror of
https://gitlab.com/animath/si/plateforme-corres2math.git
synced 2025-06-25 16:57:23 +02:00
Phase 3 : réponse aux questions
This commit is contained in:
@ -42,9 +42,12 @@ for ($problem = 1; $problem <= 4; ++$problem) {
|
||||
continue;
|
||||
|
||||
echo "Question " . ($i + 1) . " : " . $question->getQuestion() . "<br />\n";
|
||||
if ($question->getAttachedFile() != null) {
|
||||
if ($question->getAttachedFile() != null)
|
||||
echo "<em>Pièce jointe attachée :</em> <a href=\"$URL_BASE/file/" . $question->getAttachedFile() . "\">Télécharger</a><br />\n";
|
||||
}
|
||||
if ($question->getAnswer() != null)
|
||||
echo "Réponse apportée : " . $question->getAnswer() . "<br />\n";
|
||||
if ($question->getAttachedFileAnswer() != null)
|
||||
echo "<em>Pièce jointe attachée pour la réponse :</em> <a href=\"$URL_BASE/file/" . $question->getAttachedFileAnswer() . "\">Télécharger</a><br />\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user