templateModelRoot ist now a simplehash with two entries: data and config, bugfix...
[mir.git] / templates-dist / de / messagelist.template
index 44415de..2bf4eae 100755 (executable)
@@ -5,7 +5,7 @@
 
 <body bgcolor="#FFFFFF">
 <include "head.template">
-<if contentlist>
+<if data.contentlist>
 <table border="0" cellpadding="2" cellspacing="1">
   <tr bgcolor="#006600">
     <td><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif" size="-1">
@@ -16,7 +16,7 @@
                <b>text</b></font></td>
   </tr>
 
-  <list contentlist as entry>
+  <list data.contentlist as entry>
   <tr
        <if grey=="1"><assign grey="0">bgcolor="#dddddd" <else><assign grey="1"> </if>
   >
   <td><b>${entry.title}</b><br>
       <i>${entry.creator}</i></td>
   <td bgcolor="Pink">${entry.description}&nbsp;</td>
-  <td><font size="1">&nbsp;<a href="${actionRoot}?module=Message&do=delete&id=${entry.id}">delete</a>
-    | <a href="${actionRoot}?module=Message&do=edit&id=${entry.id}">edit</a></font></td>
+  <td><font size="1">&nbsp;<a href="${config.actionRoot}?module=Message&do=delete&id=${entry.id}">delete</a>
+    | <a href="${config.actionRoot}?module=Message&do=edit&id=${entry.id}">edit</a></font></td>
   </tr>
   </list>
   <tr>
-    <td colspan="3" bgcolor="#006600"><font color="#ffffff">${count} datens&auml;tze
-      / anzeige von ${from} bis ${to}</font></td>
+    <td colspan="3" bgcolor="#006600"><font color="#ffffff">${data.count} datens&auml;tze
+      / anzeige von ${data.from} bis ${data.to}</font></td>
     <td>&nbsp;</td>
   </tr>
 </table>
 
       <P>
 <if prev>
-       <a href="${actionRoot}?module=Users&do=list&where=${where}&prevoffset=${prev}&prev=zur&uuml;ck">zurueck</a>&nbsp;
+       <a href="${config.actionRoot}?module=Users&do=list&where=${data.where}&prevoffset=${data.prev}&prev=zur&uuml;ck">zurueck</a>&nbsp;
 </if>
 <if next>
-<a href="${actionRoot}?module=Users&do=list&where=${where}&nextoffset=${next}&next=weiter">weiter</a>
+<a href="${config.actionRoot}?module=Users&do=list&where=${data.where}&nextoffset=${data.next}&next=weiter">weiter</a>
 </if>
 
 <else>