From de08f05ca3392cd47de0a144fd5938f458f2b4cc Mon Sep 17 00:00:00 2001 From: jeff Date: Mon, 8 Oct 2007 19:04:50 +0000 Subject: Remove remaining calls to idiot/eidiot. Should fix 1479 --- httemplate/elements/errorpage.html | 13 +++++++++++++ httemplate/elements/tr-select-part_referral.html | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 httemplate/elements/errorpage.html (limited to 'httemplate/elements') diff --git a/httemplate/elements/errorpage.html b/httemplate/elements/errorpage.html new file mode 100644 index 000000000..d28055efb --- /dev/null +++ b/httemplate/elements/errorpage.html @@ -0,0 +1,13 @@ +<% include("/elements/header.html", "Error processing your request") %> + +Your request could not be processed because of the following error<% (scalar(@_) > 1) ? 's' : '' %>: + +% while (@_) { + +

<% shift %> + + +%} +% $m->flush_buffer(); +% $HTML::Mason::Commands::m->abort(); +% #die "shouldn't fall through to here (mason \$m->abort didn't)"; diff --git a/httemplate/elements/tr-select-part_referral.html b/httemplate/elements/tr-select-part_referral.html index 35c5b8047..229337385 100644 --- a/httemplate/elements/tr-select-part_referral.html +++ b/httemplate/elements/tr-select-part_referral.html @@ -8,7 +8,7 @@ % % % if ( scalar( @{$opt{'part_referrals'}} ) == 0 ) { -% eidiot "You have not created any advertising sources. You must create at least one advertising source before adding a customer. Go to ". popurl(2). "browse/part_referral.html and create one or more advertising sources."; +

You have not created any advertising sources. You must create at least one advertising source before adding a customer. Go to advertising source listing and create one or more advertising sources. % } elsif ( scalar( @{$opt{'part_referrals'}} ) == 1 ) { % -- cgit v1.2.1