diff options
author | jeff <jeff> | 2007-10-08 19:14:28 +0000 |
---|---|---|
committer | jeff <jeff> | 2007-10-08 19:14:28 +0000 |
commit | 718f65eee1c797ea90a315b5f03fae75c80a5112 (patch) | |
tree | b401a06d365a615c390d38f4a7ccbdabe9bc00ac /httemplate/elements | |
parent | 9fd3c8211ebccf727d1c048620d1527926a3b779 (diff) |
Remove remaining calls to idiot/eidiot. Should fix 1479
Diffstat (limited to 'httemplate/elements')
-rw-r--r-- | httemplate/elements/errorpage.html | 13 | ||||
-rw-r--r-- | httemplate/elements/tr-select-part_referral.html | 2 |
2 files changed, 14 insertions, 1 deletions
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 (@_) { + +<P><FONT SIZE="+1" COLOR="#ff0000"><B><% shift %></B></FONT> + + +%} +% $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 cd26c254d..62795e9b2 100644 --- a/httemplate/elements/tr-select-part_referral.html +++ b/httemplate/elements/tr-select-part_referral.html @@ -1,5 +1,5 @@ % 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."; + <P><FONT SIZE="+1" COLOR="#ff0000">You have not created any advertising sources. You must create at least one advertising source before adding a customer. Go to <A HREF="<% popurl(2) %>browse/part_referral.html">advertising source listing</A> and create one or more advertising sources.</FONT> % } elsif ( scalar( @{$opt{'part_referrals'}} ) == 1 ) { <INPUT TYPE="hidden" NAME="<% $opt{'element_name'} || $opt{'field'} || 'refnum' %>" VALUE="<% $opt{'part_referrals'}->[0]->refnum %>"> |