svn path=/trunk/; revision=73
cgi_post
-fakemp4=$(validate "${_POST[fakemp4]}" yes no)
-watch=$(validate "${_POST[watch]}" '(240p|480p|download|raspi|player|server)' player)
-pagesize=$(validate "${_POST[pagesize]}" '[1-9][0-9]+' 1)
+fakemp4=$( validate "${_POST[fakemp4]}" yes no)
+watch=$( validate "${_POST[watch]}" '(240p|480p|download|raspi|player|server)' player)
+pagesize=$(validate "${_POST[pagesize]}" '[1-9][0-9]*' 50)
debug '== Setting Preferences =='
debug "fakemp4 = $fakemp4"