2 if selectarticleurl is set, this list is used to select an article
5 <if selectarticleurl && 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" class="majorbutton" 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")} (id # )<br>
54 ${lang("content.creator")}
56 <td class="table-head" valign="top">
57 ${lang("content.comment")}
59 <td class="table-head" valign="top"> </td>
63 <list entities as entry>
64 <tr <if grey=="1"><assign grey="0">class="listrow1"<else>class="listrow2"<assign grey="1"></if>>
66 ${entry.creationdate.format(config["Mir.DefaultDateTimeFormat"])}<br>
67 ${entry.changedate.format(config["Mir.DefaultDateTimeFormat"])}<br>
68 <if entry.is_published!="0">Pub.<else>-</if> <if entry.is_html!="0">HTML<else>-</if>
71 ${lang("articletypes." + entry.article_type.name)} <b>${utility.prettyEncodeHTML(entry.title)}</b> (${entry.id})<br>
72 ${lang("by")} <i>${utility.prettyEncodeHTML(entry.creator)}</i><br>
74 <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="0">
75 <list entry.operations as op>
76 [ <a href="${config.actionRoot}?module=Localizer&do=articleoperation&operation=${op}&articleid=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("content.operation."+op)}</a> ]
79 <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="1">
80 <list entry.operations as op>
81 [ <input type="checkbox" name="operation" value="${entry.id};${op}"> ${lang("content.operation."+op)} ]
84 <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>
95 <if entry.operations> | </if>
96 <a href="${config.actionRoot}?module=Content&do=edit&id=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("edit")}</a> |
97 <comment> <a href="${entry.publicurl}">${lang("preview")}</a> |</comment>
98 <a href="${config.actionRoot}?module=Comment&do=articlecomments&articleid=${entry.id}&returnurl=${utility.encodeURI(thisurl)}">${lang("contentlist.comments")}</a> (${entry.commentcount})
101 <a href="${config.actionRoot}?${selectarticleurl}&id=${entry.id}">${lang("contentlist.select")}</a>
104 <td width="25%" <if grey=="1">class="listrow3"<else>class="listrow4"</if> valign="top">
105 <span class="small">${utility.prettyEncodeHTML(entry.comment)} </span>
107 <td valign="top" class="listcommand">
108 <if showactions=="1">
109 <if config["Mir.Localizer.Admin.AllowDeleteArticle"]=="1">
110 <a href="${config.actionRoot}?module=Content&do=delete&id=${entry.id}&okurl=${utility.encodeURI(thisurl)}&cancelurl=${utility.encodeURI(thisurl)}">[${lang("delete")}]</a>
117 <td colspan="4" class="table-foot">
118 ${count} ${lang("records")} / ${lang("show_from_to", from, to)}
123 <if showactions=="1">
124 <if config["Mir.Localizer.Admin.ListOperationsFlavor"]!="0">
126 <input class="majorbutton" type="submit" name="save" value="${lang("save")}"> ( ${lang("commentlist.activate")})
132 <call showPrevNextLinks(prevurl, nexturl, "right")>
135 <p align="center" class="box">${lang("no_matches_found")}</p>
138 <include "foot.template">