]> git.p6c8.net - devedit.git/blobdiff - templates/upload.htm
You can now define alias names for users who have an individual configuration,
[devedit.git] / templates / upload.htm
index cdc1f37992f4630dd15ce1a8a6867773c036b2e0..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,9 +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">Overwrite file if it already exists</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