From: Frédéric Buclin Date: Tue, 7 Jan 2014 19:26:08 +0000 (+0100) Subject: Bug 952796: Remove HTML attributes which are obsolete in HTML5 X-Git-Tag: bugzilla-4.5.2~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98446d4f4473c2c06515ea606cd6643b13092e0c;p=thirdparty%2Fbugzilla.git Bug 952796: Remove HTML attributes which are obsolete in HTML5 r/a=justdave --- diff --git a/skins/standard/attachment.css b/skins/standard/attachment.css index b08cb61362..ebc52c651f 100644 --- a/skins/standard/attachment.css +++ b/skins/standard/attachment.css @@ -48,6 +48,18 @@ table#flags td { background-color: #f0f0f0; border: 1px solid black; text-align: left; + padding: 0.2em; +} + +.section_head .link_here { + float: right; + padding-left: 1em; + padding-right: 0.5em; +} + +.lines_count a { + padding-left: 0.5em; + padding-right: 1em; } table.file_table { diff --git a/skins/standard/global.css b/skins/standard/global.css index 05a111428d..cd89be4f36 100644 --- a/skins/standard/global.css +++ b/skins/standard/global.css @@ -211,7 +211,7 @@ border-color: black; border-width: 0px 0px 2px 0px; } - + .tabs td.selected { background: white; border-width: 2px 2px 0px 2px; @@ -634,8 +634,8 @@ input.required, select.required, span.required_explanation { .calendar_button span { display: none } /* These classes are set by YUI. */ .yui-calcontainer { - display: none; - background-color: white; + display: none; + background-color: white; padding: 10px; border: 1px solid #404D6C; } diff --git a/template/en/default/account/create.html.tmpl b/template/en/default/account/create.html.tmpl index 21b19b0ee5..9ac79ba452 100644 --- a/template/en/default/account/create.html.tmpl +++ b/template/en/default/account/create.html.tmpl @@ -53,7 +53,7 @@ existing ones, as you may be contacted for more information if needed. This also lets other users clearly identify who is the author of comments or changes made into [% terms.bugs %]. Note that your email address will - never be displayed to logged out users. Only registered users will be + never be displayed to logged out users. Only registered users will be able to see it.

diff --git a/template/en/default/account/email/confirm-new.html.tmpl b/template/en/default/account/email/confirm-new.html.tmpl index 8b12b79f1f..45ef5c81c9 100644 --- a/template/en/default/account/email/confirm-new.html.tmpl +++ b/template/en/default/account/email/confirm-new.html.tmpl @@ -55,7 +55,7 @@

This account will not be created if this form is not completed by - [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %]. + [% expiration_ts FILTER time("%B %e, %Y at %H:%M %Z") %].

diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl index 1eeb4c7216..0524841743 100644 --- a/template/en/default/account/prefs/email.html.tmpl +++ b/template/en/default/account/prefs/email.html.tmpl @@ -209,8 +209,8 @@ function SetCheckboxes(setting) {

If you watch a user, it is as if you are standing in their shoes for the -purposes of getting email. Email is sent or not according to your -preferences for their relationship to the [% terms.bug %] +purposes of getting email. Email is sent or not according to your +preferences for their relationship to the [% terms.bug %] (e.g. Assignee).

diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl index 2c560f5b69..4681299dda 100644 --- a/template/en/default/account/prefs/prefs.html.tmpl +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -85,16 +85,10 @@ [% IF current_tab.saveable %] - [% UNLESS dont_show_button %] - - - - - -
  - -
+

+ +

[% END %] [% END %] diff --git a/template/en/default/admin/users/confirm-delete.html.tmpl b/template/en/default/admin/users/confirm-delete.html.tmpl index 73a72d08d3..20100a86bd 100644 --- a/template/en/default/admin/users/confirm-delete.html.tmpl +++ b/template/en/default/admin/users/confirm-delete.html.tmpl @@ -441,9 +441,9 @@

- - - + + + [% INCLUDE listselectionhiddenfields %]

diff --git a/template/en/default/admin/users/create.html.tmpl b/template/en/default/admin/users/create.html.tmpl index 354ba5f2da..1ca2eb791d 100644 --- a/template/en/default/admin/users/create.html.tmpl +++ b/template/en/default/admin/users/create.html.tmpl @@ -32,8 +32,8 @@ %]

- - + + [% INCLUDE listselectionhiddenfields %]

diff --git a/template/en/default/admin/users/edit.html.tmpl b/template/en/default/admin/users/edit.html.tmpl index e301ed21e3..3f4fb76b9a 100644 --- a/template/en/default/admin/users/edit.html.tmpl +++ b/template/en/default/admin/users/edit.html.tmpl @@ -65,7 +65,7 @@ [% %] + [% ' checked="checked"' IF perms.directbless %]> [% ']' IF perms.indirectbless %] [% END %] @@ -75,7 +75,7 @@ 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 %] @@ -115,9 +115,9 @@

