support added for local additions to admin.properties
[mir.git] / templates / admin / contentlist.template
1 <html>
2 <head>
3         <title>${config["Mir.Name"]} | ${lang("contentlist.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 articles>
11         <table border="0" width="100%" cellspacing="0" cellpadding="2">
12           <tr class="darkgrey">
13             <td><span class="witesmall">
14                         ${lang("content.creationdate")}<br>
15                         ${lang("content.modificationdate")}<br>
16                         ${lang("content.status")}</span></td>
17             <td><span class="witesmall">
18         ${lang("content.type")} - ${lang("content.title")} <br>
19                           ${lang("content.creator")}</span></td>
20             <td width="25%"><span class="witesmall">
21                         ${lang("content.comment")}</span></td>
22                 <td class="darkgrey">&nbsp;</td>
23           </tr>
24           <assign grey="0">
25
26         <list articles as entry>
27           <tr <if grey=="1"><assign grey="0">class="list1"<else>class="list2"<assign grey="1"></if>>
28             <td>
29               <span class="x-small">
30                 ${entry.creationdate.formatted["dd.MM.yyyy hh:mm"]}<br>
31                 ${entry.changedate.formatted["dd.MM.yyyy hh:mm"]}<br>
32                             <if entry.is_published!="0">F<else>-</if><if entry.is_html!="0">H<else>-</if>
33                           </span>
34                         </td>
35             <td>
36               <span class="small">
37                 <b>
38                 <span class="x-small">
39             ${lang("articletypes." + entry.article_type.name)} -
40                             </span>
41                 ${entry.title}
42                             </b><br>
43                             ${entry.creator}&nbsp;
44                             <a href="${config.actionRoot}?module=Content&do=edit&id=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("edit")}</a>
45                             |
46                             <list entry.operations as op>
47                               [<a href="${config.actionRoot}?module=Localizer&do=articleoperation&operation=${op}&articleid=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">${op}</a>]
48                             </list>
49                           </span>
50                         </td>
51             <td width="20%" <if grey=="1">class="list3"<else>class="list4"</if> valign="top"><span class="x-small">
52
53       ${entry.comment}&nbsp;</span></td>
54       <td class0"litegrey">
55         <span class="text">
56           <a href="${config.actionRoot}?module=Content&do=delete&id=${entry.id}&where=${utility.encodeURI(where)}&order=${utility.encodeURI(order)}&offset=${utility.encodeURI(offset)}">${lang("delete")}</a>
57               </span>
58       </td>
59     </tr>
60         </list>
61         <tr class="darkgrey">
62             <td colspan="4"><span class="witesmall">${count} ${lang("records")}
63       / ${lang("show_from_to", from, to)}</span></td></tr>
64         </table>
65   <P>
66   
67   <if prevurl || nexturl>      
68     <if prevurl>
69       <a href="${config.actionRoot}?${prevurl}">${lang("list.previous")}</a>
70     </if>
71     <if nexturl>
72       <a href="${config.actionRoot}?${nexturl}">${lang("list.next")}</a>
73     </if>
74   </if>
75
76 <else>
77   <P align="center">${lang("no_matches_found")}</p>
78 </if>
79
80 <include "foot.template">
81 </body>
82 </html>