]> git.p6c8.net - devedit.git/blob - templates/dirlist.htm
Replaced the code of mode_string() by some self-written code that I also
[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 <table border="0" style="font-family:'Courier New',Courier,monospace;font-size:10pt;">
18 {DIRLIST}</table>
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
41 <tr>
42 <td colspan="2"><a href="{SCRIPT}?command=upload&amp;file={DIR}">Upload a file</a></td>
43 </tr>
44 </table>
45
46 <hr>
47
48 <table border="0" width="100%">
49 <tr>
50 <form action="{SCRIPT}">
51 <input type="hidden" name="command" value="show">
52 <td>Go to directory/file: <input type="text" name="file" value="{DIR}"> <input type="submit" value="Go!"></td>
53 </form>
54 <td align="right"><a href="{SCRIPT}?command=about" target="_blank"><i>About Dev-Editor</i></a></td>
55 </tr>
56 </table>
57 </body>
58 </html>

patrick-canterino.de