X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=globals.sh;fp=constants.sh;h=aac6dc9e92bbc5ae662b747a3f0a366253dd6798;hp=c526da4095a4032d27fc17ca78333dac01bec38e;hb=badf769c566295e6ceaf9a9d80de664c227666a4;hpb=4e49d483fd5121fda86a33cf583c15afa6556ad1 diff --git a/constants.sh b/globals.sh similarity index 92% rename from constants.sh rename to globals.sh index c526da4..aac6dc9 100755 --- a/constants.sh +++ b/globals.sh @@ -22,6 +22,9 @@ data_dirs vcard ical cache temp mappings VCF_FIELDS=(PHOTO LOGO FN NICKNAME SOUND GENDER KIND TITLE ROLE ORG MEMBER CATEGORIES ANNIVERSARY BDAY EMAIL TEL IMPP ADR URL LANG NOTE RELATED X-ZACK-JOINDATE X-ZACK-LEAVEDATE) +[ -z "$NAVIGATION" ] && NAVIGATION=(attendees courses) +PAGE="${_GET[p]:-$PAGE}" + uuidgenerator(){ head -c16 /dev/urandom |sha1sum - |cut -c1-32 }