]> git.p6c8.net - devedit.git/blob - templates/editfile.htm
Allow to execute a HTTP download of a file
[devedit.git] / templates / editfile.htm
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3
4 <html>
5 <head>
6 <title>Edit file {FILE}</title>
7 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
8 </head>
9 <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
10
11 <h1>Edit file {FILE}</h1>
12
13 <p>(equals <a href="{URL}" target="_blank">{URL}</a>)</p>
14
15 <p><a href="{SCRIPT}?command=show&amp;file={DIR_URL}">Back to {DIR}</a></p>{IF error}
16
17 <p>{ERROR}</p>{ENDIF}
18
19 <form action="{SCRIPT}" method="post">
20 <input type="hidden" name="command" value="endedit">
21 <input type="hidden" name="file" value="{FILE}">
22 <input type="hidden" name="md5sum" value="{MD5SUM}">
23
24 <p><textarea name="filecontent" rows="25" cols="120">{CONTENT}</textarea></p>
25
26 <p><input type="checkbox" name="saveas" id="newfile" value="1"><label for="newfile">Save as new file: </label><input type="text" name="newfile" value="{FILE}" onchange="if(this.form.newfile.value != '') this.form.saveas.checked = true; else this.form.saveas.checked = false;"></p>
27
28 <p><input type="submit" value="Save file and end editing"> <input type="submit" name="continue" value="Save file and continue editing"> <input type="reset" value="Revert changes"></p>
29 </form>
30
31 </body>
32 </html>

patrick-canterino.de