diff options
author | dkl%redhat.com <> | 2008-06-20 01:06:27 +0200 |
---|---|---|
committer | dkl%redhat.com <> | 2008-06-20 01:06:27 +0200 |
commit | c34003dcdd1cc0705c5464164f7d4dfd52d6d3d6 (patch) | |
tree | d2ba25b4d2c2796f75c6044fb4a9bbc32009e204 /template | |
parent | f575fab32dc8679c3fa69bf38b7017049285b42c (diff) | |
download | bugzilla-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.tmpl | 5 |
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'} %] |