Espacements admin@import_export
This commit is contained in:
parent
afdb0ff2ef
commit
6d522a2de8
|
@ -568,7 +568,7 @@ if( permission('admin') ){
|
|||
|
||||
array_push($anneesListe, $annee['annee']);
|
||||
}}
|
||||
echo "</select><br>";
|
||||
echo "</select><br><br>";
|
||||
|
||||
|
||||
|
||||
|
@ -604,14 +604,14 @@ if( permission('admin') ){
|
|||
// si on a selectionné un semestre
|
||||
if( $semestreOpt != null )
|
||||
foreach($answer->yearList as $annee){ if( $anneeOpt == $annee['annee'] ){ foreach($annee['semestres'] as $semestre){ if( $semestreOpt == $semestre['id'] ){
|
||||
echo "<span class='unstressed'>".$semestre['nb_etudiants']." étudiants</span><br>";
|
||||
echo "<span class='unstressed'>".$semestre['nb_etudiants']." étudiants</span><br><br>";
|
||||
}}}}
|
||||
else{ // si on a selectionné "Tous"
|
||||
$nbTotal = 0;
|
||||
foreach($answer->yearList as $annee){ if( $anneeOpt == $annee['annee'] ){ foreach($annee['semestres'] as $semestre){
|
||||
$nbTotal += $semestre['nb_etudiants'];
|
||||
}}}
|
||||
echo "<span class='unstressed'>".$nbTotal." étudiants</span><br>";
|
||||
echo "<span class='unstressed'>".$nbTotal." étudiants</span><br><br>";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue