Bug 383520 ��� Need to hook code-error.html.tmpl

Patch by ghendricks r=mkanat a=mkanat
This commit is contained in:
ghendricks%novell.com 2007-06-12 20:20:05 +00:00
Родитель 7244f63bca
Коммит 0f76a5d504
1 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@ -426,12 +426,18 @@
Invalid setting for post_bug_submit_action Invalid setting for post_bug_submit_action
[% ELSE %] [% ELSE %]
[%# Try to find hooked error messages %]
[% error_message = Hook.process("errors") %]
[% IF NOT error_message %]
[% title = "Internal error" %] [% title = "Internal error" %]
An internal error has occurred, but [% terms.Bugzilla %] doesn't know An internal error has occurred, but [% terms.Bugzilla %] doesn't know
what <code>[% error FILTER html %]</code> means. what <code>[% error FILTER html %]</code> means.
If you are a [% terms.Bugzilla %] end-user seeing this message, please save If you are a [% terms.Bugzilla %] end-user seeing this message, please save
this page and send it to [% Param('maintainer') %]. this page and send it to [% Param('maintainer') %].
[% ELSE %]
[% error_message FILTER none %]
[% END %]
[% END %] [% END %]
[% END %] [% END %]