summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authordkl%redhat.com <>2008-06-20 01:06:27 +0200
committerdkl%redhat.com <>2008-06-20 01:06:27 +0200
commitc34003dcdd1cc0705c5464164f7d4dfd52d6d3d6 (patch)
treed2ba25b4d2c2796f75c6044fb4a9bbc32009e204 /template
parentf575fab32dc8679c3fa69bf38b7017049285b42c (diff)
downloadbugzilla-c34003dcdd1cc0705c5464164f7d4dfd52d6d3d6.tar.gz
bugzilla-c34003dcdd1cc0705c5464164f7d4dfd52d6d3d6.tar.xz
Bug 157092 – Implement a checking mechanism for invalid regexp
Patch by David Lawrence <dkl@redhat.com> - r/a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/user-error.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 6c3ed7dbc..2d5c3b355 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -783,6 +783,11 @@
[% IF format %]
Please use the format '<tt>[% format FILTER html %]</tt>'.
[% END %]
+
+ [% ELSIF error == "illegal_regexp" %]
+ [% title = "Illegal Regular Expression" %]
+ The regular expression you provided [% value FILTER html %] is not valid.
+ The error was: [% dberror FILTER html %].
[% ELSIF error == "insufficient_data_points" %]
[% docslinks = {'reporting.html' => 'Reporting'} %]