1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-07-04 03:32:08 +02:00

Suppression des tags $URL_BASE dans les fichiers HTML

This commit is contained in:
galaxyoyo
2019-09-24 00:16:50 +02:00
parent f17f68eb28
commit df2a006ef9
14 changed files with 38 additions and 38 deletions

View File

@ -45,11 +45,11 @@ for ($problem = 1; $problem <= 4; ++$problem) {
echo "Question " . ($i + 1) . " : " . $question->getQuestion() . "<br />\n";
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";
echo "<em>Pièce jointe attachée :</em> <a href=\"/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";
echo "<em>Pièce jointe attachée pour la réponse :</em> <a href=\"/file/" . $question->getAttachedFileAnswer() . "\">Télécharger</a><br />\n";
}
echo "<br />\n";
if (Phase::getCurrentPhase() >= Phase::PHASE4) {