diff options
author | mkanat%bugzilla.org <> | 2009-11-24 07:09:41 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-11-24 07:09:41 +0100 |
commit | 5fc80f94271780b6ff6d1dbba554df35e803ac51 (patch) | |
tree | ebc3f2bc12bb32ab280cacb1cd88b35001fb2c0e /extensions/Example/template/en/hook/global | |
parent | 78413d851910175fcc8aef2249be377cab7dd7e8 (diff) | |
download | bugzilla-5fc80f94271780b6ff6d1dbba554df35e803ac51.tar.gz bugzilla-5fc80f94271780b6ff6d1dbba554df35e803ac51.tar.xz |
Bug 430014: Re-write the code hooks system so that it uses modules instead of individual .pl files
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat
Diffstat (limited to 'extensions/Example/template/en/hook/global')
-rw-r--r-- | extensions/Example/template/en/hook/global/user-error-errors.html.tmpl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extensions/Example/template/en/hook/global/user-error-errors.html.tmpl b/extensions/Example/template/en/hook/global/user-error-errors.html.tmpl new file mode 100644 index 000000000..df5a203dd --- /dev/null +++ b/extensions/Example/template/en/hook/global/user-error-errors.html.tmpl @@ -0,0 +1,12 @@ +[%# Note that error messages should generally be indented four spaces, like + # below, because when Bugzilla translates an error message into plain + # text, it takes four spaces off the beginning of the lines. + # + # Note also that I prefixed my error name with "example", the name of my + # extension, so that I wouldn't conflict with other error names in + # Bugzilla or other extensions. + #%] +[% IF error == "example_my_error" %] + [% title = "Example Error Title" %] + This is the error message! It contains <em>some html</em>. +[% END %] |