summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin
diff options
context:
space:
mode:
authorwurblzap%gmail.com <>2006-10-18 04:58:34 +0200
committerwurblzap%gmail.com <>2006-10-18 04:58:34 +0200
commit84973470df08a269632287e66c52aa30f515ccc1 (patch)
tree68680d1965e213fc622d648e77c49fb42d5282c6 /template/en/default/admin
parentc26d71326510b17b3da75c733254ec07178da884 (diff)
downloadbugzilla-84973470df08a269632287e66c52aa30f515ccc1.tar.gz
bugzilla-84973470df08a269632287e66c52aa30f515ccc1.tar.xz
Bug 321556: Prepare Bugzilla to ship with at least 2 skins.
Patch by Marc Schumann <wurblzap@gmail.com>; r=myk, a=justdave
Diffstat (limited to 'template/en/default/admin')
-rw-r--r--template/en/default/admin/components/create.html.tmpl4
-rw-r--r--template/en/default/admin/fieldvalues/create.html.tmpl4
-rw-r--r--template/en/default/admin/groups/create.html.tmpl2
-rw-r--r--template/en/default/admin/groups/list.html.tmpl2
-rwxr-xr-xtemplate/en/default/admin/keywords/create.html.tmpl2
-rw-r--r--template/en/default/admin/milestones/create.html.tmpl4
-rw-r--r--template/en/default/admin/products/edit-common.html.tmpl12
-rw-r--r--template/en/default/admin/settings/edit.html.tmpl2
-rw-r--r--template/en/default/admin/sudo.html.tmpl16
-rw-r--r--template/en/default/admin/versions/create.html.tmpl4
10 files changed, 29 insertions, 23 deletions
diff --git a/template/en/default/admin/components/create.html.tmpl b/template/en/default/admin/components/create.html.tmpl
index 9b4a19bf0..9e999839b 100644
--- a/template/en/default/admin/components/create.html.tmpl
+++ b/template/en/default/admin/components/create.html.tmpl
@@ -26,11 +26,11 @@
#%]
[% title = BLOCK %]Add component to Product '[% product.name FILTER html %]'[% END %]
-[% h2 = BLOCK %]This page allows you to add a new component to product
+[% subheader = BLOCK %]This page allows you to add a new component to product
'[% product.name FILTER html %]'.[% END %]
[% PROCESS global/header.html.tmpl
title = title
- h2 = h2
+ subheader = subheader
%]
<form method="post" action="editcomponents.cgi">
diff --git a/template/en/default/admin/fieldvalues/create.html.tmpl b/template/en/default/admin/fieldvalues/create.html.tmpl
index 2e87af053..635b63d4e 100644
--- a/template/en/default/admin/fieldvalues/create.html.tmpl
+++ b/template/en/default/admin/fieldvalues/create.html.tmpl
@@ -19,11 +19,11 @@
#%]
[% title = BLOCK %]Add Value for the '[% field FILTER html %]' field[% END %]
-[% h2 = BLOCK %]This page allows you to add a new value for the
+[% subheader = BLOCK %]This page allows you to add a new value for the
'[% field FILTER html %]' field.[% END %]
[% PROCESS global/header.html.tmpl
title = title
- h2 = h2
+ subheader = subheader
%]
<form method="post" action="editvalues.cgi">
diff --git a/template/en/default/admin/groups/create.html.tmpl b/template/en/default/admin/groups/create.html.tmpl
index d6422f769..fb255304c 100644
--- a/template/en/default/admin/groups/create.html.tmpl
+++ b/template/en/default/admin/groups/create.html.tmpl
@@ -28,7 +28,7 @@
[% PROCESS global/header.html.tmpl
title = "Add group"
- h2 = "This page allows you to define a new user group."
+ subheader = "This page allows you to define a new user group."
%]
<form method="post" action="editgroups.cgi">
diff --git a/template/en/default/admin/groups/list.html.tmpl b/template/en/default/admin/groups/list.html.tmpl
index ef2c7486b..554ead771 100644
--- a/template/en/default/admin/groups/list.html.tmpl
+++ b/template/en/default/admin/groups/list.html.tmpl
@@ -34,7 +34,7 @@
[% PROCESS global/header.html.tmpl
title = "Edit Groups"
- h2 = "This lets you edit the groups available to put users in."
+ subheader = "This lets you edit the groups available to put users in."
%]
[% edit_contentlink = "editgroups.cgi?action=changeform&amp;group=%%id%%" %]
diff --git a/template/en/default/admin/keywords/create.html.tmpl b/template/en/default/admin/keywords/create.html.tmpl
index 45d97819e..944014548 100755
--- a/template/en/default/admin/keywords/create.html.tmpl
+++ b/template/en/default/admin/keywords/create.html.tmpl
@@ -26,7 +26,7 @@
[% PROCESS global/header.html.tmpl
title = "Add keyword"
- h2 = "This page allows you to add a new keyword."
+ subheader = "This page allows you to add a new keyword."
%]
<form method="post" action="editkeywords.cgi">
diff --git a/template/en/default/admin/milestones/create.html.tmpl b/template/en/default/admin/milestones/create.html.tmpl
index edace52bf..a68a57bb4 100644
--- a/template/en/default/admin/milestones/create.html.tmpl
+++ b/template/en/default/admin/milestones/create.html.tmpl
@@ -25,11 +25,11 @@
#%]
[% title = BLOCK %]Add Milestone to Product '[% product.name FILTER html %]'[% END %]
-[% h2 = BLOCK %]This page allows you to add a new milestone to product
+[% subheader = BLOCK %]This page allows you to add a new milestone to product
'[% product.name FILTER html %]'.[% END %]
[% PROCESS global/header.html.tmpl
title = title
- h2 = h2
+ subheader = subheader
onload = "document.forms['f'].milestone.focus()"
%]
diff --git a/template/en/default/admin/products/edit-common.html.tmpl b/template/en/default/admin/products/edit-common.html.tmpl
index afa15d73c..1a1ecab3f 100644
--- a/template/en/default/admin/products/edit-common.html.tmpl
+++ b/template/en/default/admin/products/edit-common.html.tmpl
@@ -102,12 +102,14 @@
</tr>
<tr [% IF !Param('usevotes') %]class="param_disabled" [% END %]>
<th align="right">
- Number of votes [% terms.abug %] in this product needs to
+ Confirmation threshold:
+ </th>
+ <td>
+ Enter the number of votes [% terms.abug %] in this product needs to
automatically get out of the
<a href="page.cgi?id=fields.html#status">[% status_descs.UNCONFIRMED FILTER html %]</a>
- state:
- </th>
- <td><input size="5" maxlength="5" name="votestoconfirm"
- value="[% product.votestoconfirm FILTER html %]">
+ state.<br>
+ <input size="5" maxlength="5" name="votestoconfirm"
+ value="[% product.votestoconfirm FILTER html %]">
</td>
</tr>
diff --git a/template/en/default/admin/settings/edit.html.tmpl b/template/en/default/admin/settings/edit.html.tmpl
index 8881fc3dc..08a370c6a 100644
--- a/template/en/default/admin/settings/edit.html.tmpl
+++ b/template/en/default/admin/settings/edit.html.tmpl
@@ -55,7 +55,7 @@ page, and the Default Value will automatically apply to everyone.
<th>Preference Text</th>
<th>Default Value</th>
<th>Enabled</th>
- <tr>
+ </tr>
[% FOREACH name = setting_names %]
[% checkbox_name = name _ '-enabled' %]
diff --git a/template/en/default/admin/sudo.html.tmpl b/template/en/default/admin/sudo.html.tmpl
index b35390545..4b7b607e9 100644
--- a/template/en/default/admin/sudo.html.tmpl
+++ b/template/en/default/admin/sudo.html.tmpl
@@ -48,8 +48,9 @@
[% ELSE %]
enter the login of
[% END %]
- the <u>u</u>ser to impersonate:
+ <label for="target_login">the <u>u</u>ser to impersonate</label>:
[% INCLUDE global/userselect.html.tmpl
+ id => "target_login"
name => "target_login"
value => "$target_login_default"
accesskey => "u"
@@ -65,9 +66,10 @@
[% END %]
<p>
- Next, please take a moment to explain why you are doing this:<br>
- <input type="text" name="reason" size="80" maxlength="200" value="
- [%- reason_default FILTER html %]">
+ Next, please take a moment to explain <label for="reason">why you are doing
+ this:<br>
+ <input type="text" id="reason" name="reason" size="80" maxlength="200"
+ value="[% reason_default FILTER html %]">
</p>
<p>
@@ -78,10 +80,12 @@
[% IF user.authorizer.can_login %]
<p>
- Finally, enter your [% terms.Bugzilla %] password:
+ Finally, enter <label for="Bugzilla_password">your [% terms.Bugzilla %]
+ password</label>:
<input type="hidden" name="Bugzilla_login" value="
[%- user.login FILTER html %]">
- <input type="password" name="Bugzilla_password" maxlength="20" size="20">
+ <input type="password" id="Bugzilla_password" name="Bugzilla_password"
+ maxlength="20" size="20">
<br>
This is done for two reasons. First of all, it is done to reduce
the chances of someone doing large amounts of damage using your
diff --git a/template/en/default/admin/versions/create.html.tmpl b/template/en/default/admin/versions/create.html.tmpl
index c421ab12b..5e17cd66e 100644
--- a/template/en/default/admin/versions/create.html.tmpl
+++ b/template/en/default/admin/versions/create.html.tmpl
@@ -25,11 +25,11 @@
#%]
[% title = BLOCK %]Add Version to Product '[% product.name FILTER html %]'[% END %]
-[% h2 = BLOCK %]This page allows you to add a new version to product
+[% subheader = BLOCK %]This page allows you to add a new version to product
'[% product.name FILTER html %]'.[% END %]
[% PROCESS global/header.html.tmpl
title = title
- h2 = h2
+ subheader = subheader
%]
<form method="post" action="editversions.cgi">