maintenance
[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             ${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 <comment>                           
50                             <if entry.to_article_type=="0">&nbsp;|&nbsp;<a href="${config.actionRoot}?module=Content&do=newswire&id=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">newswire</a></if>
51 </comment>                          
52
53                           </span>
54                         </td>
55             <td width="20%" <if grey=="1">class="list3"<else>class="list4"</if> valign="top"><span class="x-small">
56
57       ${entry.comment}&nbsp;</span></td>
58       <td class0"litegrey">
59         <span class="text">
60           <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>
61               </span>
62       </td>
63     </tr>
64         </list>
65         <tr class="darkgrey">
66             <td colspan="4"><span class="witesmall">${count} ${lang("records")}
67       / ${lang("show_from_to", from, to)}</span></td></tr>
68         </table>
69   <P>
70   
71   <if prevurl || nexturl>      
72     <if prevurl>
73       <a href="${config.actionRoot}?${prevurl}">${lang("list.previous")}</a>
74     </if>
75     <if nexturl>
76       <a href="${config.actionRoot}?${nexturl}">${lang("list.next")}</a>
77     </if>
78   </if>
79
80 <else>
81   <P align="center">${lang("no_matches_found")}</p>
82 </if>
83
84 <include "foot.template">
85 </body>
86 </html>