]> git.p6c8.net - devedit.git/blob - templates/dirlist.htm
- Changed names of some {IF} blocks (make use of negations)
[devedit.git] / templates / dirlist.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>Directory listing of {DIR}</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>Directory listing of {DIR}</h1>
12
13 <p>(equals <a href="{URL}" target="_blank">{URL}</a>)</p>
14
15 <hr>
16
17 {IF empty}<p><i>This directory is empty or nothing is matching against your wildcard</i></p>{ELSE}<table border="0" style="font-family:'Courier New',Courier,monospace;font-size:10pt;">
18 {DIRLIST}</table>{ENDIF}
19
20 <hr>
21
22 <table border="0">
23 <tr>
24 <form action="{SCRIPT}">
25 <input type="hidden" name="command" value="mkdir">
26 <input type="hidden" name="curdir" value="{DIR}">
27 <td>Create new directory:</td>
28 <td>{DIR} <input type="text" name="newfile"> <input type="submit" value="Create!"></td>
29 </form>
30 </tr>
31
32 <tr>
33 <td>Create new file:</td>
34 <form action="{SCRIPT}">
35 <input type="hidden" name="command" value="mkfile">
36 <input type="hidden" name="curdir" value="{DIR}">
37 <td>{DIR} <input type="text" name="newfile"> <input type="submit" value="Create!"></td>
38 </form>
39 </tr>
40 {IF dir_writeable}
41 <tr>
42 <td colspan="2"><a href="{SCRIPT}?command=upload&amp;file={DIR_URL}">Upload a file</a></td>
43 </tr>
44 {ENDIF}</table>
45
46 <hr>
47
48 <table border="0" width="100%">
49 <tr>
50 <td>
51 <table border="0">
52 <tr>
53 <form action="{SCRIPT}">
54 <input type="hidden" name="command" value="show">
55 <td>Go to directory/file:</td>
56 <td><input type="text" name="file" value="{DIR}"></td>
57 <td><input type="submit" value="Go!"></td>
58 </form>
59 </tr>
60 <tr>
61 <form action="{SCRIPT}">
62 <input type="hidden" name="command" value="show">
63 <input type="hidden" name="file" value="{DIR}">
64 <td>Filter:</td>
65 <td><input type="text" name="filter" value="{FILTER}"></td>
66 <td><input type="submit" value="Filter!"></td>
67 </form>
68 </tr>
69 </table>
70 </td>
71 <td align="right" valign="top"><a href="{SCRIPT}?command=about" target="_blank"><i>About Dev-Editor</i></a></td>
72 </tr>
73 </table>
74 </body>
75 </html>

patrick-canterino.de