- - - + + + [% INCLUDE listselectionhiddenfields %] @@ -143,9 +143,9 @@ [% IF Param('allowuserdeletion') && editusers %]

- - - + + + [% INCLUDE listselectionhiddenfields %]

diff --git a/template/en/default/admin/users/listselectvars.html.tmpl b/template/en/default/admin/users/listselectvars.html.tmpl index bd03113d5c..d738b254cc 100644 --- a/template/en/default/admin/users/listselectvars.html.tmpl +++ b/template/en/default/admin/users/listselectvars.html.tmpl @@ -21,6 +21,6 @@ [% BLOCK listselectionhiddenfields %] [% FOREACH field = listselectionvalues.keys %] + 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 55b7300a61..a1bc2809c0 100644 --- a/template/en/default/admin/users/search.html.tmpl +++ b/template/en/default/admin/users/search.html.tmpl @@ -27,7 +27,7 @@ %]
- +

- + -

+ +

[% IF restrictablegroups.size %] -

+

+ [% IF editform %] [% IF !otheruser.in_group('bz_sudo_protect') %] -
+
Impersonate this user [% END %] @@ -52,9 +52,8 @@ [% IF editusers %] - + [% ELSE %] [% otheruser.name FILTER html %] [% END %] @@ -72,7 +71,7 @@ + value="" autocomplete="off"> [% IF password_complexity == "mixed_letters" %] (Password must contain at least one UPPER and one lowercase letter.) [% ELSIF password_complexity == "letters_numbers" %] @@ -80,7 +79,7 @@ [% ELSIF password_complexity == "letters_numbers_specialchars" %] (Password must contain at least one letter, a number and a special character.) [% END %] - [% IF editform %]
+ [% IF editform %]
(Enter new password to change.) [% END %] diff --git a/template/en/default/attachment/diff-file.html.tmpl b/template/en/default/attachment/diff-file.html.tmpl index cf2aadde6b..38c51725b3 100644 --- a/template/en/default/attachment/diff-file.html.tmpl +++ b/template/en/default/attachment/diff-file.html.tmpl @@ -43,36 +43,37 @@ incremental_restore() [% section_num = 0 %] [% FOREACH section = sections %] [% section_num = section_num + 1 %] - - -
- [% IF file.is_add %] - Added - [% ELSIF file.is_remove %] - [% IF bonsai_prefix %] - Removed - [% ELSE %] - Removed - [% END %] - [% ELSE %] - [% IF bonsai_prefix %] - - [% END %] - [% IF section.old_lines > 1 %] -  Lines [% section.old_start %]-[% section.old_start + - section.old_lines - 1 %] - [% ELSE %] - Line [% section.old_start %] - [% END %] - [% IF bonsai_prefix %] - - [% END %] -   [% section.func_info FILTER html IF section.func_info %] - [% END %] - - Link Here  -
- + + + + [% IF file.is_add %] + Added + [% ELSIF file.is_remove %] + [% IF bonsai_prefix %] + Removed + [% ELSE %] + Removed + [% END %] + [% ELSE %] + [% IF bonsai_prefix %] + + [% END %] + [% IF section.old_lines > 1 %] + Lines [% section.old_start %]-[% section.old_start + section.old_lines - 1 %] + [% ELSE %] + Line [% section.old_start %] + [% END %] + [% IF bonsai_prefix %] + + [% END %] + [%+ section.func_info FILTER html IF section.func_info %] + [% END %] + + + Link Here + + + [% current_line_old = section.old_start %] [% current_line_new = section.new_start %] [% FOREACH group = section.groups %] diff --git a/template/en/default/bug/summarize-time.html.tmpl b/template/en/default/bug/summarize-time.html.tmpl index f65ca088f6..3865c02a25 100644 --- a/template/en/default/bug/summarize-time.html.tmpl +++ b/template/en/default/bug/summarize-time.html.tmpl @@ -61,7 +61,7 @@ [% IF monthly %]

Total of [% global.grand_total FILTER format("%.2f") %] hours worked

-
+
[% END %] [% IF null.size > 0 %] diff --git a/template/en/default/email/bugmail.html.tmpl b/template/en/default/email/bugmail.html.tmpl index 1a604b3b16..9473a4459e 100644 --- a/template/en/default/email/bugmail.html.tmpl +++ b/template/en/default/email/bugmail.html.tmpl @@ -11,7 +11,7 @@ [% isnew = bug.lastdiffed ? 0 : 1 %] - + [% Hook.process('start') %] diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index cc340d28bb..9c6cb95cbc 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -289,7 +289,7 @@ [% IF user.is_insider %] + onClick="updateCommentTagControl(this, form)">