]> git.p6c8.net - devedit.git/blob - templates/viewfile.htm
Added some JavaScript to the directory listing for selecting or unselecting
[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 <ul>
24 <li><a href="{SCRIPT}?command=download&amp;file={FILE_URL}">Download this file</a></li>{IF editable}
25 <li><a href="{SCRIPT}?command=beginedit&amp;file={FILE_URL}">Edit this file</a></li>{ENDIF}
26 </ul>
27
28 <hr>
29
30 <table border="0" width="100%">
31 <tr>
32 <form action="{SCRIPT}">
33 <input type="hidden" name="command" value="show">
34 <td>Go to directory/file: <input type="text" name="file" value="{FILE}"> <input type="submit" value="Go!"></td>
35 </form>
36 <td align="right"><a href="{SCRIPT}?command=about" target="_blank"><i>About Dev-Editor</i></a></td>
37 </tr>
38 </table>
39 </body>
40 </html>

patrick-canterino.de