From 8f8a3724c7fe37736f893bd2e2cba702b3f9ddc5 Mon Sep 17 00:00:00 2001
From: "myk%mozilla.org" <>
Date: Fri, 4 Apr 2008 11:47:44 +0000
Subject: Fix validation problem (unescaped ampersands) by making the program
listing be CDATA.
---
docs/en/xml/customization.xml | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
(limited to 'docs/en/xml/customization.xml')
diff --git a/docs/en/xml/customization.xml b/docs/en/xml/customization.xml
index 1bc2b97ee..c85505c1f 100644
--- a/docs/en/xml/customization.xml
+++ b/docs/en/xml/customization.xml
@@ -295,7 +295,7 @@
After untarring the localizations (or creating your own) in the
- BUGZILLA_ROOT/template directory,
+ BUGZILLA_ROOT/template directory,
you must update the parameter to contain any
localizations you'd like to permit. You may also wish to set the
parameter to something other than
@@ -345,12 +345,12 @@
tool (e.g. grep) to search the standard templates
for occurrences of Hook.process or browse
the directory tree in
- BUGZILLA_ROOT/template/en/extension/hook/,
+ BUGZILLA_ROOT/template/en/extension/hook/,
which contains a directory for each hook in the following location:
- BUGZILLA_ROOT/template/en/extension/hook/PATH_TO_STANDARD_TEMPLATE/STANDARD_TEMPLATE_NAME/HOOK_NAME/
+ BUGZILLA_ROOT/template/en/extension/hook/PATH_TO_STANDARD_TEMPLATE/STANDARD_TEMPLATE_NAME/HOOK_NAME/
@@ -375,7 +375,7 @@
The Bugzilla reviewers will promptly review each hook request,
name the hook, add it to the template, check the new version
of the template into CVS, and create the corresponding directory in
- BUGZILLA_ROOT/template/en/extension/hook/.
+ BUGZILLA_ROOT/template/en/extension/hook/.
@@ -415,7 +415,7 @@
useful-links.html.tmpl, which is located in
the global/ subdirectory on the standard Bugzilla
template path
- BUGZILLA_ROOT/template/en/default/.
+ BUGZILLA_ROOT/template/en/default/.
Looking in useful-links.html.tmpl, you find
the following hook at the end of the list of standard Bugzilla
administration links:
@@ -429,7 +429,7 @@
The corresponding directory for this hook is
- BUGZILLA_ROOT/template/en/extension/hook/global/useful-links.html.tmpl/edit/.
+ BUGZILLA_ROOT/template/en/extension/hook/global/useful-links.html.tmpl/edit/.
@@ -454,7 +454,7 @@
You may want to prefix your extension template names
with the name of your extension, e.g.
- projman-foo.html.tmpl,
+ projman-foo.html.tmpl,
so they do not conflict with the names of templates installed by
other extensions.
@@ -465,7 +465,7 @@
If your extension includes entirely new templates in addition to
extensions of standard templates, it should install those new
templates into an extension-specific subdirectory of the
- BUGZILLA_ROOT/template/en/extension/
+ BUGZILLA_ROOT/template/en/extension/
directory. The extension/ directory, like the
default/ and custom/
directories, is part of the template search path, so putting templates
@@ -494,9 +494,9 @@
Installation customizers can also take advantage of hooks when adding
code to a Bugzilla template. To do so, create directories in
- BUGZILLA_ROOT/template/en/custom/hook/
+ BUGZILLA_ROOT/template/en/custom/hook/
equivalent to the directories in
- BUGZILLA_ROOT/template/en/extension/hook/
+ BUGZILLA_ROOT/template/en/extension/hook/
for the hooks you want to use, then place your customization templates
into those directories.
@@ -584,7 +584,7 @@
}
This says that only users in the group "quality_assurance" can change
the QA Contact field of a bug. Getting more weird:
- if (($field eq "priority") &&
+ user->email =~ /.*\@example\.com$/))
{
if ($oldvalue eq "P1") {
@@ -593,7 +593,7 @@
else {
return 0;
}
- }
+ }]]>
This says that if the user is trying to change the priority field,
and their email address is @example.com, they can only do so if the
old value of the field was "P1". Not very useful, but illustrative.
--
cgit v1.2.1