X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fedit_course.sh;h=67e051173189afd5856258a9811ac36c27fb2911;hp=ea5e88d0b957857b022b3366e79250bcad4295a4;hb=63e4f339c5eb99b4aed9a2f201c2547c06703b5c;hpb=544144d4e557354fbe5af119c44471e51631680c diff --git a/templates/edit_course.sh b/templates/edit_course.sh index ea5e88d..67e0511 100755 --- a/templates/edit_course.sh +++ b/templates/edit_course.sh @@ -1,6 +1,22 @@ +# 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 . SUP_FIELDS=(SUMMARY COMMENT) -[ -z "$values[UID]" ] && values[UID]="$(dbus-uuidgen)" +[ -z "$values[UID]" ] && values[UID]="$(uuidgenerator)" dtstart="$values[DTSTART]" [ -z "$dtstart" ] && dtstart=$(date +%Y%m%dT%H%M%S) @@ -42,7 +58,7 @@ else fi echo '
' -echo '
' +echo '' echo '' echo '
' echo ' '$(l10n SUMMARY)''