X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=widgets.sh;h=a039d97b6b486613b8e19ae2dbb71a318f3c07dd;hb=baf649f51d09c0e0a80dde4abe2b4a3b3d85dd56;hp=25ec01e9c05bcfdd78b2a0d965dfafdc7c3bbf20;hpb=b9192aa3f4cb8f563cdf233f81176e00d4a0e6fb;p=serve0 diff --git a/widgets.sh b/widgets.sh index 25ec01e..a039d97 100644 --- a/widgets.sh +++ b/widgets.sh @@ -181,7 +181,7 @@ w_advsearch(){ local n lbid tag category filter f t d filter="$(HTML "${FILTER}^" |sed "$w_ascii")" - printf '[form #advsearch action=?a=advsearch method=POST + printf '[form #advsearch action=./?a=advsearch method=POST [a href="#" Hide] [p .help Select multiple tags from each category by holding down the [strong Ctrl] key on your keyboard.[br] Refine the search further by setting additional search tags using the [strong "+and"] button.]' @@ -201,7 +201,7 @@ w_advsearch(){ $n "${t:-checked}" $n $n \ $n "${t:+checked}" $n $n - f="|${f#~}|" + f="|${f#\~}|" printf '*\n%s\n' "$w_tagcategories" \ | while read -r category; do lbid="cat_${n}_${category}" @@ -244,6 +244,15 @@ w_advsearch(){ "$w_colength" "$w_cogroup" } +w_delete(){ + printf '[a href="#multitag" Add Tags / Remove Tags] + [div #multitag [input type="hidden" name="ref" value="%s"] + [a href="#" Hide][br] + [fieldset [legend New:] + [submit "op" "filedelete" Delete Files] + ]]' "$w_refuri" +} + w_tagging(){ local tag category d printf '[a href="#multitag" Add Tags / Remove Tags]