Espacements admin@import_export

This commit is contained in:
xdrm-brackets 2015-11-20 10:36:10 +01:00
parent afdb0ff2ef
commit 6d522a2de8
1 changed files with 3 additions and 3 deletions

View File

@ -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>";
}