X-Git-Url: https://git.plutz.net/?a=blobdiff_plain;f=cards%2Findex.cgi;h=0bb4f827c26cf53b7c934039d5260f3a88abe739;hb=b9f386037364d4a10931c37acb464f0bf6d0e5d3;hp=43f949c3a7fd256bec436c61b46988970c6958e2;hpb=fc6247752876daac4f5bfaa8b4e442fa7b0f07cb;p=lobster diff --git a/cards/index.cgi b/cards/index.cgi index 43f949c..0bb4f82 100755 --- a/cards/index.cgi +++ b/cards/index.cgi @@ -1,17 +1,10 @@ #!/bin/sh -if [ "$_PATH" = "/cards/cards.css" ]; then - . $_EXEC/cgilite/file.sh - FILE $_EXEC/cards/cards.css - return 0 -fi - . $_EXEC/pdiread.sh . $_EXEC/cards/l10n.sh . $_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)" @@ -32,7 +25,6 @@ list_hi_companies(){ [a href="#top" . %s] [button type="submit" %s] ]' "$(l10n top)" "$(l10n newcard)" - [ "$edit" ] && edit_card "$edit" list_cards -} | yield_page cards /cards/cards.css +} | yield_page cards #/cards/cards.css