5 echo "<img class=\"PHOTO\" src=\"data:image/$tag[TYPE];base64,$value\"/>"
8 echo "<h2 CLASS=\"FN\">$value</h2>"
11 echo -n "<span class=\"item\"><span class=\"KEY $key\">$(l10n "$key")"
12 [ -n "$tag[TYPE]" ] && echo -n "($tag[TYPE])"
16 echo "<a href=\"mailto:$value\" class=\"VALUE $key\">$value</a></item>"
19 echo "<a href=\"$value\" class=\"VALUE $key\">"$(echo "$value" |cut -d: -f2-)"</a></item>"
22 echo "<span class=\"VALUE $key\">$value</span></item>"
27 view_attendee() { #Parameter: Cardfile
29 cachefile="cache/vcf_$(basename "$cardfile").cache"
31 [ "$cachefile" -nt "$cardfile" ] && cat "$cachefile" \
32 || vcf_parse "$cardfile" |while read -r line; do
35 value*) eval "$line";;
38 if [ -z "$key" ]; then
48 done |tee "$cachefile"