]> git.p6c8.net - devedit.git/blob - templates/dirlist.htm
4777d4189a1c16e8a3ef605912328d0c17bbbdb7
[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}<form>
18 <input type="hidden" name="command" value="remove_multi">
19 <input type="hidden" name="file" value="{DIR}">
20
21 <table border="0" style="font-family:'Courier New',Courier,monospace;font-size:10pt;">
22 {DIRLIST}</table>
23
24 <hr>
25
26 <p><input type="submit" value="Delete selected files"></p>
27
28 </form>{ENDIF}
29
30 <hr>
31
32 <table border="0">
33 <tr>
34 <form action="{SCRIPT}">
35 <input type="hidden" name="command" value="mkdir">
36 <input type="hidden" name="curdir" value="{DIR}">
37 <td>Create new directory:</td>
38 <td>{DIR} <input type="text" name="newfile"> <input type="submit" value="Create!"></td>
39 </form>
40 </tr>
41
42 <tr>
43 <td>Create new file:</td>
44 <form action="{SCRIPT}">
45 <input type="hidden" name="command" value="mkfile">
46 <input type="hidden" name="curdir" value="{DIR}">
47 <td>{DIR} <input type="text" name="newfile"> <input type="submit" value="Create!"> <input type="checkbox" name="edit" id="edit" value="1"><label for="edit">Open file for editing</label></td>
48 </form>
49 </tr>
50 {IF dir_writeable}
51 <tr>
52 <td colspan="2"><a href="{SCRIPT}?command=upload&amp;file={DIR_URL}">Upload a file</a></td>
53 </tr>
54 {ENDIF}</table>
55
56 <hr>
57
58 <table border="0" width="100%">
59 <tr>
60 <td>
61 <table border="0">
62 <tr>
63 <form action="{SCRIPT}">
64 <input type="hidden" name="command" value="show">{IF filter}
65 <input type="hidden" name="filter" value="{FILTER}">{ENDIF}
66 <td>Go to directory/file:</td>
67 <td><input type="text" name="file" value="{DIR}"></td>
68 <td><input type="submit" value="Go!"></td>
69 </form>
70 </tr>
71 <tr>
72 <form action="{SCRIPT}">
73 <input type="hidden" name="command" value="show">
74 <input type="hidden" name="file" value="{DIR}">
75 <td>Filter:</td>
76 <td><input type="text" name="filter" value="{FILTER}"></td>
77 <td><input type="submit" value="Filter!"></td>
78 </form>
79 </tr>
80 </table>
81 </td>
82 <td align="right" valign="top"><a href="{SCRIPT}?command=about" target="_blank"><i>About Dev-Editor</i></a></td>
83 </tr>
84 </table>
85 </body>
86 </html>

patrick-canterino.de