summaryrefslogtreecommitdiffstats
path: root/extensions/Example/template/en/default/admin
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2016-04-15 21:27:32 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2016-04-15 21:27:32 +0200
commit06654a4693d7258deb0013ea23f70071b3486c83 (patch)
tree7908d0d1a9f9ac2d27d79bead00ddf5ed73698c7 /extensions/Example/template/en/default/admin
parent90d86a9744883ccc120a0a955ffade72990e1505 (diff)
downloadbugzilla-06654a4693d7258deb0013ea23f70071b3486c83.tar.gz
bugzilla-06654a4693d7258deb0013ea23f70071b3486c83.tar.xz
Bug 1261679 - Add more examples about how to define new parameters using the config_add_panels hook
r=gerv
Diffstat (limited to 'extensions/Example/template/en/default/admin')
-rw-r--r--extensions/Example/template/en/default/admin/params/example.html.tmpl12
1 files changed, 11 insertions, 1 deletions
diff --git a/extensions/Example/template/en/default/admin/params/example.html.tmpl b/extensions/Example/template/en/default/admin/params/example.html.tmpl
index 48143945c..d399ac161 100644
--- a/extensions/Example/template/en/default/admin/params/example.html.tmpl
+++ b/extensions/Example/template/en/default/admin/params/example.html.tmpl
@@ -11,6 +11,16 @@
%]
[% param_descs = {
- example_string => "Example string",
+ example_string => "This parameter accepts any text. (type t)",
+ example_constrained_string => "This parameter accepts only a text of the form " _
+ "NN-XXXX-N, where N is a digit and X a letter.",
+ example_number => "This parameter accepts only a positive integer.",
+ example_password => "Text with all characters replaced by asterisks for " _
+ "security purposes. (type p)",
+ example_multi_lines => "Text field permitting multiple lines of text. (type l)",
+ example_boolean => "You have only two choices: On (1) or Off (0). (type b)",
+ example_single_select => "Select a single value from a list. (type s)",
+ example_multi_select => "Select none, one or several values from a list. (type m)",
+ example_multi_ordered => "Several values can be selected and ordered. (type o)",
}
%]