new admin templates! with many thanks to init...
[mir.git] / templates / admin / fileeditlist.template
1 <html>
2 <head>
3         <title>${config["Mir.Name"]} | ${lang("fileeditlist.htmltitle")}</title>
4                 <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
5 </head>
6
7 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
8
9 <include "head.template">
10
11 <table cellpadding="16"><tr><td valign="top">
12
13
14 <if dirlist || updir>
15 <table border="0" cellpadding="2" cellspacing="2">
16
17         <tr>
18                 <td class="table_head"><b>${lang("fileeditlist.dirname")}</b></td>
19                 <td class="table_head">&nbsp;</td>
20         </tr>
21         <assign grey="0">
22
23 <if updir>
24         <tr class="list1">
25                 <td>&nbsp;..&nbsp;</td>
26                 <td><a class="tablecommand" href="${config.actionRoot}?module=FileEdit&do=enter&subdirectory=${utility.encodeURI(updir)}&directory=">${lang("edit")}</a></td>
27         </tr>
28 </if>
29
30 <if dirlist>
31         <list dirlist as entry>
32                 <if grey=="1">
33                         <assign grey="0">
34                         <tr class="listrow1">
35                 <else>
36                         <tr class="listrow2">
37                         <assign grey="1"> 
38                 </if>
39                                 <td> ${entry}&nbsp;</td>
40                                 <td class="tablecommand"><a href="${config.actionRoot}?module=FileEdit&do=enter&subdirectory=${utility.encodeURI(subdirectory)}&directory=${utility.encodeURI(entry)}">${lang("edit")}</a></td>
41                         </tr>
42         </list>
43         </if>
44
45 </table>
46 </if>
47
48
49 </td>
50 <td valign="top">
51
52
53 <if filelist || updir || dirlist>
54
55 </if>
56
57 <if filelist>
58
59 <table border="0" cellpadding="2" cellspacing="2">
60
61         <tr>
62                 <td class="table_head"><b>${lang("fileeditlist.filename")}</b></td>
63                 <td class="table_head">&nbsp;</td>
64         </tr>
65 <assign grey="0">
66 <list filelist as entry>
67         <if grey=="1">
68                 <assign grey="0"><tr class="listrow1">
69         <else><tr class="listrow2">
70                 <assign grey="1">
71         </if>
72                         <td>${entry}&nbsp;</td>
73                         <td class="tablecommand"><a href="${config.actionRoot}?module=FileEdit&do=edit&subdirectory=${utility.encodeURI(subdirectory)}&filename=${utility.encodeURI(entry)}">${lang("edit")}</a></td>
74                 </tr>
75 </list>
76 </table>
77
78 </td></tr></table>
79
80
81 <P>
82 <else>
83         <P align="center" class="box">${lang("no_matches_found")}</p>
84 </if>
85 <include "foot.template">
86 </body>
87 </html>
88
89