2 flavors for displaying customizable operations in comment/article lists added:
[mir.git] / templates / admin / featurelist.template
1 <html>
2 <head>
3         <title>${config["Mir.Name"]} | ${lang("featurelist.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 "templates/admin/head.template">
10
11
12 <if data.contentlist>
13 <table border="0">
14   <tr class="darkgrey">
15     <td><span class="witesmall">${lang("feature.published")}</span></td>
16     <td><span class="witesmall">${lang("feature.title")}</span></td>
17    <td><span class="witesmall">${lang("feature.filename")}</span></td>
18     <td><span class="witesmall">${lang("feature.link")}</span></td>
19     <td><span class="witesmall">${lang("feature.abstract")}</span></td>
20   </tr>
21   <list data.contentlist as entry>
22   <tr
23   <if grey=="1"><assign grey="0">class="list1"<else>class="list2"<assign grey="1"> </if>>
24   <td align="center"><if entry.is_published!="0">X<else>&nbsp;</if></td>
25   <td>${entry.title}&nbsp;</td>
26   <td>${entry.filename}&nbsp;</td>
27   <td>${entry.main_url}&nbsp;</td>
28   <td>${entry.description}&nbsp;</td>
29   <td><span class="text"> <a href="${config.actionRoot}?module=Schwerpunkt&do=delete&id=${entry.id}">${lang("delete")}</a>
30   | <a href="${config.actionRoot}?module=Schwerpunkt&do=edit&id=${entry.id}">${lang("edit")}</a></span></td>
31   </tr>
32   </list>
33
34   <tr>
35     <td align="center" colspan="5" class="darkgrey">
36       <div align="left"><span class="witesmall">${data.count} ${lang("records")} /
37         ${lang("show_from_to", data.from, data.to)}</span></div>
38     </td>
39     <td><a href="${config.docRoot}"><span class="text">&nbsp;${lang("back")}</span></a></td>
40   </tr>
41 </table>
42
43       <P>
44 <if (data.prev || data.next)>
45  <form method="post" action="${config.actionRoot}">
46  <input type="hidden" name="module" value="Schwerpunkt">
47  <input type="hidden" name="where" value="${data.where}">
48 <if data.prev>
49  <input type="hidden" name="prevoffset" value="${data.prev}">
50  <input type="submit" name="prev" value="${lang("list.previous")}">
51 </if>
52 <if data.next>
53  <input type="hidden" name="nextoffset" value="${data.next}">
54  <input type="submit" name="next" value="${lang("list.next")}">
55 </if>
56  </form>
57 </if>
58
59
60 <else>
61
62   <P align="center">${lang("no_matches_found")}</p>
63
64 </if>
65
66 <include "templates/admin/foot.template">
67 </body>
68 </html>
69
70