Commit a6fe503e authored by Stephane Crozat's avatar Stephane Crozat
Browse files

Ajout photo, fix #19

parent e789edc1
......@@ -64,10 +64,10 @@ class Views {
private function printStudent($row) {
if (!$row['surname']) {
return "$row[utclogin] $row[level]";
return "$row[utclogin] $row[level] <a href='mailto:$row[utclogin]'>[mail]</a> <a href='$row[utclogin]'>[photo]</a>";
else {
return "$row[firstname] $row[surname] $row[level] (<a href='mailto:$row[email]'>[mail]</a>)";
return "$row[firstname] $row[surname] $row[level] <a href='mailto:$row[email]'>[mail]</a> <a href='$row[utclogin]'>[photo]</a>";
Supports Markdown
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