X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ferrorpage.html;h=7d66e7ce09f0bac4dd4032f63bbf8a1807f9986c;hp=d28055efbb04c6e90dd734b74c71e8fff6fbdc1d;hb=cb6214a6c0b0ecc8c3a5c264ee98ff3f301c33a6;hpb=718f65eee1c797ea90a315b5f03fae75c80a5112 diff --git a/httemplate/elements/errorpage.html b/httemplate/elements/errorpage.html index d28055efb..7d66e7ce0 100644 --- a/httemplate/elements/errorpage.html +++ b/httemplate/elements/errorpage.html @@ -1,13 +1,11 @@ -<% include("/elements/header.html", "Error processing your request") %> - -Your request could not be processed because of the following error<% (scalar(@_) > 1) ? 's' : '' %>: +% my $error = shift; +% $m->notes('error', $error); +<& /elements/header.html, mt("Error") &> % while (@_) { -

<% shift %> - +

<% $error |h %> %} % $m->flush_buffer(); % $HTML::Mason::Commands::m->abort(); -% #die "shouldn't fall through to here (mason \$m->abort didn't)";