]> git.plutz.net Git - serve0/blobdiff - actions/watch.sh
adapted to update in shcgi
[serve0] / actions / watch.sh
index dbbc219624280d0f0a653ad89281fc52bbde65db..04c023925962297ffe600556b0e4d40f82d4e6bf 100755 (executable)
@@ -1,11 +1,11 @@
 #!/bin/zsh
 
 cgi_refdata
-info="$_GET[\"i\"]"
-order="$_REF[\"o\"]"
-search="$_REF[\"s\"]"
-filter="$_REF[\"f\"]"
-page="$_REF[\"pn\"]"
+info="${_GET[i]}"
+order="${_REF[o]}"
+search="${_REF[s]}"
+filter="${_REF[f]}"
+page="${_REF[pn]}"
 
 watch_link=''
 [ -n "$info" ]   && watch_link="i=$(echo -n "${info}" |sed -r 's:%:%25:g;s:\&:%26:g;')&"