cat <<FilterEnd
<div class="panel" id="search" style="display: block;">
- <form action="index.cgi" method="get" accept-charset="UTF-8">
+ <form action="?" method="get" accept-charset="UTF-8">
<input type="text" name="s" value="$search" placeholder="Search">
Order by:<select size="1" name="o">
<option>Name</option>
<a class="panel" href="#" onclick="javascript:hide_block('advfilter');$(for n in {1..9}; do echo "hide_inline('filter$n');"; done)show_block('search')">Hide</a>
<hr>
Up to <b>10</b> filter boxes will appear as you start selecting tags. You can select <b>multiple</b> tags in each box by holding down the <b>Ctrl</b>-key. Click the "<b>Filter!</b>" button when you are ready.
- <form action="filter.cgi" method="post" accept-charset="UTF-8">
+ <form action="?action=filter" method="post" accept-charset="UTF-8">
$(for n in {0..9}; do
hideall="$(sed -rn "s;^([^:]+):.*$;hide_inline('${n}_\\1')\\;;p" <<<"$taglist" |sort -u)hide_inline('${n}_none');"
echo "