X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fcourses.html.sh;h=99e3381c330fdab04a3c2aec1eae4ff2dfc3f363;hp=698fe2c37e65dbe9823b067b23826d509abacfbc;hb=refs%2Fheads%2Fmaster;hpb=2532a74006181d1b703b0884a8a82f66747beb1a diff --git a/templates/courses.html.sh b/templates/courses.html.sh deleted file mode 100644 index 698fe2c..0000000 --- a/templates/courses.html.sh +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 2014 Paul Hänsch -# -# This file is part of Confetti. -# -# Confetti is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Confetti is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with Confetti. If not, see . - -edit="$_GET[\"edit\"]" - -check_order(){ - [ "$_GET[\"order\"]" = "$1" ] && echo 'checked="checked"' -} - -cat < - - - -
-
- -
-
- -
-$( -[ -f "ical/$edit" -o -f "temp/$edit" ] && edit_course "$edit" -if [ "$?" = 0 ]; then - listcourses |grep -v "$edit" -else - listcourses -fi |while read card; do - view_course "$card" -done -) -
-EOF - -# vi:set filetype=html: