-<if config["Mir.Localizer.Admin.ListOperationsFlavor"]!="0">
- <form method="post" action="${config.actionRoot}">
- <input type="hidden" name="module" value="Localizer">
- <input type="hidden" name="do" value="commentoperationbatch">
- <input type="hidden" name="returnurl" value="${utility.encodeHTML(thisurl)}">
- <p class="box">
- <input class="majorbutton" type="submit" name="save" value="${lang("save")}"> (${lang("commentlist.activate")})
- </p>
-</if>
-
-<table border="0" cellpadding="2" cellspacing="3">
- <if comments>
- <tr>
- <td>
- <if prevurl>
- <a href="${config.actionRoot}?${prevurl}">[ ${lang("list.previous")} ]</a>
- </if>
- <if nexturl>
- <a href="${config.actionRoot}?${nexturl}">[ ${lang("list.next")} ]</a>
- </if>
- </td>
- </tr>
- </if>
-
- <tr class="table-head">
- <td valign="top">
- ${lang("comment.date")}
- </td>
- <td>
- ${lang("comment.title")}/ ${lang("comment.creator")}<br>
- ${lang("comment.text")}
- </td>
- <td>
-
- </td>
- </tr>
-
-<list comments as entry>
- <tr <if grey=="1"><assign grey="0">class="listrow1"<else><assign grey="1">class="listrow2"</if>>
- <td valign="top" class="small">
- ${entry.creationdate.formatted["dd.MM.yyyy HH:mm"]}<br>
- <if entry.is_published=="0"><b>${lang("commentlist.hidden")}</b><else>-</if>
- </td>
-
- <td>
-
- <a name="${entry.id}"></a>
- <if entry.to_content>
- ${lang("comment.article")}:
- <a href="${config.actionRoot}?module=Content&do=edit&id=${entry.to_content.id}">
- ${utility.encodeHTML(entry.to_content.title)}
- </a>
- (${lang("articletypes."+entry.to_content.article_type.name)})<br>
-
- [<a href="${config.actionRoot}?module=Comment&do=articlecomments&articleid=${entry.to_content.id}">${lang("commentlist.allcomments")}</a>]<br>
- </if>
-
-
- <b>${entry.title}</b>
- <if entry.creator>
- ${lang("by")}: ${entry.creator}
- </if>
- <br>
- ${utility.encodeHTML(entry.description)}
-
- <if entry.main_url><br>URL: ${entry.main_url}</if>
-
- <br>${lang("comment.status")}: | <if entry.status>${lang("commentstatus." + entry.status.name)}<else> - </if>
-
- <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="0">
- <list entry.operations as op>
- [ <a href="${config.actionRoot}?module=Localizer&do=commentoperation&operation=${op}&id=${entry.id}&returnurl=${utility.encodeURI(thisurl + "#" + entry.id)}">${lang("comment.operation."+op)}</a> ]
- </list>
- </if>
- <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="1">
- <list entry.operations as op>
- [ <input type="checkbox" name="operation" value="${entry.id};${op}">${lang("comment.operation."+op)} ]
- </list>
- </if>
- <if config["Mir.Localizer.Admin.ListOperationsFlavor"]=="2">
- <select name="operation">
- <option value="" selected> </option>
- <list entry.operations as op>
- <option value="${entry.id};${op}">${lang("comment.operation."+op)}</option>
- </list>
- </select>
- </if>
- <if entry.operations>|</if>
- <a href="${config.actionRoot}?module=Comment&do=edit&id=${entry.id}">${lang("edit")}</a>
- </td>
-
- <td valign="top">
-
- <a class="small" href="${config.actionRoot}?module=Comment&do=delete&id=${entry.id}&searchtext=${utility.encodeHTML(searchtext)}&searchfield=${utility.encodeHTML(searchfield)}&searchispublished=${searchispublished}&searchorder=${searchorder}&offset=${offset}">[${lang("delete")}]</a>
- </td>
- </tr>
-</list>
+ <if config["Mir.Localizer.Admin.ListOperationsFlavor"]!="0">
+ <form method="post" action="${config.actionRoot}">
+ <input type="hidden" name="module" value="Localizer">
+ <input type="hidden" name="do" value="commentoperationbatch">
+ <input type="hidden" name="returnurl" value="${utility.encodeHTML(thisurl)}">
+ <p class="box">
+ <input class="majorbutton" type="submit" name="save" value="${lang("save")}"> (${lang("commentlist.activate")})
+ </p>
+ </if>
+
+ <call showPrevNextLinks (prevurl, nexturl, "right")>
+
+ <table border="0" cellpadding="2" cellspacing="3">
+
+ <tr class="table-head">
+ <td valign="top">
+ ${lang("comment.date")}
+ </td>
+ <td>
+ ${lang("comment.article")} / ${lang("comment.title")} / ${lang("comment.creator")} / ${lang("comment.text")}
+ </td>
+ <td>
+
+ </td>
+ </tr>