2 if selectarticleurl is set, this list is used to select an article
5 <if selectarticleurl!="">
6 <assign showsearch="1">
7 <assign showactions="0">
9 <assign showactions="1">
10 <assign showsearch="0">
15 <title>${config["Mir.Name"]} | ${lang("contentlist.htmltitle")} </title>
16 <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
19 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
20 <include "FUNCTIONS.template">
21 <include "head.template">
24 <call ContentSearch ("layouted")>
30 <if config["Mir.Localizer.Admin.ListOperationsFlavor"]!="0">
31 <form method="post" action="${config.actionRoot}">
32 <input type="hidden" name="module" value="Localizer">
33 <input type="hidden" name="do" value="articleoperationbatch">
34 <input type="hidden" name="returnurl" value="${utility.encodeHTML(thisurl)}">
36 <input type="submit" name="save" value="${lang("save")}"> (${lang("commentlist.activate")})
41 <call showPrevNextLinks(prevurl, nexturl, "right")>
43 <table border="0" width="100%" cellspacing="3" cellpadding="2">
45 <td class="table-head" valign="top">
47 ${lang("content.creationdate")}<br>
48 ${lang("content.modificationdate")}<br>
49 ${lang("content.status")}
52 <td class="table-head" valign="top">
53 ${lang("content.type")} - ${lang("content.title")} <br>
54 ${lang("content.creator")}
56 <td class="table-head" valign="top">
57 ${lang("content.comment")}
59 <td class="table-head" valign="top"> </td>
64 <list articles as entry>
65 <tr <if grey=="1"><assign grey="0">class="listrow1"<else>class="listrow2"<assign grey="1"></if>>
67 ${entry.creationdate.formatted["dd.MM.yyyy HH:mm"]}<br>
68 ${entry.changedate.formatted["dd.MM.yyyy HH:mm"]}<br>
69 <if entry.is_published!="0">Pub.<else>-</if> <if entry.is_html!="0">HTML<else>-</if>
72 <b>${entry.title}</b><br>
73 ${lang("by")}: ${entry.creator}<br>
74 (${lang("articletypes." + entry.article_type.name)})
76 <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="0">
77 <list entry.operations as op>
78 [ <a href="${config.actionRoot}?module=Localizer&do=articleoperation&operation=${op}&articleid=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("content.operation."+op)}</a> ]
81 <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="1">
82 <list entry.operations as op>
83 [ <input type="checkbox" name="operation" value="${entry.id};${op}"> ${lang("content.operation."+op)} ]
86 <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="2">
87 <select name="operation">
88 <option value="" selected> </option>
89 <list entry.operations as op>
90 <option value="${entry.id};${op}">${lang("content.operation."+op)}</option>
94 <if entry.operations> | </if>
95 <a href="${config.actionRoot}?module=Content&do=edit&id=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("edit")}</a> |
96 <a href="${config.actionRoot}?module=Comment&do=articlecomments&articleid=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("contentlist.comments")}</a> (${entry.commentcount})
99 <a href="${config.actionRoot}?${selectarticleurl}&id=${entry.id}">${lang("contentlist.select")}</a>
102 <td width="25%" <if grey=="1">class="listrow3"<else>class="listrow4"</if> valign="top">
103 <span class="small">${entry.comment} </span>
105 <td valign="top" class="listcommand">
106 <if showactions=="1">
107 <if config["Mir.Localizer.Admin.AllowDeleteArticle"]=="1">
108 <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>
115 <td colspan="4" class="table-foot">
116 ${count} ${lang("records")} / ${lang("show_from_to", from, to)}
121 <if showactions=="1">
122 <if config["Mir.Localizer.Admin.ListOperationsFlavor"]!="0">
124 <input class="majorbutton" type="submit" name="save" value="${lang("save")}"> ( ${lang("commentlist.activate")})
131 <call showPrevNextLinks(prevurl, nexturl, "right")>
136 <p align="center" class="box">${lang("no_matches_found")}</p>
139 <include "foot.template">