X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Ffilter.html.sh;fp=templates%2Ffilter.html.sh;h=0ba32bbabcb148bd0eb6c4b97f0be4d9ab13aff2;hb=dcf73ef720f872f1d61834e9008641d3ec3d489a;hp=4d1547dea65f469fc316933e2dff967f9e1118f4;hpb=0309ef932c00c79a04f50df9e5ca12ee9f3b4add;p=serve0 diff --git a/templates/filter.html.sh b/templates/filter.html.sh index 4d1547d..0ba32bb 100755 --- a/templates/filter.html.sh +++ b/templates/filter.html.sh @@ -34,30 +34,30 @@ cat <Up to 10 filter boxes will appear as you start selecting tags. You can select multiple tags in each box by holding down the Ctrl-key. Click the "Filter!" button when you are ready.

$(for n in {0..9}; do - hideall="$(echo "$taglist" |sed -rn "s;^([^:]+):.*$;hide('${n}_\\1')\\;;p" |sort -u)hide('${n}_none');" - echo " -

- and - - - of the tags selected here: - - - - $(echo "$taglist" |sed -rn 's;^([^:]+):.*$;\1;p' |sort -u |while read cat; do echo " - " - done) -

" + cat <<-EOF + + +
+ + + of the items selected here: + + +
+ $( {echo none; echo "$taglist" |sed -rn 's;^([^:]+):.*$;\1;p' |sort -u} \ + |while read cat; do echo " +
+ + + +
+ " + done) +
+
+ EOF done)