1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2025-06-25 06:20:36 +02:00

♻️ Remove $URL_BASE from most html strings

Signed-off-by: Hadrien RENAUD <hadrien.renaud@polytechnique.edu>
This commit is contained in:
Hadrien RENAUD
2019-09-08 22:19:11 +02:00
parent 1bf0316f2b
commit a4be91c8ee
13 changed files with 42 additions and 42 deletions

View File

@ -56,7 +56,7 @@ foreach ($solutions as $sol) {
$file_id = $sol->getFileId();
$problem = $sol->getProblem();
$version = $sol->getVersion();
echo "Problème $problem (Version $version) : <a href=\"$URL_BASE/file/$file_id\">Télécharger</a><br />";
echo "Problème $problem (Version $version) : <a href=\"/file/$file_id\">Télécharger</a><br />";
}
if ($team->isSelectedForFinal()) { ?>
@ -69,7 +69,7 @@ if ($team->isSelectedForFinal()) { ?>
$file_id = $sol->getFileId();
$problem = $sol->getProblem();
$version = $sol->getVersion();
echo "Problème $problem (Version $version) : <a href=\"$URL_BASE/file/$file_id\">Télécharger</a><br />";
echo "Problème $problem (Version $version) : <a href=\"/file/$file_id\">Télécharger</a><br />";
}
}