]> git.p6c8.net - devedit.git/blob - templates/dirlist.htm
Trying to simplify some of Dev-Editor's functions:
[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">{IF filter}
55 <input type="hidden" name="filter" value="{FILTER}">{ENDIF}
56 <td>Go to directory/file:</td>
57 <td><input type="text" name="file" value="{DIR}"></td>
58 <td><input type="submit" value="Go!"></td>
59 </form>
60 </tr>
61 <tr>
62 <form action="{SCRIPT}">
63 <input type="hidden" name="command" value="show">
64 <input type="hidden" name="file" value="{DIR}">
65 <td>Filter:</td>
66 <td><input type="text" name="filter" value="{FILTER}"></td>
67 <td><input type="submit" value="Filter!"></td>
68 </form>
69 </tr>
70 </table>
71 </td>
72 <td align="right" valign="top"><a href="{SCRIPT}?command=about" target="_blank"><i>About Dev-Editor</i></a></td>
73 </tr>
74 </table>
75 </body>
76 </html>

patrick-canterino.de