mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 11:52:20 +01:00 
			
		
		
		
	♻️ Remove $URL_BASE from most html strings
Signed-off-by: Hadrien RENAUD <hadrien.renaud@polytechnique.edu>
This commit is contained in:
		@@ -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 />";
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user