expiremental support for the velocity template engine
[mir.git] / templates / admin / messagelist.template
1 <html>
2 <head>
3   <title>${config["Mir.Name"]} | ${lang("messagelist.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.template">
10     <include "head.template">
11     
12     <call showAddOrBack("1", module, "Admin", "start")>
13
14     <if entities>
15       <call showPrevNextLinks(prevurl, nexturl, "left")>
16       <call EntityTable(entities, [
17            "id", "title", "creator", "description"], 
18            [ lang("message.id"), lang("message.title"), lang("message.creator"), lang("message.text")], 
19           from, to, count, "1", "1", module)>
20       <call showPrevNextLinks(prevurl, nexturl, "left")>
21       <call showAddOrBack("1", module, "Admin", "start")>
22     <else>
23       <P align="center">${lang("no_matches_found")}</p>
24     </if>
25
26     <include "foot.template">
27
28 </body>
29 </html>