X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=actions%2Fedit_course.sh;h=2b825619d494b8b6f75c4faff2ce28d7f51ea06f;hp=df07c325122cd8e2a2d52c7e6ba63a896d9df34c;hb=1e8f35fa92c610b540cbe365e2231194b58e0cc0;hpb=28c5fc2fa939cc3a2ac0b82287ec38c24c1a0063 diff --git a/actions/edit_course.sh b/actions/edit_course.sh index df07c32..2b82561 100644 --- a/actions/edit_course.sh +++ b/actions/edit_course.sh @@ -1,5 +1,22 @@ #!/bin/zsh +# 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 . + course="$_GET[\"course\"]" echo -n "Location: http://$HTTP_HOST/?page=courses&edit=$course\n\n"