item_name[edit]="Bearbeiten"
item_name[ics_export]="ICal exportieren"
-item_name[course_attendance]="Teilnehmende"
+item_name[course_attendance]="Teilnahme"
+item_name[course_mail]="Mail an Teilnehmende"
item_name[sort_order]="Sortierung"
item_name[order_DOW]="Wochentag"
rr_limit=ETERN
fi
+coursemail=""
+
echo '<div id="'${id}'" class="course">'
echo '<form action="/?action=update_course" method="POST">'
echo '<input type="hidden" name="course" value="'${id}'"/>'
n_post="$( sed -rn 's:^N(;.+)*\:([^;]*;){4} *([^;]*).*$:\3:p' "$_DATA/vcard/$each")"
aname="${n_pre} ${n_first} ${n_middle} ${n_last} ${n_post}"
echo ' <a class="attendance" href="/?page=attendees#'$each'">'$aname'</a>'
+
+ coursemail="$coursemail$(sed -rn 's:^EMAIL(;.+)*\:(.+)\r$:\2,:p' "$_DATA/vcard/$each")"
done
echo ' </div>'
echo ' <div class="section control">'
echo ' <a class="item control" href="?action=edit_course&course='${id}'">'$(l10n edit)'</a>'
echo ' <a class="item control" href="?export=ical&course='${id}'">'$(l10n ics_export)'</a>'
+echo ' <a class="item control" href="mailto:noone@vuesch.de?bcc='$coursemail'">'$(l10n course_mail)'</a>'
echo ' </div>'
echo '<input type="hidden" name="UID" value="'$values["UID"]'"/>'
echo '</form>'