Commit 738591be authored by Gordon P. Hemsley's avatar Gordon P. Hemsley Committed by Max Kanat-Alexander

Bug 546340 - Change <a name> anchors to use @id

r=mkanat, a=mkanat
parent 779b2831
...@@ -107,8 +107,7 @@ ...@@ -107,8 +107,7 @@
[% IF user.authorizer.can_change_password %] [% IF user.authorizer.can_change_password %]
<hr> <hr>
<a name="forgot"></a> <form id="forgot" method="get" action="token.cgi">
<form method="get" action="token.cgi">
<input type="hidden" name="a" value="reqpw"> <input type="hidden" name="a" value="reqpw">
If you have an account, but have forgotten your password, If you have an account, but have forgotten your password,
enter your login name below and submit a request enter your login name below and submit a request
......
...@@ -281,11 +281,11 @@ You are currently not watching any users. ...@@ -281,11 +281,11 @@ You are currently not watching any users.
[% END %] [% END %]
</p> </p>
<p><a name="new_watched_by_you" id="new_watched_by_you">Add users to my watch list (comma separated list)</a>: <p id="new_watched_by_you">Add users to my watch list (comma separated list):
<input size="60" name="new_watchedusers" value=""> <input size="60" name="new_watchedusers" value="">
</p> </p>
<p><a name="watching_you" id="watching_you">Users watching you</a>:<br> <p id="watching_you">Users watching you:<br>
[% IF watchers.size %] [% IF watchers.size %]
[% FOREACH watcher = watchers %] [% FOREACH watcher = watchers %]
[% watcher FILTER html %] <br> [% watcher FILTER html %] <br>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<dl> <dl>
[% FOREACH param = panel.param_list %] [% FOREACH param = panel.param_list %]
<dt><a name="[% param.name FILTER html %]">[% param.name FILTER html %]</a></dt> <dt id="[% param.name FILTER html %]">[% param.name FILTER html %]</dt>
<dd>[% panel.param_descs.${param.name} FILTER none %] <dd>[% panel.param_descs.${param.name} FILTER none %]
<p> <p>
[% IF param.type == "t" %] [% IF param.type == "t" %]
......
...@@ -53,7 +53,7 @@ incremental_restore() ...@@ -53,7 +53,7 @@ incremental_restore()
[% FOREACH section = sections %] [% FOREACH section = sections %]
[% section_num = section_num + 1 %] [% section_num = section_num + 1 %]
<tr><th colspan="4" class="section_head"> <tr><th colspan="4" class="section_head">
<table cellpadding="0" cellspacing="0"> <table id="[% file.filename FILTER html %]_sec[% section_num %]" cellpadding="0" cellspacing="0">
<tr><th width="95%" align="left"> <tr><th width="95%" align="left">
[% IF file.is_add %] [% IF file.is_add %]
Added Added
...@@ -79,7 +79,7 @@ incremental_restore() ...@@ -79,7 +79,7 @@ incremental_restore()
&nbsp;&nbsp;[% section.func_info FILTER html IF section.func_info %] &nbsp;&nbsp;[% section.func_info FILTER html IF section.func_info %]
[% END %] [% END %]
</th><th> </th><th>
<a name="[% file.filename FILTER html %]_sec[% section_num %]" href="#[% file.filename FILTER html %]_sec[% section_num %]">Link&nbsp;Here</a>&nbsp; <a href="#[% file.filename FILTER html %]_sec[% section_num %]">Link&nbsp;Here</a>&nbsp;
</th></tr></table> </th></tr></table>
</th></tr> </th></tr>
[% current_line_old = section.old_start %] [% current_line_old = section.old_start %]
......
...@@ -50,9 +50,9 @@ function toggle_display(link) { ...@@ -50,9 +50,9 @@ function toggle_display(link) {
<br> <br>
<table id="attachment_table" cellspacing="0" cellpadding="4"> <table id="attachment_table" cellspacing="0" cellpadding="4">
<tr> <tr id="a0">
<th colspan="[% show_attachment_flags ? 3 : 2 %]" align="left"> <th colspan="[% show_attachment_flags ? 3 : 2 %]" align="left">
<a name="a0" id="a0">Attachments</a> Attachments
</th> </th>
</tr> </tr>
...@@ -65,7 +65,7 @@ function toggle_display(link) { ...@@ -65,7 +65,7 @@ function toggle_display(link) {
[% IF attachment.isobsolete %] [% IF attachment.isobsolete %]
[% obsolete_attachments = obsolete_attachments + 1 %] [% obsolete_attachments = obsolete_attachments + 1 %]
[% END %] [% END %]
<tr class="[% "bz_contenttype_" _ attachment.contenttype <tr id="a[% count %]" class="[% "bz_contenttype_" _ attachment.contenttype
FILTER css_class_quote UNLESS attachment.isurl %] FILTER css_class_quote UNLESS attachment.isurl %]
[% " bz_patch" IF attachment.ispatch %] [% " bz_patch" IF attachment.ispatch %]
[% " bz_url" IF attachment.isurl %] [% " bz_url" IF attachment.isurl %]
...@@ -74,7 +74,7 @@ function toggle_display(link) { ...@@ -74,7 +74,7 @@ function toggle_display(link) {
IF attachment.isobsolete %]"> IF attachment.isobsolete %]">
<td valign="top"> <td valign="top">
[% IF attachment.datasize %] [% IF attachment.datasize %]
<a name="a[% count %]" href="attachment.cgi?id=[% attachment.id %]" <a href="attachment.cgi?id=[% attachment.id %]"
title="View the content of the attachment"> title="View the content of the attachment">
[% END %] [% END %]
<b>[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</b> <b>[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</b>
......
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
[% BLOCK a_comment %] [% BLOCK a_comment %]
[% RETURN IF comment.is_private AND ! user.is_insider %] [% RETURN IF comment.is_private AND ! user.is_insider %]
<div class="bz_comment[% " bz_private" IF comment.is_private %] <div id="c[% count %]" class="bz_comment[% " bz_private" IF comment.is_private %]
[% " bz_comment_hilite" IF marks.$count %] [% " bz_comment_hilite" IF marks.$count %]
[% " bz_first_comment" IF count == description %]"> [% " bz_first_comment" IF count == description %]">
[% IF count == description %] [% IF count == description %]
...@@ -194,7 +194,7 @@ ...@@ -194,7 +194,7 @@
[% END %] [% END %]
<span class="bz_comment_number"> <span class="bz_comment_number">
<a name="c[% count %]" <a
href="show_bug.cgi?id=[% bug.bug_id %]#c[% count %]"> href="show_bug.cgi?id=[% bug.bug_id %]#c[% count %]">
[%- comment_label FILTER html %]</a> [%- comment_label FILTER html %]</a>
</span> </span>
......
...@@ -67,8 +67,7 @@ function PutDescription() { ...@@ -67,8 +67,7 @@ function PutDescription() {
} }
</script> </script>
<a name="step1"></a> <h3 id="step1">Step 1 of 3 - has your [% terms.bug %] already been reported?</h3>
<h3>Step 1 of 3 - has your [% terms.bug %] already been reported?</h3>
<p> <p>
<font color="red">Please don't skip this step - half of all <font color="red">Please don't skip this step - half of all
...@@ -136,8 +135,7 @@ function PutDescription() { ...@@ -136,8 +135,7 @@ function PutDescription() {
</p> </p>
<a name="step2"></a> <h3 id="step2">Step 2 of 3 - give information</h3>
<h3>Step 2 of 3 - give information</h3>
<p> <p>
If you've tried a few searches and your [% terms.bug %] really isn't in If you've tried a few searches and your [% terms.bug %] really isn't in
...@@ -474,8 +472,7 @@ function PutDescription() { ...@@ -474,8 +472,7 @@ function PutDescription() {
</table> </table>
<a name="step3"></a> <h3 id="step3">Step 3 of 3 - submit the [% terms.bug %] report</h3>
<h3>Step 3 of 3 - submit the [% terms.bug %] report</h3>
<p> <p>
<input type="submit" id="report" value=" Submit [% terms.Bug %] Report " <input type="submit" id="report" value=" Submit [% terms.Bug %] Report "
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
[% extra_class = " b_open" %] [% extra_class = " b_open" %]
[% extra_args = 'onclick="return doToggle(this, event)"' %] [% extra_args = 'onclick="return doToggle(this, event)"' %]
[% END %] [% END %]
<a name="b[% bugid %]" <a id="b[% bugid %]"
class="b [%+ extra_class FILTER none %]" class="b [%+ extra_class FILTER none %]"
title="Click to expand or contract this portion of the tree. Hold down the Ctrl key while clicking to expand or contract all subtrees." title="Click to expand or contract this portion of the tree. Hold down the Ctrl key while clicking to expand or contract all subtrees."
[% extra_args FILTER none %]>&nbsp;&nbsp;</a> [% extra_args FILTER none %]>&nbsp;&nbsp;</a>
......
...@@ -1019,8 +1019,7 @@ ...@@ -1019,8 +1019,7 @@
[%############################################################################%] [%############################################################################%]
[% BLOCK comment_box %] [% BLOCK comment_box %]
<div class="bz_section_additional_comments"> <div id="add_comment" class="bz_section_additional_comments">
<a name="add_comment"></a>
[% IF user.id %] [% IF user.id %]
<label for="comment" accesskey="c"><b>Additional <label for="comment" accesskey="c"><b>Additional
<u>C</u>omments</b></label>: <u>C</u>omments</b></label>:
...@@ -1048,13 +1047,13 @@ ...@@ -1048,13 +1047,13 @@
<br> <br>
[% PROCESS commit_button id=""%] [% PROCESS commit_button id=""%]
<table class="status" cellspacing="0" cellpadding="0"> <table id="bug_status_bottom"
class="status" cellspacing="0" cellpadding="0">
<tr> <tr>
<td class="field_label"> <td class="field_label">
<b><a href="page.cgi?id=fields.html#status">Status</a></b>: <b><a href="page.cgi?id=fields.html#status">Status</a></b>:
</td> </td>
<td> <td>
<a name="bug_status_bottom"></a>
[% PROCESS bug/knob.html.tmpl %] [% PROCESS bug/knob.html.tmpl %]
</td> </td>
</tr> </tr>
......
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
[% FOREACH bug = bugs %] [% FOREACH bug = bugs %]
[% count = loop.count() %] [% count = loop.count() %]
<tr class="bz_bugitem <tr id="b[% bug.bug_id %]" class="bz_bugitem
bz_[% bug.bug_severity FILTER css_class_quote -%] bz_[% bug.bug_severity FILTER css_class_quote -%]
bz_[% bug.priority FILTER css_class_quote -%] bz_[% bug.priority FILTER css_class_quote -%]
bz_[% bug.bug_status FILTER css_class_quote -%] bz_[% bug.bug_status FILTER css_class_quote -%]
...@@ -183,8 +183,7 @@ ...@@ -183,8 +183,7 @@
</td> </td>
[% END %] [% END %]
<td class="first-child bz_id_column"> <td class="first-child bz_id_column">
<a name="b[% bug.bug_id %]" <a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
<span style="display: none">[%+ '[SEC]' IF bug.secure_mode %]</span> <span style="display: none">[%+ '[SEC]' IF bug.secure_mode %]</span>
</td> </td>
......
...@@ -31,13 +31,11 @@ ...@@ -31,13 +31,11 @@
<table class="field_value_explanation"> <table class="field_value_explanation">
<thead> <thead>
<tr> <tr>
<td> <td id="bug_status">
<a name="bug_status"></a>
<h2>[% field_descs.bug_status FILTER upper FILTER html %]</h2> <h2>[% field_descs.bug_status FILTER upper FILTER html %]</h2>
</td> </td>
<td> <td id="resolution">
<a name="resolution"></a>
<h2>[% field_descs.resolution FILTER upper FILTER html %]</h2> <h2>[% field_descs.resolution FILTER upper FILTER html %]</h2>
</td> </td>
</tr> </tr>
...@@ -266,7 +264,7 @@ ...@@ -266,7 +264,7 @@
[% NEXT IF skip_fields.contains(field) %] [% NEXT IF skip_fields.contains(field) %]
<dt><a name="[% field FILTER html %]"></a>[% field_desc FILTER html %]</dt> <dt id="[% field FILTER html %]">[% field_desc FILTER html %]</dt>
<dd> <dd>
[% SET help_text = field_help_map.${field_desc}.help %] [% SET help_text = field_help_map.${field_desc}.help %]
[% IF help_text %] [% IF help_text %]
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
<p>You may also want to read up on the <a href="#advanced">Advanced <p>You may also want to read up on the <a href="#advanced">Advanced
Features</a>.</p> Features</a>.</p>
<h2><a name="fields"></a>Fields You Can Search On</h2> <h2 id="fields">Fields You Can Search On</h2>
<p>You can specify any of these fields like <kbd>field:value</kbd> <p>You can specify any of these fields like <kbd>field:value</kbd>
in the search box, to search on them. You can also abbreviate in the search box, to search on them. You can also abbreviate
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
</tbody> </tbody>
</table> </table>
<h2><a name="advanced"></a>Advanced Features</h2> <h2 id="advanced">Advanced Features</h2>
<ul class="qs_help"> <ul class="qs_help">
<li>If you want to search for a <strong>phrase</strong> or something that <li>If you want to search for a <strong>phrase</strong> or something that
...@@ -189,7 +189,7 @@ ...@@ -189,7 +189,7 @@
</li> </li>
</ul> </ul>
<h2><a name="shortcuts"></a>Advanced Shortcuts</h2> <h2 id="shortcuts">Advanced Shortcuts</h2>
<p>In addition to using <a href="#fields">field names</a> to search <p>In addition to using <a href="#fields">field names</a> to search
specific fields, there are certain characters or words that you can specific fields, there are certain characters or words that you can
......
...@@ -80,10 +80,9 @@ ...@@ -80,10 +80,9 @@
[%############################################################################%] [%############################################################################%]
[% BLOCK describe_comp %] [% BLOCK describe_comp %]
<tr> <tr id="[% comp.name FILTER html %]">
<td rowspan="2" class="component_name"> <td rowspan="2" class="component_name">
<a name="[% comp.name FILTER html %]" <a href="buglist.cgi?product=
href="buglist.cgi?product=
[%- product.name FILTER url_quote %]&amp;component= [%- product.name FILTER url_quote %]&amp;component=
[%- comp.name FILTER url_quote %]&amp;resolution=---"> [%- comp.name FILTER url_quote %]&amp;resolution=---">
[% comp.name FILTER html %]</a> [% comp.name FILTER html %]</a>
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
[% bug_ids_string = bug_ids.join(',') %] [% bug_ids_string = bug_ids.join(',') %]
<h3><a name="params">Change Parameters</a></h3> <h3 id="params">Change Parameters</h3>
<form method="get" action="duplicates.cgi"> <form method="get" action="duplicates.cgi">
<input type="hidden" name="sortby" value="[% sortby FILTER html %]"> <input type="hidden" name="sortby" value="[% sortby FILTER html %]">
...@@ -136,9 +136,9 @@ ...@@ -136,9 +136,9 @@
<hr> <hr>
<b> <h3 id="explanation">
<a name="explanation">What are "Most Frequently Reported [% terms.Bugs %]"?</a> What are "Most Frequently Reported [% terms.Bugs %]"?
</b> </h3>
<p> <p>
The Most Frequent [% terms.Bugs %] page lists the known open The Most Frequent [% terms.Bugs %] page lists the known open
......
...@@ -49,10 +49,9 @@ ...@@ -49,10 +49,9 @@
</tr> </tr>
[% END %] [% END %]
<tr> <tr id="[% keyword.name FILTER html %]">
<th> <th>
<a name="[% keyword.name FILTER html %]"> [% keyword.name FILTER html %]
[% keyword.name FILTER html %]</a>
</th> </th>
<td>[% keyword.description FILTER html_light %]</td> <td>[% keyword.description FILTER html_light %]</td>
<td align="center"> <td align="center">
......
...@@ -48,11 +48,9 @@ ...@@ -48,11 +48,9 @@
"matches", "matches",
] %] ] %]
<p> <h3 id="chart">
<strong> Advanced Searching Using Boolean Charts
<a name="chart">Advanced Searching Using Boolean Charts</a>: </h3>
</strong>
</p>
[%# Whoever wrote the original version of boolean charts had a seriously twisted mind %] [%# Whoever wrote the original version of boolean charts had a seriously twisted mind %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment