diff options
Diffstat (limited to 'extensions/BMO/template/en')
22 files changed, 33 insertions, 34 deletions
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> |