don't use encodeHTML for the list view
[mir.git] / templates-dist / admin / userlist.template
index 84db96d..ffa0e7e 100755 (executable)
   <tr
        <if grey=="1"><assign grey="0">bgcolor="#dddddd" <else><assign grey="1"> </if>
   >
-  <td>${encodeHTML(entry.login)}&nbsp;</td>
-  <td>${encodeHTML(entry.is_admin)}&nbsp;</td>
+  <td>${entry.login}&nbsp;</td>
+  <td>${entry.is_admin}&nbsp;</td>
   <td><font size="1">&nbsp;<a href="${config.actionRoot}?module=Users&do=delete&id=${entry.id}">${lang("delete")}</a>
     | <a href="${config.actionRoot}?module=Users&do=edit&id=${entry.id}">${lang("edit")}</a></font></td>
   </tr>
   </list>
   <tr>
-    <td colspan="3" bgcolor="#006600"><font color="#ffffff">${encodeHTML(data.count)} ${lang("records")}
+    <td colspan="3" bgcolor="#006600"><font color="#ffffff">${data.count} ${lang("records")}
       /  ${lang("show_from_to", data.from, data.to)}</font></td>
     <td>&nbsp;</td>
   </tr>
 
       <P>
 <if data.prev>
-       <a href="${encodeHTML(actionRoot)}?module=Users&do=list&where=${encodeHTML(where)}&prevoffset=${encodeHTML(prev)}&prev=zur&uuml;ck">${lang("list.previous")}</a>&nbsp;
+       <a href="${config.actionRoot}?module=Users&do=list&where=${encodeHTML(data.where)}&prevoffset=${encodeHTML(data.prev)}&prev=zur&uuml;ck">${lang("list.previous")}</a>&nbsp;
 </if>
 <if data.next>
-<a href="${encodeHTML(actionRoot)}?module=Users&do=list&where=${encodeHTML(where)}&nextoffset=${encodeHTML(next)}&next=weiter">${lang("list.next")}</a>
+<a href="${config.actionRoot}?module=Users&do=list&where=${encodeHTML(data.where)}&nextoffset=${encodeHTML(data.next)}&next=weiter">${lang("list.next")}</a>
 </if>
 
 <else>