3 if [ "$_PATH" = "/courses/courses.css" ]; then
4 . $_EXEC/cgilite/file.sh
5 FILE $_EXEC/courses/courses.css
10 . $_EXEC/courses/l10n.sh
11 . $_EXEC/courses/widgets.sh
12 . $_EXEC/courses/list.sh
14 upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ;; '
16 order="$(GET o |grep -m1 -xE 'DOW|TOD')"
19 [ "$order" ] || order=DOW
24 [form .newcourses action="/courses/new_course.sh" method="POST"
25 [button type="submit" %s]
26 ]' "$(l10n newcourse)"
28 [ "$edit" ] && edit_course "$edit"
29 printf '[div .courselist\n'
32 } | yield_page courses #/courses/courses.css