]> git.plutz.net Git - serve0/blobdiff - templates/playctl.html.sh
styling for pagination links
[serve0] / templates / playctl.html.sh
index 40244a3726a09d6078f26c92a82b362da4e33558..5d0159791e04095245ae9eaad0fbfe5d0b584dab 100755 (executable)
@@ -61,10 +61,9 @@ cat <<EOF
 
 <div id="playctl">
   <h1>$info</h1>
-  <a href="$video">Download</a>
 
-  <form action="?action=playctl" method="post" class="playctl">
-    <input type="hidden" name="referrer" value="$(attribsafe "${REQUEST_URI}")">
+  <form action="${actionuri}" method="post" class="playctl">
+    <input type="hidden" name="referrer" value="$(attribsafe "//${HTTP_HOST}${REQUEST_URI}")">
     <fieldset class="playback">
       <button type="submit" name="seek" value="-60">&lt;&lt;&lt;</button>
       <button type="submit" name="seek" value="-10">&lt;&lt;</button>