X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=cards%2Findex.cgi;fp=cards%2Findex.cgi;h=f1306f6aeb0ed05f395a2580fed9fe2f85b62a7e;hp=6f44168fa0914e239a086a05bf0b9ee26b4481a7;hb=de8d4cf5570142a647bfe81f13fa87a73802e4e8;hpb=daf4b56b27a3eae9513b6716aaa3e98e93a728a0 diff --git a/cards/index.cgi b/cards/index.cgi index 6f44168..f1306f6 100755 --- a/cards/index.cgi +++ b/cards/index.cgi @@ -16,11 +16,12 @@ upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ filter="$(GET f)" order="$(GET o)" -edit="$(GET e)" +edit="$(GET e |PATH)" + [ "$order" ] || order=firstname +edit="${edit##*/}" { w_filter_diag - printf ' [form class="newcard" action="/cards/new_card.sh" method="POST" [button type="submit" %s]