summaryrefslogtreecommitdiffstats
path: root/template/en/default/attachment
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/attachment')
-rw-r--r--template/en/default/attachment/diff-file.html.tmpl4
-rw-r--r--template/en/default/attachment/list.html.tmpl8
2 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/attachment/diff-file.html.tmpl b/template/en/default/attachment/diff-file.html.tmpl
index 9392ca105..a742a841e 100644
--- a/template/en/default/attachment/diff-file.html.tmpl
+++ b/template/en/default/attachment/diff-file.html.tmpl
@@ -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 %]
diff --git a/template/en/default/attachment/list.html.tmpl b/template/en/default/attachment/list.html.tmpl
index 6453b4e68..9efc8a4e0 100644
--- a/template/en/default/attachment/list.html.tmpl
+++ b/template/en/default/attachment/list.html.tmpl
@@ -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>