]> git.p6c8.net - devedit.git/blob - templates/viewfile.htm
Added description for "hide_dot_files" in README
[devedit.git] / templates / viewfile.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>Contents of 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>Contents of 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>
16
17 <div style="background-color:#FFFFE0;border:1px solid black;margin-top:10px;width:100%">
18 <pre style="color:#0000C0;">
19 {CONTENT}
20 </pre>
21 </div>
22
23 {IF editable}<p><a href="{SCRIPT}?command=beginedit&amp;file={FILE_URL}">Edit this file</a></p>{ELSE}<br>{ENDIF}
24
25 <hr>
26
27 <table border="0" width="100%">
28 <tr>
29 <form action="{SCRIPT}">
30 <input type="hidden" name="command" value="show">
31 <td>Go to directory/file: <input type="text" name="file" value="{FILE}"> <input type="submit" value="Go!"></td>
32 </form>
33 <td align="right"><a href="{SCRIPT}?command=about" target="_blank"><i>About Dev-Editor</i></a></td>
34 </tr>
35 </table>
36 </body>
37 </html>

patrick-canterino.de