Commit 5066f949 authored by Stephane Crozat's avatar Stephane Crozat

Ajout mailling-list des inscrits

parent af498999
......@@ -181,6 +181,12 @@ class Views {
echo "<hr/>";
if (isset($students[0])) {
echo '<h2>'.$this->printApi($students[0]).'</h2>';
$mailinglist='mailto:';
foreach ($students as $s) {
$mailinglist = $mailinglist."$s[email],";
}
echo "<div><a href='$mailinglist'>> Mailing list</a></div>";
echo "<hr/>";
}
else {
echo '<h2>Aucun inscrit</h2>';
......
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