X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=templates%2Fedit_attendee.sh;h=e5050128db36e54f40301eb46e1a16d4e409c15d;hb=9da0f336d8e830196893925f3e13b278d0d50189;hp=cb0b5b17010afbbf8f0ddf2f3477aa256cfc001f;hpb=d959549ee6cec995f6e8975002b3bc0e9375e564;p=lobster
diff --git a/templates/edit_attendee.sh b/templates/edit_attendee.sh
index cb0b5b1..e505012 100755
--- a/templates/edit_attendee.sh
+++ b/templates/edit_attendee.sh
@@ -1,54 +1,142 @@
-edit_card_item() {
- case "$key" in
- BEGIN|VERSION|END|FN);;
- PHOTO)
- echo ""
- ;;
- *)
- echo -n "$(l10n "$key")"
- [ -n "$tag[TYPE]" ] && echo -n "($tag[TYPE])"
- echo ":"
- ;|
- N)
- n_last="$(echo "$value" |sed -r 's:^([^;]*;){0} *([^;]*);.*$:\2:')"
- n_first="$(echo "$value" |sed -r 's:^([^;]*;){1} *([^;]*);.*$:\2:')"
- n_middle="$(echo "$value" |sed -r 's:^([^;]*;){2} *([^;]*);.*$:\2:')"
- n_pre="$(echo "$value" |sed -r 's:^([^;]*;){3} *([^;]*);.*$:\2:')"
- n_post="$(echo "$value" |sed -r 's:^([^;]*;){4} *([^;]*);*$:\2:')"
- echo ""
- echo ""
- echo ""
- echo ""
- echo ""
- echo ""
- ;;
- *)
- echo ""
- echo ""
- ;;
- esac
-}
+# 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