diff options
author | bbaetz%student.usyd.edu.au <> | 2002-11-19 09:16:24 +0100 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-11-19 09:16:24 +0100 |
commit | 880bfcebabf4e079e30f8cb1c9ddb03e2ab366e0 (patch) | |
tree | 135db142a871c237fbd039f6f7fcf1665363f5b5 /template/en/default/admin | |
parent | ea9345d65c7e2770cad1f5890ad6a99b1acc4022 (diff) | |
download | bugzilla-880bfcebabf4e079e30f8cb1c9ddb03e2ab366e0.tar.gz bugzilla-880bfcebabf4e079e30f8cb1c9ddb03e2ab366e0.tar.xz |
Bug 175579 - make templates html compliant
r=gerv, a=justdave
Diffstat (limited to 'template/en/default/admin')
-rw-r--r-- | template/en/default/admin/flag-type/confirm-delete.html.tmpl | 6 | ||||
-rw-r--r-- | template/en/default/admin/flag-type/edit.html.tmpl | 6 | ||||
-rw-r--r-- | template/en/default/admin/flag-type/list.html.tmpl | 12 |
3 files changed, 12 insertions, 12 deletions
diff --git a/template/en/default/admin/flag-type/confirm-delete.html.tmpl b/template/en/default/admin/flag-type/confirm-delete.html.tmpl index b022e621e..46522000b 100644 --- a/template/en/default/admin/flag-type/confirm-delete.html.tmpl +++ b/template/en/default/admin/flag-type/confirm-delete.html.tmpl @@ -30,20 +30,20 @@ There are [% flag_count %] flags of type [% name %]. If you delete this type, those flags will also be deleted. Note that instead of deleting the type you can - <a href="editflagtypes.cgi?action=deactivate&id=[% flag_type.id %]">deactivate it</a>, + <a href="editflagtypes.cgi?action=deactivate&id=[% flag_type.id %]">deactivate it</a>, in which case the type and its flags will remain in the database but will not appear in the Bugzilla UI. </p> <table> <tr> - <td colspan=2> + <td colspan="2"> Do you really want to delete this type? </td> </tr> <tr> <td> - <a href="editflagtypes.cgi?action=delete&id=[% flag_type.id %]"> + <a href="editflagtypes.cgi?action=delete&id=[% flag_type.id %]"> Yes, delete </a> </td> diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index 846bec409..157ad3592 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -95,7 +95,7 @@ <tr> <td style="vertical-align: top;"> <b>Product/Component:</b><br> - <select name="product" onChange="selectProduct(this.form, 'product', 'component', '__Any__');"> + <select name="product" onchange="selectProduct(this.form, 'product', 'component', '__Any__');"> <option value="">__Any__</option> [% FOREACH item = products %] <option value="[% item %]" [% "selected" IF type.product.name == item %]>[% item %]</option> @@ -112,12 +112,12 @@ </td> <td style="vertical-align: top;"> <b>Inclusions:</b><br> - [% PROCESS "global/select-menu.html.tmpl" name="inclusion_to_remove" multiple=1 size=4 options=type.inclusions %]<br> + [% PROCESS "global/select-menu.html.tmpl" name="inclusion_to_remove" multiple="1" size="4" options=type.inclusions %]<br> <input type="submit" name="categoryAction" value="Remove Inclusion"> </td> <td style="vertical-align: top;"> <b>Exclusions:</b><br> - [% PROCESS "global/select-menu.html.tmpl" name="exclusion_to_remove" multiple=1 size=4 options=type.exclusions %]<br> + [% PROCESS "global/select-menu.html.tmpl" name="exclusion_to_remove" multiple="1" size="4" options=type.exclusions %]<br> <input type="submit" name="categoryAction" value="Remove Exclusion"> </td> </tr> diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl index 6054c0dbb..43fbf8d56 100644 --- a/template/en/default/admin/flag-type/list.html.tmpl +++ b/template/en/default/admin/flag-type/list.html.tmpl @@ -46,7 +46,7 @@ [% PROCESS display_flag_types types=bug_types %] <p> - <a href="editflagtypes.cgi?action=enter&target_type=bug">Create Flag Type for Bugs</a> + <a href="editflagtypes.cgi?action=enter&target_type=bug">Create Flag Type for Bugs</a> </p> <h3>Flag Types for Attachments</h3> @@ -54,10 +54,10 @@ [% PROCESS display_flag_types types=attachment_types %] <p> - <a href="editflagtypes.cgi?action=enter&target_type=attachment">Create Flag Type For Attachments</a> + <a href="editflagtypes.cgi?action=enter&target_type=attachment">Create Flag Type For Attachments</a> </p> -<script language="JavaScript"> +<script type="text/javascript" language="JavaScript"> <!-- function confirmDelete(id, name, count) { @@ -91,11 +91,11 @@ [% FOREACH type = types %] <tr class="[% type.is_active ? "active" : "inactive" %]"> - <td><a href="editflagtypes.cgi?action=edit&id=[% type.id %]">[% type.name FILTER html %]</a></td> + <td><a href="editflagtypes.cgi?action=edit&id=[% type.id %]">[% type.name FILTER html %]</a></td> <td>[% type.description FILTER html %]</td> <td> - <a href="editflagtypes.cgi?action=copy&id=[% type.id %]">Copy</a> - | <a href="editflagtypes.cgi?action=confirmdelete&id=[% type.id %]" + <a href="editflagtypes.cgi?action=copy&id=[% type.id %]">Copy</a> + | <a href="editflagtypes.cgi?action=confirmdelete&id=[% type.id %]" onclick="return confirmDelete([% type.id %], '[% type.name FILTER js %]', [% type.flag_count %]);">Delete</a> </td> |