summaryrefslogtreecommitdiffstats
path: root/template/en/default/extensions/name-readme.txt.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/extensions/name-readme.txt.tmpl')
-rw-r--r--template/en/default/extensions/name-readme.txt.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/en/default/extensions/name-readme.txt.tmpl b/template/en/default/extensions/name-readme.txt.tmpl
index 5403bab7f..e09f86c96 100644
--- a/template/en/default/extensions/name-readme.txt.tmpl
+++ b/template/en/default/extensions/name-readme.txt.tmpl
@@ -9,8 +9,8 @@
Normal templates go in this directory. You can load them in your
code like this:
-use B[% %]ugzilla::Error;
-my $template = B[% %]ugzilla->template;
+use Bugzilla::Error;
+my $template = Bugzilla->template;
$template->process('[% name FILTER lower %]/some-template.html.tmpl')
or ThrowTemplateError($template->error());
@@ -18,7 +18,7 @@ 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 [% terms.Bugzilla %] or in
+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 '[% name FILTER lower %]' for you, so you
can put your templates in here to help avoid conflicts.