- producer links are moved to an "advanced" page, not intended for normal
[mir.git] / templates / admin / topiclist.template
1 <html>
2 <head>
3         <title>${config["Mir.Name"]} | ${lang("topiclist.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 <if data.contentlist>
11 <table border="0">
12   <tr class="darkgrey">
13     <td><span class="witesmall">
14                 <b>${lang("topic.title")}</b></span></td>
15     <td><span class="witesmall">
16                 <b>${lang("topic.description")}</b></span></td>
17     <td><span class="witesmall">
18                 <b>${lang("topic.main_url")}<br>${lang("topic.archive_url")}</b></span></td>
19         <td>&nbsp;</td>
20   </tr>
21   <list data.contentlist as entry>
22   <tr <if grey=="1"><assign grey="0">class="list1"<else>class="list2"<assign grey="1"> </if>>
23   <td><span class="small">${entry.title}&nbsp;</span></td>
24   <td><span class="small">${entry.description}&nbsp;</span></td>
25   <td><span class="small">
26         ${entry.main_url}<br>
27         ${entry.archiv_url}</span></td>
28   <td><span class="text">&nbsp;<a href="${config.actionRoot}?module=Topics&do=delete&id=${entry.id}">${lang("delete")}</a>
29     | <a href="${config.actionRoot}?module=Topics&do=edit&id=${entry.id}">${lang("edit")}</a></span></td>
30   </tr>
31   </list>
32   <tr>
33   <td colspan="4" class="darkgrey"><span class="witesmall">
34         ${data.count} ${lang("records")} / ${lang("show_from_to", data.from, data.to)}</span></td>
35   <td>&nbsp;</td>
36   </tr>
37 </table>
38 <P>
39 <if (data.prev || data.next)>
40  <form method="post" action="${config.actionRoot}">
41  <input type="hidden" name="module" value="Topics">
42  <input type="hidden" name="where" value="${data.where}">
43 <if data.prev>
44  <input type="hidden" name="do" value="list">
45  <input type="hidden" name="prevoffset" value="${data.prev}">
46  <input type="submit" name="prev" value="${lang("list.previous")}">
47 </if>
48 <if data.next>
49  <input type="hidden" name="do" value="list">
50  <input type="hidden" name="nextoffset" value="${data.next}">
51  <input type="submit" name="next" value="${lang("list.next")}">
52 </if>
53  </form>
54 </if>
55
56 <else>
57   <P align="center">${lang("no_matches_found")}</p>
58 </if>
59 <include "templates/admin/foot.template">
60 </body>
61 </html>
62
63