]> git.p6c8.net - devedit.git/blobdiff - templates/upload.htm
Preserve the directory listing filter if the user changes the directory using
[devedit.git] / templates / upload.htm
index 2b9912889f98b0d3ffca00647aba1f56ac3049f4..be3e2d0c68451b0bae714a60ce16fd12ac4d3cc2 100644 (file)
 
 <p>(equals <a href="{URL}" target="_blank">{URL}</a>)</p>
 
-<p><a href="{SCRIPT}?command=show&amp;file={DIR}">Back to {DIR}</a></p>
+<p><a href="{SCRIPT}?command=show&amp;file={DIR_URL}">Back to {DIR}</a></p>
 
 <p>Using this form, you can upload a file to the current directory ('{DIR}').</p>
 
-<p><b>Note:</b> Currently, existing files can't be overwritten, so be careful!</p>
-
 <hr>
 
 <form action="{SCRIPT}" method="post" enctype="multipart/form-data">
@@ -28,7 +26,9 @@
 <input type="file" name="uploaded_file" size="35"></p>
 
 <p>Transfer mode (see below):<br>
-<input type="radio" name="ascii" value="1">ASCII <input type="radio" name="ascii" value="0" checked>Binary (default)</p>
+<input type="radio" name="ascii" id="ascii" value="1"><label for="ascii">ASCII</label> <input type="radio" name="ascii" id="binary" value="0" checked><label for="binary">Binary (default)</label></p>
+
+<p><input type="checkbox" name="overwrite" id="overwrite"><label for="overwrite">Overwrite existing file</label></p>
 
 <p><input type="submit" value="Upload file!"></p>
 </form>

patrick-canterino.de