From: Frédéric Buclin Date: Tue, 4 Mar 2014 17:08:09 +0000 (+0100) Subject: Bug 979140: Remove remaining elements X-Git-Tag: bugzilla-4.5.3~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43ce5f5bab1d5c5004c4eefe426ff19b88fd6c78;p=thirdparty%2Fbugzilla.git Bug 979140: Remove remaining elements r/a=glob --- diff --git a/Bugzilla/Error.pm b/Bugzilla/Error.pm index 03bf04f83a..37b28095a4 100644 --- a/Bugzilla/Error.pm +++ b/Bugzilla/Error.pm @@ -192,24 +192,18 @@ sub ThrowTemplateError { my $maintainer = Bugzilla->params->{'maintainer'}; my $error = html_quote($vars->{'template_error_msg'}); my $error2 = html_quote($template->error()); + my $url = html_quote(Bugzilla->cgi->self_url); + print <

Bugzilla has suffered an internal error. Please save this page and send it to $maintainer with details of what you were doing at the time this message appeared.

- +

URL: $url

Template->process() failed twice.
First error: $error
Second error: $error2

-
END } exit; diff --git a/extensions/Voting/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/Voting/template/en/default/hook/global/user-error-errors.html.tmpl index 55c32d460a..644c827a65 100644 --- a/extensions/Voting/template/en/default/hook/global/user-error-errors.html.tmpl +++ b/extensions/Voting/template/en/default/hook/global/user-error-errors.html.tmpl @@ -30,14 +30,14 @@ [% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %] You may only use at most [% max FILTER html %] votes for a single [%+ terms.bug %] in the - [% product FILTER html %] product, but you are trying to + [% product FILTER html %] product, but you are trying to use [% votes FILTER html %]. [% ELSIF error == "voting_too_many_votes_for_product" %] [% title = "Illegal Vote" %] [% admindocslinks = {'voting.html' => 'Setting up the voting feature'} %] You tried to use [% votes FILTER html %] votes in the - [% product FILTER html %] product, which exceeds the maximum of + [% product FILTER html %] product, which exceeds the maximum of [%+ max FILTER html %] votes for this product. [% END %]