svn path=/trunk/; revision=8
#!/bin/zsh
+filter="$_GET[\"f\"]"
+search="$_GET[\"s\"]"
+order=$(echo "$_GET[\"o\"]" |egrep '^(Name|Date|Length)$')
+page=$(echo "$_GET[\"p\"]" |egrep '^[0-9]+$')
+
addtag(){
meta="$1"
tag="$2"
rm "${_DATA}"/cache/\?* 2>/dev/null
-echo -n "Location: ?o=$order&i=$info&s=$search&f=$filter#$info\n\n"
+echo -n "Location: ?o=$order&s=$search&f=$filter&p=$page#$info\n\n"