svn path=/trunk/; revision=46
. ${_EXEC}/pages/courses.sh loadfunctions
. ${_EXEC}/pages/attendees.sh loadfunctions
+tex_clean() { #in dire need for improvement
+ echo "$*" |tr -d '{&}\'
+}
+
+
list_attendee() { #Parameter: Cardfile
id="$1"
cardfile="$_DATA/vcard/${id}"
if [ -z "$key" ]; then
eval "$line"
else
- values[$key]="$value"
+ values[$key]="$(tex_clean "$value")"
for t in ${(k)tag}; do
tags[${key}_$t]="$tag[$t]"
done
if [ -z "$key" ]; then
eval "$line"
else
- values[$key]="$value"
+ values[$key]="$(tex_clean "$value")"
for t in ${(k)tag}; do
tags[${key}_$t]="$tag[$t]"
done