support for CAPTCHAs
[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">
12       <tr>
13         <td valign="top">
14         
15         
16         <if dirlist || updir>
17           <table border="0" cellpadding="2" cellspacing="2">
18           
19             <tr>
20               <td class="table-head"><b>${lang("fileeditlist.dirname")}</b></td>
21               <td class="table-head">&nbsp;</td>
22             </tr>
23             <assign grey="0">
24           
25             <if updir>
26               <tr class="list1">
27                 <td>&nbsp;..&nbsp;</td>
28                 <td><a class="tablecommand" href="${config.actionRoot}?module=FileEdit&do=enter&entry=${entry}&subdirectory=${utility.encodeURI(updir)}&directory=">${lang("edit")}</a></td>
29               </tr>
30             </if>
31             
32             <if dirlist>
33               <list dirlist as item>
34                 <if grey=="1">
35                   <assign grey="0">
36                   <tr class="listrow1">
37                 <else>
38                   <tr class="listrow2">
39                   <assign grey="1"> 
40                 </if>
41                     <td> ${item}&nbsp;</td>
42                     <td class="tablecommand"><a href="${config.actionRoot}?module=FileEdit&do=enter&entry=${entry}&subdirectory=${utility.encodeURI(subdirectory)}&directory=${utility.encodeURI(item)}">${lang("edit")}</a></td>
43                   </tr>
44               </list>
45             </if>
46           
47           </table>
48         </if>
49         
50         
51         </td>
52         <td valign="top">
53           
54           <table border="0" cellpadding="2" cellspacing="2">
55           
56             <tr>
57               <td class="table-head"><b>${lang("fileeditlist.filename")}</b></td>
58               <td class="table-head">&nbsp;</td>
59             </tr>
60             <if filelist>
61               <assign grey="0">
62               <list filelist as item>
63                 <if grey=="1">
64                   <assign grey="0">
65                   <tr class="listrow1">
66                 <else>
67                   <tr class="listrow2">
68                   <assign grey="1">
69                 </if>
70                     <td>${item}&nbsp;</td>
71                     <td class="tablecommand"><a href="${config.actionRoot}?module=FileEdit&do=edit&entry=${entry}&subdirectory=${utility.encodeURI(subdirectory)}&filename=${utility.encodeURI(item)}">${lang("edit")}</a></td>
72                   </tr>
73               </list>
74             <else>
75               <tr><td colspan="2">
76               <P align="center" class="box">${lang("no_matches_found")}</p>
77               </tr></tr>
78             </if>
79           </table>
80         </td>
81       </tr>
82     </table>
83   
84     <P>
85   
86     <include "foot.template">
87   </body>
88 </html>
89
90