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 @@
[% IF user.authorizer.can_change_password %]
<hr>
<a name="forgot"></a>
<form method="get" action="token.cgi">
<form id="forgot" method="get" action="token.cgi">
<input type="hidden" name="a" value="reqpw">
If you have an account, but have forgotten your password,
enter your login name below and submit a request
......
......@@ -281,11 +281,11 @@ You are currently not watching any users.
[% END %]
</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="">
</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 %]
[% FOREACH watcher = watchers %]
[% watcher FILTER html %] <br>
......
......@@ -28,7 +28,7 @@
<dl>
[% 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 %]
<p>
[% IF param.type == "t" %]
......
......@@ -53,7 +53,7 @@ incremental_restore()
[% FOREACH section = sections %]
[% section_num = section_num + 1 %]
<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">
[% IF file.is_add %]
Added
......@@ -79,7 +79,7 @@ incremental_restore()
&nbsp;&nbsp;[% section.func_info FILTER html IF section.func_info %]
[% END %]
</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>
[% current_line_old = section.old_start %]
......
......@@ -50,9 +50,9 @@ function toggle_display(link) {
<br>
<table id="attachment_table" cellspacing="0" cellpadding="4">
<tr>
<tr id="a0">
<th colspan="[% show_attachment_flags ? 3 : 2 %]" align="left">
<a name="a0" id="a0">Attachments</a>
Attachments
</th>
</tr>
......@@ -65,7 +65,7 @@ function toggle_display(link) {
[% IF attachment.isobsolete %]
[% obsolete_attachments = obsolete_attachments + 1 %]
[% END %]
<tr class="[% "bz_contenttype_" _ attachment.contenttype
<tr id="a[% count %]" class="[% "bz_contenttype_" _ attachment.contenttype
FILTER css_class_quote UNLESS attachment.isurl %]
[% " bz_patch" IF attachment.ispatch %]
[% " bz_url" IF attachment.isurl %]
......@@ -74,7 +74,7 @@ function toggle_display(link) {
IF attachment.isobsolete %]">
<td valign="top">
[% 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">
[% END %]
<b>[% attachment.description FILTER html FILTER obsolete(attachment.isobsolete) %]</b>
......
......@@ -158,7 +158,7 @@
[% BLOCK a_comment %]
[% 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_first_comment" IF count == description %]">
[% IF count == description %]
......@@ -194,7 +194,7 @@
[% END %]
<span class="bz_comment_number">
<a name="c[% count %]"
<a
href="show_bug.cgi?id=[% bug.bug_id %]#c[% count %]">
[%- comment_label FILTER html %]</a>
</span>
......
......@@ -67,8 +67,7 @@ function PutDescription() {
}
</script>
<a name="step1"></a>
<h3>Step 1 of 3 - has your [% terms.bug %] already been reported?</h3>
<h3 id="step1">Step 1 of 3 - has your [% terms.bug %] already been reported?</h3>
<p>
<font color="red">Please don't skip this step - half of all
......@@ -136,8 +135,7 @@ function PutDescription() {
</p>
<a name="step2"></a>
<h3>Step 2 of 3 - give information</h3>
<h3 id="step2">Step 2 of 3 - give information</h3>
<p>
If you've tried a few searches and your [% terms.bug %] really isn't in
......@@ -474,8 +472,7 @@ function PutDescription() {
</table>
<a name="step3"></a>
<h3>Step 3 of 3 - submit the [% terms.bug %] report</h3>
<h3 id="step3">Step 3 of 3 - submit the [% terms.bug %] report</h3>
<p>
<input type="submit" id="report" value=" Submit [% terms.Bug %] Report "
......
......@@ -129,7 +129,7 @@
[% extra_class = " b_open" %]
[% extra_args = 'onclick="return doToggle(this, event)"' %]
[% END %]
<a name="b[% bugid %]"
<a id="b[% bugid %]"
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."
[% extra_args FILTER none %]>&nbsp;&nbsp;</a>
......
......@@ -1019,8 +1019,7 @@
[%############################################################################%]
[% BLOCK comment_box %]
<div class="bz_section_additional_comments">
<a name="add_comment"></a>
<div id="add_comment" class="bz_section_additional_comments">
[% IF user.id %]
<label for="comment" accesskey="c"><b>Additional
<u>C</u>omments</b></label>:
......@@ -1048,13 +1047,13 @@
<br>
[% PROCESS commit_button id=""%]
<table class="status" cellspacing="0" cellpadding="0">
<table id="bug_status_bottom"
class="status" cellspacing="0" cellpadding="0">
<tr>
<td class="field_label">
<b><a href="page.cgi?id=fields.html#status">Status</a></b>:
</td>
<td>
<a name="bug_status_bottom"></a>
[% PROCESS bug/knob.html.tmpl %]
</td>
</tr>
......
......@@ -167,7 +167,7 @@
[% FOREACH bug = bugs %]
[% 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.priority FILTER css_class_quote -%]
bz_[% bug.bug_status FILTER css_class_quote -%]
......@@ -183,8 +183,7 @@
</td>
[% END %]
<td class="first-child bz_id_column">
<a name="b[% bug.bug_id %]"
href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
<a href="show_bug.cgi?id=[% bug.bug_id %]">[% bug.bug_id %]</a>
<span style="display: none">[%+ '[SEC]' IF bug.secure_mode %]</span>
</td>
......
......@@ -31,13 +31,11 @@
<table class="field_value_explanation">
<thead>
<tr>
<td>
<a name="bug_status"></a>
<td id="bug_status">
<h2>[% field_descs.bug_status FILTER upper FILTER html %]</h2>
</td>
<td>
<a name="resolution"></a>
<td id="resolution">
<h2>[% field_descs.resolution FILTER upper FILTER html %]</h2>
</td>
</tr>
......@@ -266,7 +264,7 @@
[% 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>
[% SET help_text = field_help_map.${field_desc}.help %]
[% IF help_text %]
......
......@@ -92,7 +92,7 @@
<p>You may also want to read up on the <a href="#advanced">Advanced
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>
in the search box, to search on them. You can also abbreviate
......@@ -143,7 +143,7 @@
</tbody>
</table>
<h2><a name="advanced"></a>Advanced Features</h2>
<h2 id="advanced">Advanced Features</h2>
<ul class="qs_help">
<li>If you want to search for a <strong>phrase</strong> or something that
......@@ -189,7 +189,7 @@
</li>
</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
specific fields, there are certain characters or words that you can
......
......@@ -80,10 +80,9 @@
[%############################################################################%]
[% BLOCK describe_comp %]
<tr>
<tr id="[% comp.name FILTER html %]">
<td rowspan="2" class="component_name">
<a name="[% comp.name FILTER html %]"
href="buglist.cgi?product=
<a href="buglist.cgi?product=
[%- product.name FILTER url_quote %]&amp;component=
[%- comp.name FILTER url_quote %]&amp;resolution=---">
[% comp.name FILTER html %]</a>
......
......@@ -58,7 +58,7 @@
[% 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">
<input type="hidden" name="sortby" value="[% sortby FILTER html %]">
......@@ -136,9 +136,9 @@
<hr>
<b>
<a name="explanation">What are "Most Frequently Reported [% terms.Bugs %]"?</a>
</b>
<h3 id="explanation">
What are "Most Frequently Reported [% terms.Bugs %]"?
</h3>
<p>
The Most Frequent [% terms.Bugs %] page lists the known open
......
......@@ -49,10 +49,9 @@
</tr>
[% END %]
<tr>
<tr id="[% keyword.name FILTER html %]">
<th>
<a name="[% keyword.name FILTER html %]">
[% keyword.name FILTER html %]</a>
[% keyword.name FILTER html %]
</th>
<td>[% keyword.description FILTER html_light %]</td>
<td align="center">
......
......@@ -48,11 +48,9 @@
"matches",
] %]
<p>
<strong>
<a name="chart">Advanced Searching Using Boolean Charts</a>:
</strong>
</p>
<h3 id="chart">
Advanced Searching Using Boolean Charts
</h3>
[%# 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