Teil 1 von: Usability und Lokalisierung de und de_DE (neu)
[kivitendo-erp.git] / templates / webpages / generic / error.html
1 [%- USE T8 %]
2 [% USE HTML %]<body>
3
4  <div class="message_error">[% IF title_error %][% title_error %][% ELSE %][% 'Error!' | $T8 %][% END %]</div>
5 <p><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p>
6  <p>[% label_error %]</p>
7
8  [%- IF SHOW_BACK_BUTTON %]
9  <form>
10   <p>
11    <!--- show back button always hack
12          In which situation is it necessary to hide it?
13    <input type="button" onclick="history.back()" value="[% 'Back' | $T8 %]">
14    -->
15   </p>
16  </form>
17
18  [%- ELSIF SHOW_BUTTON %]
19
20  <form action="[% HTML.escape(script) %]" method="post">
21
22   [%- FOREACH var = VARIABLES %]
23   <input type="hidden" name="[% HTML.escape(var.name) %]" value="[% HTML.escape(var.value) %]">
24   [%- END %]
25
26   <input type="hidden" name="action" value="[% HTML.escape(action) %]">
27
28   <p>
29    <input type="submit" value="[% BUTTON_LABEL %]">
30   </p>
31  </form>
32
33  [%- END %]
34
35 </body>
36 </html>