X-Git-Url: https://git.p6c8.net/devedit.git/blobdiff_plain/5dc063ebfce6e78b69fa41bb4a2475fd726ee728..a79585945f7869b5d5b481762e0875eea0b6f487:/templates/upload.htm?ds=sidebyside diff --git a/templates/upload.htm b/templates/upload.htm index 276bc6b..4f5759a 100644 --- a/templates/upload.htm +++ b/templates/upload.htm @@ -12,12 +12,10 @@ <p>(equals <a href="{URL}" target="_blank">{URL}</a>)</p> -<p><a href="{SCRIPT}?command=show&file={DIR}">Back to {DIR}</a></p> +<p><a href="{SCRIPT}?command=show&file={DIR}">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 file if it already exists</label></p> <p><input type="submit" value="Upload file!"></p> </form>