Commit cafeff87 authored by Stéphane Crozat's avatar Stéphane Crozat
Browse files

Correct quotes in adminFunction (JSON )

parent 9def4210
......@@ -239,9 +239,9 @@ class Views {
// Student list
echo '<h3>Liste des inscrits</h3>';
echo '<script src="js/main.js"></script>';
echo "<script>var csvstudents = [['Semaine','Code','Api','Nom','Prénom','Niveau','Mail','Login'],";
echo '<script>var csvstudents = [["Semaine","Code","Api","Nom","Prénom","Niveau","Mail","Login"],';
foreach ($students as $s) {
echo "['$s[week]','$s[normcode]','$s[name]','$s[surname]','$s[firstname]','$s[level]','$s[email]','$s[utclogin]'],";
echo '["$s[week]","$s[normcode]","$s[name]","$s[surname]","$s[firstname]","$s[level]","$s[email]","$s[utclogin]"],';
}
echo "];</script>";
// Api Menu
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment