]> git.p6c8.net - devedit.git/blobdiff - templates/upload.htm
Because of the ugly behaviour of $(, I'm now using the getgid() function from
[devedit.git] / templates / upload.htm
index 2b9912889f98b0d3ffca00647aba1f56ac3049f4..4f5759a7c898011a15746b96f2a8a29aae5cfa98 100644 (file)
@@ -16,8 +16,6 @@
 
 <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 file if it already exists</label></p>
 
 <p><input type="submit" value="Upload file!"></p>
 </form>

patrick-canterino.de