X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fcards.html.sh;h=2eca4d15451d74fc97d991cedd33ddb7e55ee42c;hp=c3d277fb09ef6e8ded69171992b033413864e4b9;hb=0148cdea1cf6f906cc401885013da20774034d75;hpb=b0ab910afe1f7fec143a23e96c72e4f9a66db2bf diff --git a/templates/cards.html.sh b/templates/cards.html.sh index c3d277f..2eca4d1 100755 --- a/templates/cards.html.sh +++ b/templates/cards.html.sh @@ -22,44 +22,39 @@ check_order(){ [ "${_GET[order]}" = "$1" ] && echo 'checked="checked"' } -edit="${_GET[edit]}" -[ \! -f "vcard/$edit" -a \! -f "temp/$edit" ] && edit='' -[ -z "${_GET[filtertype]}" ] && _GET[filtertype]="any" - -case $PROFILE in -medical) - view_card=${0%/*}/view_client.sh - edit_card=${0%/*}/edit_client.sh - _GET[order]="${_GET[order]:-lastname}" - profile_medical=x -;; -circus) - view_card=${0%/*}/view_attendee.sh - edit_card=${0%/*}/edit_attendee.sh - _GET[order]="${_GET[order]:-firstname}" - profile_circus=x -;; -esac - cat <

$(l10n filter_label)

- -
-
- $(l10n filter_type): - - - - - - +
+ $(l10n filter_item): + + + + + + + + + + + + + + + + + + ${profile_circus:+ - + + } + +
-
+ +
$(l10n filter_order):