Commit a6fe503e authored by Stephane Crozat's avatar Stephane Crozat

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]@etu.utc.fr'>[mail]</a> <a href='https://demeter.utc.fr/portal/pls/portal30/portal30.get_photo_utilisateur?username=$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='https://demeter.utc.fr/portal/pls/portal30/portal30.get_photo_utilisateur?username=$row[utclogin]'>[photo]</a>";
}
}
......
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