headers_to_html_header($hdr, $ctx) .
multipart_text_as_html($mime) .
'</pre><hr /><pre>' .
- html_footer($hdr, 1, $ctx) .
+ html_footer($hdr, 1, $ctx, 'R/') .
$footer .
'</pre></body></html>';
}
index_walk($fh, $_[0], $enc, \$part_nr);
});
$mime->body_set('');
- $rv = "\n" . html_footer($hdr, 0, $ctx, $mhref);
+ $rv = "\n" . html_footer($hdr, 0, $ctx, "$path$href/R");
if (defined $irt) {
unless (defined $parent_anchor) {
}
sub html_footer {
- my ($hdr, $standalone, $ctx, $mhref) = @_;
+ my ($hdr, $standalone, $ctx, $rhref) = @_;
my $srch = $ctx->{srch} if $ctx;
my $upfx = '../';
$irt = '';
}
- $irt . qq(<a\nhref="${tpfx}R/">reply</a>) . $idx;
+ $irt . qq(<a\nhref="$rhref">reply</a>) . $idx;
}
sub linkify_ref_nosrch {