Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Stephane Crozat
apisub
Commits
5066f949
Commit
5066f949
authored
Feb 08, 2019
by
Stephane Crozat
Browse files
Ajout mailling-list des inscrits
parent
af498999
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/views.php
View file @
5066f949
...
...
@@ -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>'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment