X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Ferrorpage.html;h=d001bfa89ce4455e70ee1e7869941885913896ac;hb=f822e27a1e00594332ffa487a1c284234c5580a6;hp=76a0bf32e4b80ad26d7761c37d5172fac72e7646;hpb=c648976f0b7975f2328ebd7ba8c711fad0ca4195;p=freeside.git diff --git a/httemplate/elements/errorpage.html b/httemplate/elements/errorpage.html index 76a0bf32e..d001bfa89 100644 --- a/httemplate/elements/errorpage.html +++ b/httemplate/elements/errorpage.html @@ -1,11 +1,11 @@ -<% include("/elements/header.html", "Error") %> +% my $error = $_[0]; +% $m->notes('error', $error); +<& /elements/header.html, mt("Error") &> % while (@_) {

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