]> git.p6c8.net - devedit.git/blob - templates/editfile.htm
Preserve the directory listing filter if the user changes the directory using
[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: {DIR} </label><input type="text" name="newfile" value="" onchange="if(this.form.newfile.value != '') this.form.saveas.checked = true; else this.form.saveas.checked = false;"><br>
27 <input type="checkbox" name="continue" id="continue" value="1"><label for="continue">Save file and continue editing</label></p>
28
29 <p><input type="submit" value="Save file"> <input type="reset" value="Discard changes"></p>
30 </form>
31
32 </body>
33 </html>

patrick-canterino.de