X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=cards%2Fmain.cgi;h=6f44168fa0914e239a086a05bf0b9ee26b4481a7;hp=899388d994e07d68d304890a268d7435de5d5604;hb=11e258b8e6cf832c96b20648aa8c9ca0288c597f;hpb=79c8cc42d90a62b40dd2fc2215c3d07208160f22 diff --git a/cards/main.cgi b/cards/main.cgi index 899388d..6f44168 100755 --- a/cards/main.cgi +++ b/cards/main.cgi @@ -11,6 +11,9 @@ fi . $_EXEC/cards/widgets.sh . $_EXEC/cards/list.sh +unescape() { [ $# = 0 ] && sed -E 's;\\(.);\1;g' || printf %s "$*" |sed -E 's;\\(.);\1;g'; } +upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ;; ' + filter="$(GET f)" order="$(GET o)" edit="$(GET e)" @@ -19,7 +22,7 @@ edit="$(GET e)" { w_filter_diag printf ' - [form class="newcard" action="cards/new_card.sh" method="POST" + [form class="newcard" action="/cards/new_card.sh" method="POST" [button type="submit" %s] ]' "$(l10n newcard)"