templateModelRoot ist now a simplehash with two entries: data and config, bugfix...
[mir.git] / templates-dist / de / schwerpunktlist.template
index 025ef9d..9e73f03 100755 (executable)
@@ -7,7 +7,7 @@
 <include "head.template">
 
 
-<if contentlist>
+<if data.contentlist>
 <table border="0">
   <tr bgcolor="#006600">
     <td><font color="#ffffff">frei</font></td>
@@ -16,7 +16,7 @@
     <td><font color="#ffffff">Link</font></td>
     <td><font color="#ffffff">Abstract</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>
   >
   <tr>
     <td align="center" colspan="5" bgcolor="#006600">
       <div align="left"><font color="#ffffff">${count} datens&auml;tze / anzeige
-        von ${from} bis ${to}</font></div>
+        von ${data.from} bis ${data.to}</font></div>
     </td>
-    <td><a href="${docRoot}"><font size="1">&nbsp;zur&uuml;ck</font></a></td>
+    <td><a href="${config.docRoot}"><font size="1">&nbsp;zur&uuml;ck</font></a></td>
   </tr>
 </table>
 
       <P>
 <if (prev || next)>
- <form method="post" action="${actionRoot}">
+ <form method="post" action="${config.actionRoot}">
  <input type="hidden" name="module" value="Schwerpunkt">
- <input type="hidden" name="where" value="${where}">
+ <input type="hidden" name="where" value="${data.where}">
 <if prev>
- <input type="hidden" name="prevoffset" value="${prev}">
+ <input type="hidden" name="prevoffset" value="${data.prev}">
  <input type="submit" name="prev" value="zur&uuml;ck">
 </if>
 <if next>
- <input type="hidden" name="nextoffset" value="${next}">
+ <input type="hidden" name="nextoffset" value="${data.next}">
  <input type="submit" name="next" value="weiter">
 </if>
  </form>