]> git.p6c8.net - devedit.git/blob - templates/editfile.htm
Whoops...
[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><b style="color:#FF0000">Caution!</b> This file is locked for other users while you are editing it. To unlock it, click <i>Save and exit</i> or <i>Exit WITHOUT saving</i>. Please <b>don't</b> click the <i>Reload</i> button in your browser! This will confuse the editor.</p>
16
17 <form action="{SCRIPT}" method="get">
18 <input type="hidden" name="command" value="canceledit">
19 <input type="hidden" name="file" value="{FILE}">
20 <p><input type="submit" value="Exit WITHOUT saving"></p>
21 </form>
22
23 <form action="{SCRIPT}" method="post">
24 <input type="hidden" name="command" value="endedit">
25 <input type="hidden" name="file" value="{FILE}">
26
27 <table width="100%" border="1">
28 <tr>
29 <td width="50%" align="center">
30 <input type="hidden" name="file" value="{FILE}">
31 <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;"></td>
32 <td width="50%" align="center"><input type="checkbox" name="encode_iso" id="encode_iso" value="1"><label for="encode_iso"> Encode ISO-8859-1 special chars</label></td>
33 </tr>
34 <tr>
35 <td align="center"><input type="reset" value="Reset form"></td>
36 <td align="center"><input type="submit" value="Save and exit"></td>
37 </tr>
38 </table>
39
40 <textarea name="filecontent" rows="25" cols="120">{CONTENT}</textarea>
41 </form>
42
43 </body>
44 </html>

patrick-canterino.de