locktimeout=900
. "$_EXEC"/session_lock.sh
-card="$(GET card)"
-cardfile="$_DATA/vcard/$card"
+card="$(GET card |PATH)"
+cardfile="$_DATA/vcard/${card##*/}"
filter="$(REF f)"
order="$(REF o)"
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]
filter="$(REF f)"
order="$(REF o)"
-card="$(POST card)"
-cardfile="$_DATA/vcard/$card"
+card="$(POST card |PATH)"
+cardfile="$_DATA/vcard/${card##*/}"
attfile="$_DATA/mappings/attendance"
action="$(POST action)"