- <form class="panel" id="tagger" action="?action=meta&${page_this}" method="post" accept-charset="UTF-8">
- <input type="hidden" name="length" value="$length">
- <input type="hidden" name="width" value="$width">
- <input type="hidden" name="height" value="$height">
-
- $(
- for cat in $(list_categories); do
- printf '<p class="newtag"><label class="category">%s:</label><select name="tag" size="12" multiple>' "${cat}"
- catt="${cat}:"
- [ "$catt" = "none:" ] && catt=''
-
- printf %s "$taglist" |egrep '^'"$catt"'[^:]+$' |while read line; do
- printf '<option %s value="%s">%s</option>' \
- "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \
- "$line" "${line#*:}"
- done
- printf '</select></p>'
+<form class="panel switchable bottom" id="tagger" action="?action=meta&${page_this}" method="post" accept-charset="UTF-8">
+ <input type="hidden" name="referrer" value="$(attribsafe "${REQUEST_URI}")">
+ <input type="hidden" name="length" value="$length">
+ <input type="hidden" name="width" value="$width">
+ <input type="hidden" name="height" value="$height">
+
+ $(
+ for cat in $(list_categories); do
+ printf '<fieldset class="newtag"><label class="category">%s:</label><select name="tag" size="12" multiple>' "${cat}"
+ catt="${cat}:"
+ [ "$catt" = "none:" ] && catt=''
+
+ printf %s "$taglist_set" |egrep '^'"$catt"'[^:]+$' |while read line; do
+ printf '<option %s value="%s">%s</option>' \
+ "$(egrep -q "(^|.*\|)$line(\|.*|$)" "$meta" && printf selected)" \
+ "$line" "${line#*:}"