svn path=/trunk/; revision=160
;;
esac
-
redirect "${url}"
printf '<input type="hidden" name="bm_url" value="%s" />
<input type="text" name="bm_name" value="%s" readonly="readonly" /
><button type="submit" name="submit" value="del">%s</button>' \
- "$(attribsafe ${REQUEST_URI})" "$(attribsafe $(grep -F "$REQUEST_URI " "$bmfile" |sed -r 's;.*\t;;'))" "$(l10n bm_del)"
+ "$(attribsafe ${REQUEST_URI})" \
+ "$(attribsafe $(grep -m1 -F "$REQUEST_URI " "$bmfile" |sed -r 's;.*\t;;'))" \
+ "$(l10n bm_del)"
else
printf '<input type="hidden" name="bm_url" value="%s" />
<input type="text" name="bm_name" placeholder="%s" /