]> git.plutz.net Git - confetti/blobdiff - pages/attendees.sh
adaptions to updated shcgi
[confetti] / pages / attendees.sh
index 9cc387e48ca025f6e2f077fa6f2109fab57b4032..0a1f88df2ec0d9935b3d3eb696299a98f78c76d2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/zsh
 
 # Copyright 2014, 2015 Paul Hänsch
 #
@@ -17,7 +17,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with Confetti.  If not, see <http://www.gnu.org/licenses/>. 
 
-[ -z "${_GET[order]}" ] && _GET[order]=firstname
+[ -z "${_GET[order]}" ] && _GET[order]="firstname"
 
 listcourses() {
   ls -1 ${_DATA}/ical/*ics |while read file; do
@@ -279,17 +279,3 @@ edit_attendee() {  #Parameter: Cardfile
   done
   . ${_EXEC}/templates/edit_attendee.sh
 }
-
-case "$1" in
-  title)
-    echo "Teilnehmende"
-  ;;
-  css)
-    . ${_EXEC}/templates/attendees.css.sh
-  ;;
-  body)
-    . ${_EXEC}/templates/text_attendee.sh
-    . ${_EXEC}/templates/attendees.html.sh
-  ;;
-esac
-