summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin
diff options
context:
space:
mode:
authorFateh Sandhu <fatehsandhu@gmail.com>2018-01-02 01:37:23 +0100
committerKohei Yoshino <kohei.yoshino@gmail.com>2018-01-02 01:37:23 +0100
commit37bac7ea1661464624b21f24940cbad625ef056b (patch)
tree7d1ac0308fdc62ddab5a7a948bc488472593aaeb /template/en/default/admin
parente83fa315f72b97c5504e85236623df1f14dddc94 (diff)
downloadbugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.gz
bugzilla-37bac7ea1661464624b21f24940cbad625ef056b.tar.xz
Bug 1426507 - Upgrade BMO to HTML5
Diffstat (limited to 'template/en/default/admin')
-rw-r--r--template/en/default/admin/custom_fields/create.html.tmpl4
-rw-r--r--template/en/default/admin/custom_fields/edit.html.tmpl2
-rw-r--r--template/en/default/admin/params/common.html.tmpl2
-rw-r--r--template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl2
-rw-r--r--template/en/default/admin/users/confirm-delete.html.tmpl6
-rw-r--r--template/en/default/admin/users/create.html.tmpl4
-rw-r--r--template/en/default/admin/users/edit.html.tmpl16
-rw-r--r--template/en/default/admin/users/listselectvars.html.tmpl2
-rw-r--r--template/en/default/admin/users/search.html.tmpl8
-rw-r--r--template/en/default/admin/workflow/comment.html.tmpl2
-rw-r--r--template/en/default/admin/workflow/edit.html.tmpl2
11 files changed, 25 insertions, 25 deletions
diff --git a/template/en/default/admin/custom_fields/create.html.tmpl b/template/en/default/admin/custom_fields/create.html.tmpl
index f89f979fd..41852de03 100644
--- a/template/en/default/admin/custom_fields/create.html.tmpl
+++ b/template/en/default/admin/custom_fields/create.html.tmpl
@@ -32,7 +32,7 @@
%]
[%# set initial editability of fields such as Reverse Relationship Description %]
-<script type="text/javascript">
+<script>
YAHOO.util.Event.onDOMReady(function() {onChangeType(document.getElementById('type'))});
</script>
@@ -108,7 +108,7 @@ YAHOO.util.Event.onDOMReady(function() {onChangeType(document.getElementById('ty
</th>
<td>
<input type="text" id="reverse_desc" name="reverse_desc" value="" size="40" disabled="disabled">
- <br/>
+ <br>
Use this label for the list of [% terms.bugs %] that link to
[%+ terms.abug %] with this
[%+ field_types.${constants.FIELD_TYPE_BUG_ID} FILTER html %]
diff --git a/template/en/default/admin/custom_fields/edit.html.tmpl b/template/en/default/admin/custom_fields/edit.html.tmpl
index 5ce2b7fd5..ab6eeec0c 100644
--- a/template/en/default/admin/custom_fields/edit.html.tmpl
+++ b/template/en/default/admin/custom_fields/edit.html.tmpl
@@ -90,7 +90,7 @@
<td>
<input type="text" id="reverse_desc" name="reverse_desc" size="40"
value="[% field.reverse_desc FILTER html %]">
- <br/>
+ <br>
Use this label for the list of [% terms.bugs %] that link to
[%+ terms.abug %] with this
[%+ field_types.${constants.FIELD_TYPE_BUG_ID} FILTER html %] field.
diff --git a/template/en/default/admin/params/common.html.tmpl b/template/en/default/admin/params/common.html.tmpl
index 6458ba419..4941afa38 100644
--- a/template/en/default/admin/params/common.html.tmpl
+++ b/template/en/default/admin/params/common.html.tmpl
@@ -111,7 +111,7 @@
</tr>
</table>
- <script type="text/javascript">
+ <script>
bz_toggleClass("input_[% param.name FILTER html %]", "bz_default_hidden");
bz_toggleClass("table_[% param.name FILTER html %]", "bz_default_hidden");
</script>
diff --git a/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl b/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl
index 1fc92c928..f9c836980 100644
--- a/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl
+++ b/template/en/default/admin/products/groupcontrol/confirm-edit.html.tmpl
@@ -37,7 +37,7 @@ which the group is newly mandatory and will be added.
group '[% group.name FILTER html %]' impacts [% group.count %]&nbsp;
[% terms.bugs %] for which the group is no longer applicable and will
be removed.[% END %]
-<form action="editproducts.cgi" method="post" >
+<form action="editproducts.cgi" method="post">
[% PROCESS "global/hidden-fields.html.tmpl" exclude="^Bugzilla_(login|password)$" %]
diff --git a/template/en/default/admin/users/confirm-delete.html.tmpl b/template/en/default/admin/users/confirm-delete.html.tmpl
index 8f1a3d2fc..22db6a546 100644
--- a/template/en/default/admin/users/confirm-delete.html.tmpl
+++ b/template/en/default/admin/users/confirm-delete.html.tmpl
@@ -448,9 +448,9 @@
<form method="post" action="editusers.cgi">
<p>
- <input type="submit" id="delete" value="Yes, delete"/>
- <input type="hidden" name="action" value="delete" />
- <input type="hidden" name="userid" value="[% otheruser.id %]" />
+ <input type="submit" id="delete" value="Yes, delete">
+ <input type="hidden" name="action" value="delete">
+ <input type="hidden" name="userid" value="[% otheruser.id %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %]
</p>
diff --git a/template/en/default/admin/users/create.html.tmpl b/template/en/default/admin/users/create.html.tmpl
index 6fd5b67e7..fa1c00097 100644
--- a/template/en/default/admin/users/create.html.tmpl
+++ b/template/en/default/admin/users/create.html.tmpl
@@ -39,8 +39,8 @@
%]
</table>
<p>
- <input type="submit" id="add" value="Add"/>
- <input type="hidden" name="action" value="new" />
+ <input type="submit" id="add" value="Add">
+ <input type="hidden" name="action" value="new">
<input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %]
</p>
diff --git a/template/en/default/admin/users/edit.html.tmpl b/template/en/default/admin/users/edit.html.tmpl
index 64eece345..4eb62e763 100644
--- a/template/en/default/admin/users/edit.html.tmpl
+++ b/template/en/default/admin/users/edit.html.tmpl
@@ -99,7 +99,7 @@ $(function() {
[% %]<input type="checkbox"
name="bless_[% group.id %]"
value="1"
- [% ' checked="checked"' IF perms.directbless %] />
+ [% ' checked="checked"' IF perms.directbless %]>
[% ']' IF perms.indirectbless %]</td>
[% END %]
<td class="checkbox">
@@ -109,7 +109,7 @@ $(function() {
id="group_[% group.id %]"
name="group_[% group.id %]"
value="1"
- [% ' checked="checked"' IF perms.directmember %] />
+ [% ' checked="checked"' IF perms.directmember %]>
[% '*' IF perms.regexpmember %]
[% ']' IF perms.derivedmember %]</td>
<td class="groupname">
@@ -165,9 +165,9 @@ $(function() {
</table>
<p>
- <input type="submit" id="update" value="Save Changes" />
- <input type="hidden" name="userid" value="[% otheruser.id %]" />
- <input type="hidden" name="action" value="update" />
+ <input type="submit" id="update" value="Save Changes">
+ <input type="hidden" name="userid" value="[% otheruser.id %]">
+ <input type="hidden" name="action" value="update">
<input type="hidden" name="token" value="[% token FILTER html %]">
[% INCLUDE listselectionhiddenfields %]
@@ -199,9 +199,9 @@ $(function() {
[% IF Param('allowuserdeletion') && editusers %]
<form method="post" action="editusers.cgi">
<p>
- <input type="submit" id="delete" value="Delete User" />
- <input type="hidden" name="action" value="del" />
- <input type="hidden" name="userid" value="[% otheruser.id %]" />
+ <input type="submit" id="delete" value="Delete User">
+ <input type="hidden" name="action" value="del">
+ <input type="hidden" name="userid" value="[% otheruser.id %]">
[% INCLUDE listselectionhiddenfields %]
</p>
</form>
diff --git a/template/en/default/admin/users/listselectvars.html.tmpl b/template/en/default/admin/users/listselectvars.html.tmpl
index a2be91d7a..a1ed38939 100644
--- a/template/en/default/admin/users/listselectvars.html.tmpl
+++ b/template/en/default/admin/users/listselectvars.html.tmpl
@@ -28,6 +28,6 @@
[% BLOCK listselectionhiddenfields %]
[% FOREACH field = listselectionvalues.keys %]
<input type="hidden" name="[% field FILTER html %]"
- value="[% listselectionvalues.$field FILTER html %]" />
+ value="[% listselectionvalues.$field FILTER html %]">
[% END %]
[% END %]
diff --git a/template/en/default/admin/users/search.html.tmpl b/template/en/default/admin/users/search.html.tmpl
index 36ca48ed8..b9dbccb36 100644
--- a/template/en/default/admin/users/search.html.tmpl
+++ b/template/en/default/admin/users/search.html.tmpl
@@ -35,7 +35,7 @@
%]
<form name="f" method="get" action="editusers.cgi">
-<input type="hidden" name="action" value="list" />
+<input type="hidden" name="action" value="list">
<p><label for="matchvalue">List users with</label>
<select id="matchvalue" name="matchvalue">
<option value="login_name">login name</option>
@@ -43,17 +43,17 @@
<option value="userid">user id</option>
</select>
<label for="matchstr">matching</label>
-<input size="32" name="matchstr" id="matchstr" />
+<input size="32" name="matchstr" id="matchstr">
<select name="matchtype">
<option value="substr" selected="selected">case-insensitive substring</option>
<option value="regexp">case-insensitive regexp</option>
<option value="notregexp">not (case-insensitive regexp)</option>
<option value="exact">exact (find this user)</option>
</select>
-<input type="submit" id="search" value="Search" /></p>
+<input type="submit" id="search" value="Search"></p>
[% IF restrictablegroups.size %]
- <p><input type="checkbox" name="grouprestrict" value="1" id="grouprestrict" />
+ <p><input type="checkbox" name="grouprestrict" value="1" id="grouprestrict">
<label for="grouprestrict">Restrict to users belonging to group</label>
<select name="groupid"
onchange="document.forms['f'].grouprestrict.checked=true">
diff --git a/template/en/default/admin/workflow/comment.html.tmpl b/template/en/default/admin/workflow/comment.html.tmpl
index 109d98bc2..9b447f777 100644
--- a/template/en/default/admin/workflow/comment.html.tmpl
+++ b/template/en/default/admin/workflow/comment.html.tmpl
@@ -21,7 +21,7 @@
style_urls = ['skins/standard/admin.css']
%]
-<script type="text/javascript">
+<script>
<!--
function toggle_cell(cell) {
if (cell.checked)
diff --git a/template/en/default/admin/workflow/edit.html.tmpl b/template/en/default/admin/workflow/edit.html.tmpl
index 5f2b21263..5646c294d 100644
--- a/template/en/default/admin/workflow/edit.html.tmpl
+++ b/template/en/default/admin/workflow/edit.html.tmpl
@@ -21,7 +21,7 @@
style_urls = ['skins/standard/admin.css']
%]
-<script type="text/javascript">
+<script>
<!--
function toggle_cell(cell) {
if (cell.checked)