diff options
Diffstat (limited to 'extensions')
48 files changed, 79 insertions, 81 deletions
diff --git a/extensions/AntiSpam/template/en/default/hook/admin/admin-end_links_right.html.tmpl b/extensions/AntiSpam/template/en/default/hook/admin/admin-end_links_right.html.tmpl index e55475d98..2bca45d07 100644 --- a/extensions/AntiSpam/template/en/default/hook/admin/admin-end_links_right.html.tmpl +++ b/extensions/AntiSpam/template/en/default/hook/admin/admin-end_links_right.html.tmpl @@ -7,7 +7,7 @@ #%] [% IF user.in_group('can_configure_antispam') %] - <dt id="antispam" >AntiSpam</dt> + <dt id="antispam">AntiSpam</dt> <dd> <a href="page.cgi?id=edit_table.html&table=antispam_domain_blocklist">Domain Blocklist</a><br> <a href="page.cgi?id=edit_table.html&table=antispam_comment_blocklist">Comment Blocklist</a><br> diff --git a/extensions/BMO/template/en/default/account/create.html.tmpl b/extensions/BMO/template/en/default/account/create.html.tmpl index 29eb40244..d29303104 100644 --- a/extensions/BMO/template/en/default/account/create.html.tmpl +++ b/extensions/BMO/template/en/default/account/create.html.tmpl @@ -38,7 +38,7 @@ style_urls = [ 'extensions/BMO/web/styles/create_account.css' ] %] -<script type="text/javascript"> +<script> function onSubmit() { var email = document.getElementById('login').value; var agreed = document.getElementById('etiquette').checked; diff --git a/extensions/BMO/template/en/default/bug/create/create-automative.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-automative.html.tmpl index 413532f3f..a29f1f4f2 100644 --- a/extensions/BMO/template/en/default/bug/create/create-automative.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-automative.html.tmpl @@ -182,7 +182,7 @@ function validateAndSubmit() { <span>Calendar</span> </button> <div id="con_calendar_prototype_date"></div> - <script type="text/javascript"> + <script> createCalendar('prototype_date') </script> </div> @@ -200,7 +200,7 @@ function validateAndSubmit() { <span>Calendar</span> </button> <div id="con_calendar_production_date"></div> - <script type="text/javascript"> + <script> createCalendar('production_date') </script> </div> diff --git a/extensions/BMO/template/en/default/bug/create/create-client-bounty.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-client-bounty.html.tmpl index 799b2b35b..0f1a000af 100644 --- a/extensions/BMO/template/en/default/bug/create/create-client-bounty.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-client-bounty.html.tmpl @@ -175,7 +175,7 @@ function validateAndSubmit() { information showing symbols and error conditions. </div> <input type="file" id="data" name="data" size="50"> - <input type="hidden" name="contenttypemethod" value="autodetect" /> + <input type="hidden" name="contenttypemethod" value="autodetect"> <input type="hidden" id="description" name="description"> </div> diff --git a/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl index 8825344a3..13620d1c4 100644 --- a/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-creative.html.tmpl @@ -209,7 +209,7 @@ function toggleTypeOther(element) { <span>Calendar</span> </button> <div id="con_calendar_launch_date"></div> - <script type="text/javascript"> + <script> createCalendar('launch_date') </script> </div> diff --git a/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl index ed4b795b7..6ce6226b5 100644 --- a/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-doc.html.tmpl @@ -105,7 +105,7 @@ function validateAndSubmit() { <th>Possible<br>Duplicates:</th> <td colspan="3"> <div id="possible_duplicates"></div> - <script type="text/javascript"> + <script> var dt_columns = [ { key: "id", label: "[% field_descs.bug_id FILTER js %]", formatter: YAHOO.bugzilla.dupTable.formatBugLink }, diff --git a/extensions/BMO/template/en/default/bug/create/create-fsa-budget.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-fsa-budget.html.tmpl index 502f92c32..942b37afa 100644 --- a/extensions/BMO/template/en/default/bug/create/create-fsa-budget.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-fsa-budget.html.tmpl @@ -139,7 +139,7 @@ function validateAndSubmit() { <span>Calendar</span> </button> <div id="con_calendar_cf_due_date"></div> - <script type="text/javascript"> + <script> createCalendar('cf_due_date') </script> </div> diff --git a/extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl index 9c04abc7e..5c49003c9 100644 --- a/extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-intern.html.tmpl @@ -125,19 +125,19 @@ $(document).ready(function() { <input type="hidden" name="created-format" value="intern"> <input type="hidden" name="token" value="[% token FILTER html %]"> <input type="hidden" id="description" name="description" value="Job Description"> - <input type="hidden" name="contenttypemethod" value="autodetect" /> + <input type="hidden" name="contenttypemethod" value="autodetect"> [% IF user.in_group('canconfirm') %] <input type="hidden" name="bug_status" value="NEW"> [% END %] <div class="row"> <label class="required" for="hiring_manager_name">Hiring Manager Name</label> - <input required name="hiring_manager_name" id="hiring_manager_name" size="60" > + <input required name="hiring_manager_name" id="hiring_manager_name" size="60"> </div> <div class="row"> <label class="required" for="team_name">Team</label> - <input required name="team_name" id="team_name" size="60" > + <input required name="team_name" id="team_name" size="60"> </div> <div class="row"> @@ -258,8 +258,7 @@ $(document).ready(function() { </label> <textarea required name="job_description" id="job_description" cols="80" rows="10" - placeholder="Please add link to Mana or copy and paste a JD. (if you are looking for multiple types interns please include a job description for each)" - ></textarea> + placeholder="Please add link to Mana or copy and paste a JD. (if you are looking for multiple types interns please include a job description for each)"></textarea> </div> <div class="row"> diff --git a/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl index 2a81b45bd..ef452c67f 100644 --- a/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-itrequest.html.tmpl @@ -194,7 +194,7 @@ <td colspan="3"> <em>Enter the path to the file on your computer.</em><br> <input type="file" id="data" name="data" size="50"> - <input type="hidden" name="contenttypemethod" value="autodetect" /> + <input type="hidden" name="contenttypemethod" value="autodetect"> </td> </tr> diff --git a/extensions/BMO/template/en/default/bug/create/create-legal.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-legal.html.tmpl index bc8356c7b..d93e512b2 100644 --- a/extensions/BMO/template/en/default/bug/create/create-legal.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-legal.html.tmpl @@ -83,7 +83,7 @@ label.required:before { <input type="hidden" name="priority" value="--"> <input type="hidden" name="bug_severity" value="normal"> <input type="hidden" name="format" value="legal"> - <input type="hidden" name="contenttypemethod" value="autodetect" /> + <input type="hidden" name="contenttypemethod" value="autodetect"> <input type="hidden" name="token" value="[% token FILTER html %]"> [% IF user.in_group('canconfirm') %] <input type="hidden" name="bug_status" value="NEW"> diff --git a/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl index 0fbce708b..ab03523ae 100644 --- a/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-mozlist.html.tmpl @@ -16,7 +16,7 @@ style = ".mandatory{color:red;font-size:80%;}" %] -<script type="text/javascript"> +<script> <!-- function trySubmit() { var alert_text = ""; diff --git a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl index 975006232..2d590fcfc 100644 --- a/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-mozpr.html.tmpl @@ -327,7 +327,7 @@ function validate_form() { <span>Calendar</span> </button> <div id="con_calendar_start_date"></div> - <script type="text/javascript"> + <script> createCalendar('start_date') </script> </div> @@ -341,7 +341,7 @@ function validate_form() { <span>Calendar</span> </button> <div id="con_calendar_announce_date"></div> - <script type="text/javascript"> + <script> createCalendar('announce_date') </script> </div> @@ -355,7 +355,7 @@ function validate_form() { <span>Calendar</span> </button> <div id="con_calendar_cf_due_date"></div> - <script type="text/javascript"> + <script> createCalendar('cf_due_date') </script> </div> diff --git a/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl index 1a8f6aeb4..246467caa 100644 --- a/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-recruiting.html.tmpl @@ -90,7 +90,7 @@ function jobDescToggle(what) { <input type="hidden" name="created-format" value="recruiting"> <input type="hidden" name="token" value="[% token FILTER html %]"> <input type="hidden" id="description" name="description" value="Job Description"> - <input type="hidden" name="contenttypemethod" value="autodetect" /> + <input type="hidden" name="contenttypemethod" value="autodetect"> [% IF user.in_group('canconfirm') %] <input type="hidden" name="bug_status" value="NEW"> [% END %] @@ -125,7 +125,7 @@ function jobDescToggle(what) { <label class="required" for="hiring_manager_name">Hiring Manager Name:</label> </th> <td> - <input required name="hiring_manager_name" id="hiring_manager_name" size="60" > + <input required name="hiring_manager_name" id="hiring_manager_name" size="60"> </td> </tr> @@ -134,7 +134,7 @@ function jobDescToggle(what) { <label class="required" for="hiring_manager_workday_title">Hiring Manager Workday Title:</label> </th> <td> - <input required name="hiring_manager_workday_title" id="hiring_manager_workday_title" size="60" > + <input required name="hiring_manager_workday_title" id="hiring_manager_workday_title" size="60"> </td> </tr> @@ -143,7 +143,7 @@ function jobDescToggle(what) { <label class="required" for="director_authority">Director Authority:</label> </th> <td> - <input required name="director_authority" id="director_authority" size="60" > + <input required name="director_authority" id="director_authority" size="60"> </td> </tr> diff --git a/extensions/BMO/template/en/default/bug/create/create-third-party-apps.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-third-party-apps.html.tmpl index d98521c8f..b6173e6e4 100644 --- a/extensions/BMO/template/en/default/bug/create/create-third-party-apps.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-third-party-apps.html.tmpl @@ -82,7 +82,7 @@ <input type="hidden" name="version" value="unspecified"> <input type="hidden" name="comment" id="comment" value=""> <input type="hidden" name="status_whiteboard" id="status_whiteboard" value=""> -<input type="hidden" name="contenttypemethod" value="autodetect" /> +<input type="hidden" name="contenttypemethod" value="autodetect"> <input type="hidden" name="token" value="[% token FILTER html %]"> <div class="form_section"> diff --git a/extensions/BMO/template/en/default/bug/create/create-user-engagement.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-user-engagement.html.tmpl index f15e4f47d..7df624700 100644 --- a/extensions/BMO/template/en/default/bug/create/create-user-engagement.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-user-engagement.html.tmpl @@ -166,7 +166,7 @@ function toggleGoalOther() { <span>Calendar</span> </button> <div id="con_calendar_timing_date"></div> - <script type="text/javascript"> + <script> createCalendar('timing_date') </script> </div> diff --git a/extensions/BMO/template/en/default/bug/create/create-web-bounty.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-web-bounty.html.tmpl index 2446bbd2b..92517cb80 100644 --- a/extensions/BMO/template/en/default/bug/create/create-web-bounty.html.tmpl +++ b/extensions/BMO/template/en/default/bug/create/create-web-bounty.html.tmpl @@ -127,7 +127,7 @@ function validateAndSubmit() { reproduction purposes. </div> <input type="file" id="data" name="data" size="50"> - <input type="hidden" name="contenttypemethod" value="autodetect" /> + <input type="hidden" name="contenttypemethod" value="autodetect"> <div class="field_desc"> <label for="description">Description</label> </div> diff --git a/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl b/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl index d2258eccb..5486684f1 100644 --- a/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl +++ b/extensions/BMO/template/en/default/hook/admin/products/edit-common-rows.html.tmpl @@ -30,7 +30,7 @@ <span id="security_group_warning" style="color:red; display:none;"> This security group needs to be set to SHOWN/SHOWN </span> - <script type="text/javascript"> + <script> var toggleGroupWarning = function() { var correct_shown = $('#security_group_id option:selected').data('group-correct-visibility'); if ($('#security_group_id').val() === '' || correct_shown) { diff --git a/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl b/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl index 60159fcb2..c66a02371 100644 --- a/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl +++ b/extensions/BMO/template/en/default/hook/attachment/edit-view.html.tmpl @@ -35,7 +35,7 @@ [% attachment_data FILTER html %] </pre> [% IF user.id %] - <script type="text/javascript"> + <script> <!-- var patchviewerinstalled = 0; document.write('<button type="button" id="editButton" onclick="editAsComment(patchviewerinstalled);">Edit Attachment As Comment<\/button>'); diff --git a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl index 5260a6c7a..6e15e50d3 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl @@ -7,7 +7,7 @@ #%] [%# Display product and component descriptions after their respective fields %] -<script type="text/javascript"> +<script> var Event = YAHOO.util.Event; var Dom = YAHOO.util.Dom; Event.onDOMReady(function() { diff --git a/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl index ff7740f93..f597716c7 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-after_op_sys.html.tmpl @@ -39,7 +39,7 @@ </button> [% END %] -<script [% script_nonce FILTER none %] type="text/javascript"> +<script [% script_nonce FILTER none %]> $('#rep_hw_os').click(function() { $('#rep_platform').val('[% hw_os.0 FILTER js FILTER html %]'); $('#op_sys').val('[% hw_os.1 FILTER js FILTER html %]'); diff --git a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl index 3e01585ad..31669f47f 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-custom_field.html.tmpl @@ -45,7 +45,7 @@ id = field.name name = field.name minrows = 4 maxrows = 8 cols = 60 defaultcontent = value %] </div> - <script type="text/javascript"> + <script> hideEditableField('[% field.name FILTER js %]_edit_container', '[% field.name FILTER js %]_input', '[% field.name FILTER js %]_edit_action', diff --git a/extensions/BMO/template/en/default/pages/attachment_bounty_form.html.tmpl b/extensions/BMO/template/en/default/pages/attachment_bounty_form.html.tmpl index ffbb1acbc..a538e9347 100644 --- a/extensions/BMO/template/en/default/pages/attachment_bounty_form.html.tmpl +++ b/extensions/BMO/template/en/default/pages/attachment_bounty_form.html.tmpl @@ -162,7 +162,7 @@ function validateAndSubmit() { <span>Calendar</span> </button> <div id="con_calendar_reported_date"></div> - <script type="text/javascript"> + <script> createCalendar('reported_date') </script> </div> @@ -177,7 +177,7 @@ function validateAndSubmit() { <span>Calendar</span> </button> <div id="con_calendar_fixed_date"></div> - <script type="text/javascript"> + <script> createCalendar('fixed_date') </script> </div> @@ -192,7 +192,7 @@ function validateAndSubmit() { <span>Calendar</span> </button> <div id="con_calendar_awarded_date"></div> - <script type="text/javascript"> + <script> createCalendar('awarded_date') </script> </div> diff --git a/extensions/BMO/template/en/default/pages/user_activity.html.tmpl b/extensions/BMO/template/en/default/pages/user_activity.html.tmpl index c0a8674a8..33aa27e3d 100644 --- a/extensions/BMO/template/en/default/pages/user_activity.html.tmpl +++ b/extensions/BMO/template/en/default/pages/user_activity.html.tmpl @@ -83,7 +83,7 @@ [% END %] </form> -<script type="text/javascript"> +<script> createCalendar('from'); createCalendar('to'); </script> diff --git a/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl b/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl index 08d3dde6f..32cb55ea1 100644 --- a/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl +++ b/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl @@ -8,7 +8,7 @@ <link href="[% "extensions/BugmailFilter/web/style/bugmail-filter.css" FILTER version %]" rel="stylesheet" type="text/css"> -<script type="text/javascript" +<script src="[% "extensions/BugmailFilter/web/js/bugmail-filter.js" FILTER version %]"></script> [% SET selectable_products = user.get_selectable_products %] @@ -26,7 +26,7 @@ var cpts = new Array(); [% n = n + 1 %] [% END %] </script> -<script type="text/javascript" src="[% 'js/productform.js' FILTER version FILTER html %]"> +<script src="[% 'js/productform.js' FILTER version FILTER html %]"> </script> <hr> diff --git a/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl b/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl index 6467836f8..b70a46b35 100644 --- a/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl +++ b/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl @@ -44,7 +44,7 @@ var watch_users = new Array(); [% END %] [% END %] </script> -<script type="text/javascript" src="[% 'js/productform.js' FILTER version FILTER html %]"> +<script src="[% 'js/productform.js' FILTER version FILTER html %]"> </script> <script> diff --git a/extensions/FlagDefaultRequestee/template/en/default/flag/default_requestees.html.tmpl b/extensions/FlagDefaultRequestee/template/en/default/flag/default_requestees.html.tmpl index db728c168..08f90b8d4 100644 --- a/extensions/FlagDefaultRequestee/template/en/default/flag/default_requestees.html.tmpl +++ b/extensions/FlagDefaultRequestee/template/en/default/flag/default_requestees.html.tmpl @@ -7,7 +7,7 @@ #%] [% IF flag_default_requestees.keys.size %] - <script type="text/javascript"> + <script> var currently_requested = new Array(); var default_requestees = new Array(); [% FOREACH id = flag_currently_requested.keys %] diff --git a/extensions/FlagTypeComment/template/en/default/flag/type_comment.html.tmpl b/extensions/FlagTypeComment/template/en/default/flag/type_comment.html.tmpl index 95c0cb283..7cadbdca5 100644 --- a/extensions/FlagTypeComment/template/en/default/flag/type_comment.html.tmpl +++ b/extensions/FlagTypeComment/template/en/default/flag/type_comment.html.tmpl @@ -21,7 +21,7 @@ #%] [% IF ftc_flags.keys.size %] - <script type="text/javascript"> + <script> YAHOO.util.Event.onDOMReady(function() { var selects = YAHOO.util.Dom.getElementsByClassName('flag_select'); for (var i = 0; i < selects.length; i++) { diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl index 6d3d6ddd8..b9cfa6fbf 100644 --- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl +++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl @@ -32,7 +32,7 @@ Please use the <a href="enter_bug.cgi?format=__default__">advanced [% terms.bug <div id="loading" class="hidden"> Please wait... </div> -<script type="text/javascript"> +<script> YAHOO.util.Dom.removeClass('loading', 'hidden'); </script> @@ -50,7 +50,7 @@ YAHOO.util.Dom.removeClass('loading', 'hidden'); <a id="advanced_link" href="enter_bug.cgi?format=__default__">Switch to the advanced [% terms.bug %] entry form</a> </div> -<script type="text/javascript"> +<script> YAHOO.util.Dom.addClass('loading', 'hidden'); guided.init({ webdev: [% webdev ? "true" : "false" %] }); guided.currentUser = '[% user.login FILTER js %]'; @@ -69,7 +69,7 @@ dupes.setLabels( } ); </script> -<script type="text/javascript" src="page.cgi?id=guided_products.js[% "&format_forced=1" IF format_forced %]"></script> +<script src="page.cgi?id=guided_products.js[% "&format_forced=1" IF format_forced %]"></script> [% PROCESS global/footer.html.tmpl %] [%############################################################################%] @@ -170,7 +170,7 @@ Other Mozilla products which aren't listed here onclick="product.select('[% name FILTER js %]')" [% END %]> <span class="product-item"> - <img src="extensions/BMO/web/producticons/[% icon FILTER uri %]" class="product-icon" > + <img src="extensions/BMO/web/producticons/[% icon FILTER uri %]" class="product-icon"> <a href="javascript:void(0)">[% caption FILTER html %]</a> <p> [% IF content %] @@ -236,9 +236,8 @@ Other Mozilla products which aren't listed here <tr> <td> <div class="exit_img"> - <a href="https://support.mozilla.org/" - ><img src="extensions/GuidedBugEntry/web/images/support.png" width="32" height="32" - ></a> + <a href="https://support.mozilla.org/"> + <img src="extensions/GuidedBugEntry/web/images/support.png" width="32" height="32"></a> </div> </td> <td class="exit_text"> @@ -249,9 +248,9 @@ Other Mozilla products which aren't listed here <tr> <td> <div class="exit_img"> - <a href="https://input.mozilla.org/feedback/" - ><img src="extensions/GuidedBugEntry/web/images/input.png" width="32" height="32" - ></a> + <a href="https://input.mozilla.org/feedback/"> + <img src="extensions/GuidedBugEntry/web/images/input.png" width="32" height="32"> + </a> </div> </td> <td class="exit_text"> diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl index 028d1b9b0..e07edbc83 100644 --- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl @@ -74,7 +74,7 @@ </div> </script> -<script type="text/javascript"> +<script> [% IF Param('splinter_base') %] MyDashboard.splinter_base = '[% Bugzilla.splinter_review_base FILTER js %]'; [% END %] diff --git a/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl b/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl index b14de653a..22ee41af6 100644 --- a/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl +++ b/extensions/Needinfo/template/en/default/hook/attachment/edit-after_comment_textarea.html.tmpl @@ -9,7 +9,7 @@ [% PROCESS bug/needinfo.html.tmpl bug => attachment.bug %] -<script type="text/javascript"> +<script> document.getElementById('editButton').addEventListener('click', function() { document.getElementById('attachment_view_window') .appendChild(document.getElementById('needinfo_container')); diff --git a/extensions/Persona/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl b/extensions/Persona/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl index 17a86a71d..364d1528f 100644 --- a/extensions/Persona/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl +++ b/extensions/Persona/template/en/default/hook/account/auth/login-small-additional_methods.html.tmpl @@ -1,6 +1,6 @@ [% IF Param('user_info_class').split(',').contains('Persona') && Param('persona_includejs_url') %] -<script [% script_nonce FILTER none %] type="text/javascript"> +<script [% script_nonce FILTER none %]> YAHOO.util.Event.addListener('login_link[% qs_suffix FILTER js %]','click', function () { var login_link = YAHOO.util.Dom.get('persona_mini_login[% qs_suffix FILTER js %]'); YAHOO.util.Dom.removeClass(login_link, 'bz_default_hidden'); diff --git a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl index 12282df16..f60bd36db 100644 --- a/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl +++ b/extensions/Persona/template/en/default/hook/global/header-additional_header.html.tmpl @@ -17,8 +17,8 @@ [% USE Bugzilla %] [% cgi = Bugzilla.cgi %] -<script [% script_nonce FILTER none %] defer src="[% Param('persona_includejs_url') %]" type="text/javascript"></script> -<script [% script_nonce FILTER none %] type="text/javascript"> +<script [% script_nonce FILTER none %] defer src="[% Param('persona_includejs_url') %]"></script> +<script [% script_nonce FILTER none %]> function createHidden(name, value, form) { var field = document.createElement('input'); diff --git a/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl b/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl index 571fbb0e1..62f45d568 100644 --- a/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl +++ b/extensions/REMO/template/en/default/bug/create/create-remo-budget.html.tmpl @@ -23,7 +23,7 @@ any persons designated in the CC line, and authorized members of the Mozilla Rep team.</p> -<script language="javascript" type="text/javascript"> +<script> function trySubmit() { var firstname = document.getElementById('firstname').value; var lastname = document.getElementById('lastname').value; @@ -135,7 +135,7 @@ function validateAndSubmit() { <span>Calendar</span> </button> <div id="con_calendar_cf_due_date"></div> - <script type="text/javascript"> + <script> createCalendar('cf_due_date') </script> </td> diff --git a/extensions/REMO/template/en/default/bug/create/create-remo-it.html.tmpl b/extensions/REMO/template/en/default/bug/create/create-remo-it.html.tmpl index aeea160a4..10f65de39 100644 --- a/extensions/REMO/template/en/default/bug/create/create-remo-it.html.tmpl +++ b/extensions/REMO/template/en/default/bug/create/create-remo-it.html.tmpl @@ -17,7 +17,7 @@ [% USE Bugzilla %] [% mandatory = '<span class="mandatory" title="Required">*</span>' %] -<script type="text/javascript"> +<script> var Dom = YAHOO.util.Dom; function mandatory(elements) { diff --git a/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl b/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl index 85f21cf33..bc7c0d146 100644 --- a/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl +++ b/extensions/REMO/template/en/default/bug/create/create-remo-swag.html.tmpl @@ -27,7 +27,7 @@ <p>These requests will only be visible to the person who submitted the request, any persons designated in the CC line, and authorized members of the Mozilla Rep team.</p> -<script language="javascript" type="text/javascript"> +<script> function trySubmit() { var eventname = document.getElementById('eventname').value; var shortdesc = 'Swag Request - ' + eventname; @@ -279,7 +279,7 @@ function validateAndSubmit() { </p> <p> - <strong><span style="color: red;">*</span></strong> - Required field<br /> + <strong><span style="color: red;">*</span></strong> - Required field<br> Thanks for contacting us. You will be notified by email of any progress made in resolving your request. </p> diff --git a/extensions/REMO/template/en/default/pages/remo-form-payment.html.tmpl b/extensions/REMO/template/en/default/pages/remo-form-payment.html.tmpl index acf4a98d6..4b4f237c2 100644 --- a/extensions/REMO/template/en/default/pages/remo-form-payment.html.tmpl +++ b/extensions/REMO/template/en/default/pages/remo-form-payment.html.tmpl @@ -30,7 +30,7 @@ 'js/field.js' ] %] -<script language="javascript" type="text/javascript"></script> +<script></script> <h1>Mozilla Reps - Payment Form</h1> diff --git a/extensions/Review/template/en/default/hook/bug/edit-after_people.html.tmpl b/extensions/Review/template/en/default/hook/bug/edit-after_people.html.tmpl index 5f8ea8fa9..b2f375b88 100644 --- a/extensions/Review/template/en/default/hook/bug/edit-after_people.html.tmpl +++ b/extensions/Review/template/en/default/hook/bug/edit-after_people.html.tmpl @@ -36,7 +36,7 @@ %] <br> </div> - <script type="text/javascript"> + <script> hideEditableField('bz_bug_mentors_edit_container', 'bz_bug_mentors_input', 'bz_bug_mentors_edit_action', diff --git a/extensions/Review/template/en/default/pages/review_history.html.tmpl b/extensions/Review/template/en/default/pages/review_history.html.tmpl index 37e270e0e..d80ed5e0a 100644 --- a/extensions/Review/template/en/default/pages/review_history.html.tmpl +++ b/extensions/Review/template/en/default/pages/review_history.html.tmpl @@ -19,7 +19,7 @@ 'js/field.js' ] %] -<script type="text/javascript"> +<script> $(function () { YUI({ base: 'js/yui3/', diff --git a/extensions/SecureMail/template/en/default/hook/admin/users/userdata-end.html.tmpl b/extensions/SecureMail/template/en/default/hook/admin/users/userdata-end.html.tmpl index 426c3d44e..1b65e71a8 100644 --- a/extensions/SecureMail/template/en/default/hook/admin/users/userdata-end.html.tmpl +++ b/extensions/SecureMail/template/en/default/hook/admin/users/userdata-end.html.tmpl @@ -31,7 +31,7 @@ </td> </tr> -<script type="text/javascript"> +<script> $(function() { 'use strict'; var securemail_groups = []; diff --git a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl index f42c579e4..9e59f1520 100644 --- a/extensions/Splinter/template/en/default/pages/splinter.html.tmpl +++ b/extensions/Splinter/template/en/default/pages/splinter.html.tmpl @@ -37,7 +37,7 @@ [% can_edit = 0 %] -<script type="text/javascript"> +<script> Splinter.configBase = '[% Bugzilla.splinter_review_base FILTER js %]'; Splinter.configBugUrl = '[% urlbase FILTER js %]'; Splinter.configHaveExtension = true; @@ -151,8 +151,8 @@ <div id="enterBug" style="display: none;"> [% terms.Bug %] to review: - <input id="enterBugInput" /> - <input id="enterBugGo" type="button" value="Go" /> + <input id="enterBugInput"> + <input id="enterBugGo" type="button" value="Go"> <div id="chooseReview" style="display: none;"> Drafts and published reviews: <div id="chooseReviewTable"></div> @@ -248,8 +248,8 @@ <span id="attachmentStatusSpan">Patch Status: <select id="attachmentStatus"> </select> </span> - <input id="publishButton" type="button" value="Publish" /> - <input id="cancelButton" type="button" value="Cancel" /> + <input id="publishButton" type="button" value="Publish"> + <input id="cancelButton" type="button" value="Cancel"> </div> <div class="clear"></div> </div> diff --git a/extensions/TrackingFlags/template/en/default/bug/tracking_flags.html.tmpl b/extensions/TrackingFlags/template/en/default/bug/tracking_flags.html.tmpl index 5881d1e6d..962271254 100644 --- a/extensions/TrackingFlags/template/en/default/bug/tracking_flags.html.tmpl +++ b/extensions/TrackingFlags/template/en/default/bug/tracking_flags.html.tmpl @@ -32,7 +32,7 @@ [% value.name FILTER html %]</option> [% END %] </select> - <script type="text/javascript"> + <script> initHidingOptionsForIE('[% flag.name FILTER js %]'); </script> [% IF !new_bug && user.id %] @@ -47,7 +47,7 @@ </tr> [% END %] -<script type="text/javascript"> +<script> var tracking_flags_str = "[% tracking_flags_json FILTER js %]"; TrackingFlags = $.parseJSON(tracking_flags_str); </script> diff --git a/extensions/TrackingFlags/template/en/default/hook/bug/create/create-form.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/bug/create/create-form.html.tmpl index a29357b11..4bb9e1eab 100644 --- a/extensions/TrackingFlags/template/en/default/hook/bug/create/create-form.html.tmpl +++ b/extensions/TrackingFlags/template/en/default/hook/bug/create/create-form.html.tmpl @@ -28,7 +28,7 @@ END; %] -<script type="text/javascript"> +<script> $(function() { var tracking_flag_components_str = "[% tracking_flag_components FILTER js %]"; var tracking_flag_components = $.parseJSON(tracking_flag_components_str); diff --git a/extensions/TrackingFlags/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl index aab7056e6..1571fc4f9 100644 --- a/extensions/TrackingFlags/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl +++ b/extensions/TrackingFlags/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl @@ -40,7 +40,7 @@ [% END %] [% END %] -<script type="text/javascript"> +<script> var tracking_flags_str = "[% tracking_flags_json FILTER js %]"; var TrackingFlags = $.parseJSON(tracking_flags_str); hide_tracking_flags(); diff --git a/extensions/TrackingFlags/template/en/default/hook/bug/field-editable.html.tmpl b/extensions/TrackingFlags/template/en/default/hook/bug/field-editable.html.tmpl index f598609e8..fb09b0ac1 100644 --- a/extensions/TrackingFlags/template/en/default/hook/bug/field-editable.html.tmpl +++ b/extensions/TrackingFlags/template/en/default/hook/bug/field-editable.html.tmpl @@ -29,7 +29,7 @@ </option> [% END %] </select> -<script type="text/javascript"> +<script> <!-- initHidingOptionsForIE('[% field.name FILTER js %]'); [%+ INCLUDE "bug/field-events.js.tmpl" diff --git a/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl b/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl index e276e3127..c6a16f7d0 100644 --- a/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl +++ b/extensions/UserStory/template/en/default/hook/bug/comments-comment_banner.html.tmpl @@ -11,7 +11,7 @@ [% can_edit_story = bug.check_can_change_field('cf_user_story', 0, 1) %] <div class="user_story"> - <script type="text/javascript"> + <script> function userStoryComment() { var commenttext = "(Commenting on User Story)\n"; var text_elem = document.getElementById('user_story'); @@ -27,7 +27,7 @@ <b>User Story</b> [% IF can_edit_story %] <span id="user_story_edit"> - (<a href="javascript:void(0)" id="user_story_edit_action" >edit</a>) + (<a href="javascript:void(0)" id="user_story_edit_action">edit</a>) </span> [% END %] [% IF user.id @@ -61,7 +61,7 @@ cols = constants.COMMENT_COLS defaultcontent = bug.cf_user_story %] </div> - <script type="text/javascript"> + <script> YAHOO.util.Event.addListener('user_story_edit_action', 'click', function() { YAHOO.util.Dom.addClass('user_story_edit', 'bz_default_hidden'); YAHOO.util.Dom.addClass('user_story_readonly', 'bz_default_hidden'); diff --git a/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl b/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl index 0c968e634..77734408a 100644 --- a/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl +++ b/extensions/UserStory/template/en/default/hook/bug/create/create-after_custom_fields.html.tmpl @@ -17,7 +17,7 @@ <td colspan="3"> <div id="user_story_header"> <span id="user_story_edit"> - (<a href="javascript:void(0)" id="user_story_edit_action" >edit</a>) + (<a href="javascript:void(0)" id="user_story_edit_action">edit</a>) </span> </div> <div id="user_story_edit_container" class="bz_default_hidden"> @@ -32,7 +32,7 @@ defaultcontent = user_story_default %] </div> - <script type="text/javascript"> + <script> var user_story_exclude_components = []; [% FOREACH c = default.user_story_visible.1 %] user_story_exclude_components.push('[% c FILTER js %]'); diff --git a/extensions/Voting/template/en/default/hook/admin/products/edit-common-rows.html.tmpl b/extensions/Voting/template/en/default/hook/admin/products/edit-common-rows.html.tmpl index fbbda3ea0..e5a29ba56 100644 --- a/extensions/Voting/template/en/default/hook/admin/products/edit-common-rows.html.tmpl +++ b/extensions/Voting/template/en/default/hook/admin/products/edit-common-rows.html.tmpl @@ -50,7 +50,7 @@ value="[% product.votestoconfirm FILTER html %]"> <br>(Setting this to 0 disables auto-confirming [% terms.bugs %] by vote.) - <script type="text/javascript"> + <script> YAHOO.util.Event.addListener('allows_unconfirmed', 'change', function() { bz_toggleClass('votes_to_confirm_container', 'bz_default_hidden'); }); diff --git a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl index 26b0e7989..13531a85b 100644 --- a/extensions/Voting/template/en/default/pages/voting/user.html.tmpl +++ b/extensions/Voting/template/en/default/pages/voting/user.html.tmpl @@ -91,7 +91,7 @@ [% END %] <tr> <th>[% product.name FILTER html %]</th> - <td colspan="2" ><a href="buglist.cgi?bug_id= + <td colspan="2"><a href="buglist.cgi?bug_id= [%- product.bug_ids.join(",") FILTER uri %]">([% terms.bug %] list)</a> </td> <td> |