w_tags="$_DATA/.index/tags.cache"; w_tagcategories="$_DATA/.index/tagcategories.cache"
if [ ! -f "$w_tags" -o ! -f "$w_tagcategories" ] \
- || [ "$(find "$_DATA/" -path '*/.index/meta' -newer "$w_tags" -quit)" ]
+ || [ "$(find "$_DATA/" -path '*/.index/meta' -newer "$w_tags")" ]
then
w_tags="$( { local cn=1
find "$_DATA/" -path '*/.index/meta' -print0 \
}
w_index(){
- [ -d "$_DATA/$ITEM/.index" ] || printf '
+ [ -d "$_DATA/$ITEM/.index" ] && return 1 || printf '
[form #index method="POST" action="?a=spawnindex"
[hidden "ref" "%s"]
[label Set up for Index view: ]
[submit "spawn" "spawn" Set up]
]
' "$w_refuri"
+ return 0
}
w_advsearch(){