Spalte 'taxincluded' hat den Typ 'boolean' und nicht 'integer'. Fix für Bug 759.
[kivitendo-erp.git] / templates / webpages / generic / error_de.html
index 838c706..f95bb3a 100644 (file)
@@ -1,14 +1,32 @@
-<body>
- <table width=100%>
-  <tr>
-   <th class=listtop><TMPL_VAR NAME=title DEFAULT="Fehler!"></th>
-  </tr>
-  <tr height="5"></tr>
+[% USE HTML %]<body>
 
-  <tr><td><TMPL_VAR NAME=label_error></td></tr>
- </table>
+ <div class="listtop">[% IF title_error %][% title_error %][% ELSE %]Fehler![% END %]</div>
 
- <TMPL_VAR NAME=DEBUG>
+ <p>[% label_error %]</p>
+
+ [%- IF SHOW_BACK_BUTTON %]
+ <form>
+  <p>
+   <input type="button" onclick="history.back()" value="Zurück">
+  </p>
+ </form>
+
+ [%- ELSIF SHOW_BUTTON %]
+
+ <form action="[% HTML.escape(script) %]" method="post">
+
+  [%- FOREACH var = VARIABLES %]
+  <input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]">
+  [%- END %]
+
+  <input type="hidden" name="action" value="[% HTML.escape(action) %]">
+
+  <p>
+   <input type="submit" value="[% BUTTON_LABEL %]">
+  </p>
+ </form>
+
+ [%- END %]
 
 </body>
 </html>