<label class="category tabhandle" for="cat${n}_$cat">$([ "$cat" = none ] && printf %s general || printf %s "$cat")</label>
<select class="category tabcontent" class="input tagfilter" name="cfilter${n}_" size="12" multiple>
$(category_selected "$cat" "$filter")
<label class="category tabhandle" for="cat${n}_$cat">$([ "$cat" = none ] && printf %s general || printf %s "$cat")</label>
<select class="category tabcontent" class="input tagfilter" name="cfilter${n}_" size="12" multiple>
$(category_selected "$cat" "$filter")
<label class="tabhandle filter" for="filter$n">+ and</label>
<div class="tabcontent filter">
<input type="radio" name="type$n" value="pos" id="pos$n" ${fneg:-checked} ><label for="pos$n" class="conjunction">Any</label>
<label class="tabhandle filter" for="filter$n">+ and</label>
<div class="tabcontent filter">
<input type="radio" name="type$n" value="pos" id="pos$n" ${fneg:-checked} ><label for="pos$n" class="conjunction">Any</label>
<p class="filter final">
<label for="o3" class="order">Order by:</label>
<select class="edit order" size="1" name="o" id="o3">
<p class="filter final">
<label for="o3" class="order">Order by:</label>
<select class="edit order" size="1" name="o" id="o3">
- <option $([ "${_GET[o]}" = Name ] && echo selected) >Name</option>
- <option $([ "${_GET[o]}" = Date ] && echo selected) >Date</option>
- <option $([ "${_GET[o]}" = Length ] && echo selected) >Length</option>
+ <option $([ "${_GET[o]}" = Name ] && printf selected) >Name</option>
+ <option $([ "${_GET[o]}" = Date ] && printf selected) >Date</option>
+ <option $([ "${_GET[o]}" = Length ] && printf selected) >Length</option>