]> git.p6c8.net - devedit.git/blobdiff - templates/upload.htm
Removed the JavaScript code which prevents users from marking text in the
[devedit.git] / templates / upload.htm
index 28ee92c4078a381e2312ceaaf4d6d485ae54c9ae..be3e2d0c68451b0bae714a60ce16fd12ac4d3cc2 100644 (file)
@@ -12,7 +12,7 @@
 
 <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>
 
@@ -26,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