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:
@ -59,7 +59,7 @@ foreach ($syntheses as $synthesis) {
|
||||
$file_id = $synthesis->getFileId();
|
||||
$dest = $synthesis->getDest();
|
||||
$version = $synthesis->getVersion();
|
||||
echo "Note de synthèse pour " . ($dest == DestType::OPPOSANT ? "l'opposant" : "le rapporteur") . " (version $version) : <a href=\"$URL_BASE/file/$file_id\">Télécharger</a><br />";
|
||||
echo "Note de synthèse pour " . ($dest == DestType::OPPOSANT ? "l'opposant" : "le rapporteur") . " (version $version) : <a href=\"/file/$file_id\">Télécharger</a><br />";
|
||||
}
|
||||
|
||||
if ($team->isSelectedForFinal()) { ?>
|
||||
@ -72,7 +72,7 @@ if ($team->isSelectedForFinal()) { ?>
|
||||
$file_id = $synthesis->getFileId();
|
||||
$dest = $synthesis->getDest();
|
||||
$version = $synthesis->getVersion();
|
||||
echo "Note de synthèse pour " . ($dest == DestType::OPPOSANT ? "l'opposant" : "le rapporteur") . " (version $version) : <a href=\"$URL_BASE/file/$file_id\">Télécharger</a><br />";
|
||||
echo "Note de synthèse pour " . ($dest == DestType::OPPOSANT ? "l'opposant" : "le rapporteur") . " (version $version) : <a href=\"/file/$file_id\">Télécharger</a><br />";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user