5 [form #search method=GET action=?
7 [option disabled=disabled Order By]
8 [option value=Name Name]
9 [option value=Date Date]
10 [option value=Length Length]
12 [input name=s placeholder=Search value="%s"]
19 fakemp4="$(COOKIE fakemp4)"
22 [form #prefs method="POST" action="?a=setprefs"
24 [label for=prefs_ps Pagesize]
25 [input #prefs_ps type=number name=pagesize value="%s"][br]
26 [radio "mode" "browse" %s #prefs_modebrowse] [label for=prefs_modebrowse Browse Folders][br]
27 [radio "mode" "index" %s #prefs_modeindex ] [label for=prefs_modeindex View Full Index][br]
28 [checkbox "fakemp4" "yes" %s #prefs_fmp4] [label for=prefs_fmp4 Fake .MP4 file ending][br]
29 [submit "store" "store" Set Cookie]
32 "$(HTML "$REQUEST_URI")" "$LISTSIZE" \
33 "$([ "$mode" = index ] || printf checked)" \
34 "$([ "$mode" = index ] && printf checked)" \
35 "$([ "$fakemp4" = yes ] && printf checked)"