show attendees in course list
[confetti] / actions / filter_attendee.sh
1 #!/bin/zsh
2
3 cgi_post
4
5 case "$_POST[\"choice\"]"; in
6   new_filter)
7     filter="$_POST[\"filter\"]"
8     filtertype="$_POST[\"filtertype\"]"
9     order="$_POST[\"order\"]"
10     echo -n "Location: http://$HTTP_HOST/?page=attendees&filter=$filter&filtertype=$filtertype&order=$order\n\n"
11     ;;
12   *)
13     echo -n "Location: http://$HTTP_HOST/?page=attendees\n\n"
14     ;;
15 esac