templateModelRoot ist now a simplehash with two entries: data and config, bugfix...
[mir.git] / templates-dist / de / breaking.template
index 7900da0..9a4b457 100755 (executable)
@@ -7,17 +7,17 @@ indymedia.de | languages
 
 <body bgcolor="#FFFFFF">
 <include "head.template">
-<form action="${actionRoot}" method="post">
+<form action="${config.actionRoot}" method="post">
        <input type="hidden" name="module" value="Breaking">
-       <input type="hidden" name="id" value="${id}">
-       <if new><input type="hidden" name="do" value="insert">
+       <input type="hidden" name="id" value="${data.id}">
+       <if data.new><input type="hidden" name="do" value="insert">
        <else><input type="hidden" name="do" value="update"></if>
 <table border="0">
   <tr>
     <td align="right" bgcolor="#006600"><font color="#ffffff" face="Verdana, Arial, Helvetica, sans-serif" size="-1">
        <B>date:</B></font></td>
     <td>
-      ${webdb_create_formatted}
+      ${data.webdb_create_formatted}
     </td>
   </tr>
 
@@ -25,13 +25,13 @@ indymedia.de | languages
     <td align="right" bgcolor="#006600"><font color="#ffffff" face="Verdana, Arial, Helvetica, sans-serif" size="-1">
        <B>text:</B> (max. 5 lines / 250 characters)</font></td>
     <td>
-        <textarea cols="50" rows="3" name="text" wrap=virtual>${text}</textarea>
+        <textarea cols="50" rows="3" name="text" wrap=virtual>${data.text}</textarea>
     </td>
   </tr>
 
   <tr>
-    <td colspan="2" align="right"> <font color="#ffffff"><if new>
-      <input type="submit" name="save" value="einfΓΌgen">
+    <td colspan="2" align="right"> <font color="#ffffff"><if data.new>
+      <input type="submit" name="save" value="einf&uuml;gen">
     <else>
     <input type="submit" name="save" value="speichern">
     </if> </font></form></font>