quicklinks(){
output=''
tac ${_DATA}/meta/recent \
- | while [ "$(printf %s "$output" |wc -l)" -lt 10 ] && read line; do
+ | while [ "$(printf %s "$output" |wc -l)" -lt 30 ] && read line; do
printf %s "$output" |grep -qF "$line" || output="$output$line$LF"
done
printf %s "$output" |while read line; do
linef=$(printf %s "$line" |sed -r 's;^.*(\?|&)f=([^&]+)&?.*$;\2;g')
lineo=$(printf %s "$line" |sed -r 's;^.*(\?|&)o=([^&]+)&?.*$;\2;g')
- printf %s "<a href="$line">by ${lineo}: $(present_filter "$linef")</a>"
+ printf '<input type="checkbox"><a href="%s">by %s: %s</a>' "$line" "${lineo}" "$(present_filter "$linef")"
done
}