da1a72fd306c2bd3c8009fa29ed030c1ec29a407
[mir.git] / templates / admin / topiclist.tmpl
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 "FUNCTIONS.tmpl">
10     <include "head.tmpl">
11     
12     <call showAddOrBack("1", "topicAdd.do", "Admin", "superusermenu")>
13
14     <if request.topics>
15       <assign baselisturl = "topicList.do?offset=">
16       <call showPrevNextLinks(baselisturl+request.lastoffset, baselisturl+request.nextoffset, "left")>
17       <call EntityTable(request.topics, [
18            "title", 
19            "filename", 
20            "mainUrl", 
21            "archivUrl",
22            "description"], 
23            [ lang("topic.title"), 
24              lang("topic.filename"), 
25              lang("topic.main_url"), 
26              lang("topic.archive_url"), 
27              lang("topic.description")], 
28           request.offset, request.nextoffset, "", "topicDelete.do", "topicEdit.do", "topicList.do")>
29       <call showPrevNextLinks(baselisturl+request.lastoffset, baselisturl+request.nextoffset, "left")>
30       <call showAddOrBack("1", module, "Admin", "superusermenu")>
31     <else>
32       <P align="center">${lang("no_matches_found")}</p>
33     </if>
34
35     <include "foot.tmpl">
36   </body>
37 </html>
38
39