[x] Cacher "importer les notes" au référent (master)

[x] Correction erreur chevauchement HTML référent marks@jury
This commit is contained in:
xdrm-brackets 2016-01-05 23:40:13 +01:00
parent 5b9d5283b2
commit 9118c3a2cb
1 changed files with 9 additions and 5 deletions

View File

@ -712,8 +712,13 @@ elseif( permission('master') || permission('admin') ){ // si enseignant et qu'un
echo "<th colspan=5 style='font-size:1.5em; text-align:center;'>".$answer->controle['nom'].' - '.$answer->controle['libelle'].'</th>'; echo "<th colspan=5 style='font-size:1.5em; text-align:center;'>".$answer->controle['nom'].' - '.$answer->controle['libelle'].'</th>';
echo '<tr class="noborder transparentbg">'; echo '<tr class="noborder transparentbg">';
/**/ if( permission('admin') ){
echo "<td><div class='confirm active' style='background-color:#fff;' id='import_notes' data-ctrl='".$answer->controle['id']."'>Importer les notes"; echo "<td><div class='confirm active' style='background-color:#fff;' id='import_notes' data-ctrl='".$answer->controle['id']."'>Importer les notes";
echo "<input type='file'></div></td>"; echo "<input type='file'></div></td>";
}else{ // remplacement du "Importer notes"
echo "<td></td>";
}
echo "<th>".$answer->controle['module']." - ".$answer->controle['modulelib']."</th>"; echo "<th>".$answer->controle['module']." - ".$answer->controle['modulelib']."</th>";
@ -1024,8 +1029,7 @@ if( permission('master') || permission('admin') ){
echo "</div>"; echo "</div>";
}else }
echo "<div class='p center>Erreur interne...</div>";
} }