admin template/stylesheet fix
[mir.git] / templates / admin / mediafolderlist.template
1 <html>
2 <head>
3         <title>${config["Mir.Name"]} | ${lang("mediafolderlist.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 <if data.contentlist>
11         <table border="0">
12                 <tr class="darkgrey">
13                 <td class="table-head">${lang("mediafolder.date")}</td>
14                     <td class="table-head">${lang("mediafolder.name")}</td>
15                 <td class="table-head">${lang("mediafolder.location")}</td>
16                         <td class="table-head">${lang("mediafolder.comment")}</td>
17                         <td class="table-head">${lang("mediafolder.keywords")}</td>
18                         <td class="table-head">&nbsp;</td>
19                  </tr>
20           <list data.contentlist as entry>
21                   <tr <if grey=="1"><assign grey="0">class="listrow1"<else>class="listrow2"<assign grey="1"> </if>>
22                         <td>${entry.date}&nbsp;</td>
23                         <td><b>${entry.name}</b>&nbsp;</td>
24                         <td>${entry.place}&nbsp;</td>
25                         <td>${entry.comment}&nbsp;</td>
26                         <td>${entry.keywords}&nbsp;</td>
27                         <td><a href="${config.actionRoot}?module=Mediafolder&do=delete&id=${entry.id}">${lang("delete")}</a>
28                         | <a href="${config.actionRoot}?module=Mediafolder&do=edit&id=${entry.id}">${lang("edit")}</a>
29                                 | <a href="${config.actionRoot}?module=Images&do=list&query_media_folder=${entry.id}">${lang("list")}</a></td>
30                   </tr>
31           </list>
32                 <tr>
33         <td colspan="6" class="table-foot">${data.count} ${lang("records")} /
34         ${lang("show_from_to", data.from, data.to)}</td>
35         <td>&nbsp;</td>
36                 </tr>
37         </table>
38       <P>
39         <if data.prev>
40         <a href="${config.actionRoot}?module=Mediafolder&do=list&where=${data.where}&prevoffset=${data.prev}&prev=zur&uuml;ck">${lang("list.previous")}</a>&nbsp;
41         </if>
42         <if data.next>
43         <a href="${config.actionRoot}?module=Mediafolder&do=list&where=${data.where}&nextoffset=${data.next}&next=weiter">${lang("list.next")}</a>
44         </if>
45 <else>
46   <P align="center" class="box">${lang("no-matches_found")}</p>
47 </if>
48
49     <p>
50       <a class="link-box" href="${config.actionRoot}?module=Mediafolder&do=add">[+] ${lang("add")}</a> &nbsp;
51       <a class="link-box" href="${config.actionRoot}">[&lt;&lt;&lt;] ${lang("head.start")}</a>
52         </p>
53
54 <include "foot.template">
55 </body>
56 </html>
57
58