Revision dd7cbf4f
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
660 | 660 |
|
661 | 661 |
$self->{title} = $params{title} if $params{title}; |
662 | 662 |
|
663 |
for my $bar ($::request->layout->get('actionbar')) { |
|
664 |
$bar->add( |
|
665 |
action => [ |
|
666 |
t8('Back'), |
|
667 |
call => [ 'kivi.history_back' ], |
|
668 |
accesskey => 'enter', |
|
669 |
], |
|
670 |
); |
|
671 |
} |
|
672 |
|
|
663 | 673 |
$self->header(); |
664 | 674 |
print $self->parse_html_template("generic/error", $add_params); |
665 | 675 |
|
templates/webpages/generic/error.html | ||
---|---|---|
4 | 4 |
<div class="message_error">[% IF title_error %][% title_error %][% ELSE %][% 'Error!' | $T8 %][% END %] |
5 | 5 |
<p class="message_error_label">[% label_error %]</p> |
6 | 6 |
</div> |
7 |
|
|
8 |
<p style="text-align: left;"><input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]"></p> |
Auch abrufbar als: Unified diff
ActionBar: Form->show_generic_error umgestellt