Correction admin@modules/import, <select> de semestre de l'import marchent
This commit is contained in:
parent
40a22a9a04
commit
e43a564787
|
@ -661,9 +661,9 @@ if( permission('admin') ){
|
|||
foreach($annee['semestres'] as $semestre){ if( in_array($semestre['id'], $semestresListe) ){
|
||||
|
||||
if( $semestre['id'] == $semestreOpt ) // si c'est le semestre séléctionné
|
||||
echo "<span data-year='".$annee['annee']."' data-stre='".$semestre['id']."' class='active'>".$semestre['formation']." - ".$semestre['nom'].'</span>';
|
||||
echo "<span data-frm='".$semestre['id_formation']."' data-stre='".$semestre['id']."' class='active'>".$semestre['formation']." - ".$semestre['nom'].'</span>';
|
||||
else // sinon on affiche normalement
|
||||
echo "<span data-year='".$annee['annee']."' data-stre='".$semestre['id']."'>".$semestre['formation']." - ".$semestre['nom'].'</span>';
|
||||
echo "<span data-frm='".$semestre['id_formation']."' data-stre='".$semestre['id']."'>".$semestre['formation']." - ".$semestre['nom'].'</span>';
|
||||
|
||||
}}
|
||||
echo "</div><br><br>";
|
||||
|
|
Loading…
Reference in New Issue