summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-10-17 00:12:10 +0200
committerlpsolit%gmail.com <>2008-10-17 00:12:10 +0200
commit69570c937f5c62be0f8cf7e5e4901020e5d9891a (patch)
tree05a60842557f85b994700c0d78990de859d89949 /template
parentdd45919d7b2f2f7ccc5ae33ef9a58b4ed6a7fd2b (diff)
downloadbugzilla-69570c937f5c62be0f8cf7e5e4901020e5d9891a.tar.gz
bugzilla-69570c937f5c62be0f8cf7e5e4901020e5d9891a.tar.xz
Bug 460297: Parameters in editparams.cgi need an ID - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template')
-rw-r--r--template/en/default/admin/params/common.html.tmpl13
1 files changed, 7 insertions, 6 deletions
diff --git a/template/en/default/admin/params/common.html.tmpl b/template/en/default/admin/params/common.html.tmpl
index 4fd792194..c23c2ca9a 100644
--- a/template/en/default/admin/params/common.html.tmpl
+++ b/template/en/default/admin/params/common.html.tmpl
@@ -31,13 +31,14 @@
<p>
[% IF param.type == "t" %]
<input type="text" size="80" name="[% param.name FILTER html %]"
- value="[% Param(param.name) FILTER html %]">
+ id="[% param.name FILTER html %]" value="[% Param(param.name) FILTER html %]">
[% ELSIF param.type == "p" %]
<input type="password" size="80" name="[% param.name FILTER html %]"
- value="[% Param(param.name) FILTER html %]" autocomplete="off">
+ id="[% param.name FILTER html %]" value="[% Param(param.name) FILTER html %]"
+ autocomplete="off">
[% ELSIF param.type == "l" %]
- <textarea name="[% param.name FILTER html %]" rows="10" cols="80">
- [% Param(param.name) FILTER html %]</textarea>
+ <textarea name="[% param.name FILTER html %]" id="[% param.name FILTER html %]"
+ rows="10" cols="80">[% Param(param.name) FILTER html %]</textarea>
[% ELSIF param.type == "b" %]
<input type="radio" name="[% param.name FILTER html %]" id="[% param.name FILTER html %]-on"
value=1 [% "checked=\"checked\"" IF Param(param.name) %]>
@@ -50,7 +51,7 @@
[% boxSize = param.choices.size IF param.choices.size < 5 %]
<select multiple="multiple" size="[% boxSize FILTER html %]"
- name="[% param.name FILTER html %]">
+ name="[% param.name FILTER html %]" id="[% param.name FILTER html %]">
[% FOREACH item = param.choices %]
<option value="[% item FILTER html %]"
[% " selected=\"selected\"" IF lsearch(Param(param.name), item) != -1 %]>
@@ -110,7 +111,7 @@
// -->
</script>
[% ELSIF param.type == "s" %]
- <select name="[% param.name FILTER html %]">
+ <select name="[% param.name FILTER html %]" id="[% param.name FILTER html %]">
[% FOREACH item = param.choices %]
<option value="[% item FILTER html %]"
[% " selected=\"selected\"" IF item == Param(param.name) %]>