X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=cards%2Findex.cgi;h=e25843c54d68e8019fad4977382e31d4fdc5ca85;hp=90be142e631be5632667aaa10cc0d28e24a8fabc;hb=1227cb42309bc7edd296e8fea288f68968b1e003;hpb=521f8b855c2aed5e229779ba40a0e62078e61988 diff --git a/cards/index.cgi b/cards/index.cgi index 90be142..e25843c 100755 --- a/cards/index.cgi +++ b/cards/index.cgi @@ -1,11 +1,5 @@ #!/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 @@ -24,8 +18,12 @@ edit="${edit##*/}" printf ' [form class="newcard" action="/cards/new_card.sh" method="POST" [button type="submit" %s] - ]' "$(l10n newcard)" - + [input name="seed" placeholder="%s %s %s %s %s %s %s () %s () %s"] + ]' "$(l10n newcard)" \ + "$(l10n X-ZACK-JOINDATE)" "$(l10n n_first)" "$(l10n n_last)" \ + "$(l10n BDAY) $(l10n month)" "$(l10n BDAY) $(l10n year)" \ + "$(l10n TEL)" "$(l10n TEL) $(l10n 'TYPE=CELL')" "$(l10n EMAIL)" \ + "$(l10n NOTE)" [ "$edit" ] && edit_card "$edit" list_cards -} | yield_page cards /cards/cards.css +} | yield_page cards #/cards/cards.css