diff options
author | Dexter Morgan <dmorgan@mageia.org> | 2013-02-21 08:36:33 +0000 |
---|---|---|
committer | Dexter Morgan <dmorgan@mageia.org> | 2013-02-21 08:36:33 +0000 |
commit | 549bd6b0e3fa182d3eff47e67d4f1ab2729dd21d (patch) | |
tree | 4d8248e158f2f38a3b78758caae40b93a750656e /template/en/default/mageia/README | |
download | bugzilla-549bd6b0e3fa182d3eff47e67d4f1ab2729dd21d.tar bugzilla-549bd6b0e3fa182d3eff47e67d4f1ab2729dd21d.tar.gz bugzilla-549bd6b0e3fa182d3eff47e67d4f1ab2729dd21d.tar.bz2 bugzilla-549bd6b0e3fa182d3eff47e67d4f1ab2729dd21d.tar.xz bugzilla-549bd6b0e3fa182d3eff47e67d4f1ab2729dd21d.zip |
Add mageia extension, from Frederic Buclin
Diffstat (limited to 'template/en/default/mageia/README')
-rw-r--r-- | template/en/default/mageia/README | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/template/en/default/mageia/README b/template/en/default/mageia/README new file mode 100644 index 0000000..099d1a4 --- /dev/null +++ b/template/en/default/mageia/README @@ -0,0 +1,16 @@ +Normal templates go in this directory. You can load them in your +code like this: + +use Bugzilla::Error; +my $template = Bugzilla->template; +$template->process('mageia/some-template.html.tmpl') + or ThrowTemplateError($template->error()); + +That would be how to load a file called some-template.html.tmpl that +was in this directory. + +Note that you have to be careful that the full path of your template +never conflicts with a template that exists in Bugzilla or in +another extension, or your template might override that template. That's why +we created this directory called 'mageia' for you, so you +can put your templates in here to help avoid conflicts.
\ No newline at end of file |