X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fedit_attendee.sh;h=bf504551aaaf50fa75ef9184128623aa9be1bec7;hp=e00db8d9ba54afea2342cf98474d359211e491db;hb=0e814c6ffab2486405f60a1dfbfa048e76bba1f2;hpb=4aaa2c65a2591f3526e5ac3960c4d38a15be041d diff --git a/templates/edit_attendee.sh b/templates/edit_attendee.sh index e00db8d..bf50455 100755 --- a/templates/edit_attendee.sh +++ b/templates/edit_attendee.sh @@ -1,3 +1,20 @@ +# Copyright 2014 Paul Hänsch +# +# This file is part of Confetti. +# +# Confetti is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Confetti is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with Confetti. If not, see . + check_gen() { [ "$values[GENDER]" = "$1" ] && echo 'selected="selected"' } @@ -13,10 +30,10 @@ n_post="$(echo "$values[N]" |sed -rn 's:^([^;]*;){4} *([^;]*)*$:\2:p')" SUP_FIELDS=(N NICKNAME GENDER BDAY X-ZACK-JOINDATE X-ZACK-LEAVEDATE EMAIL TEL IMPP ADR URL NOTE) -[ -z "$values[UID]" ] && values[UID]="$(dbus-uuidgen)" +[ -z "$values[UID]" ] && values[UID]="$(uuidgenerator)" echo '
' -echo '
' +echo '' echo '' echo '
' echo ' '$(l10n N)'' @@ -105,7 +122,7 @@ echo '
' echo ' '$(l10n course_attendance)'' listcourses |while read each; do cname="$(sed -rn 's:^SUMMARY\:(.*)$:\1:p' "$_DATA/ical/$each")" - echo ' '$cname'' + echo ' ' done echo '
' echo ''