Linking to the expanded thread page probably makes more sense
as it avoid unnecessary scanning for the thread summary.
$irt .= ' ' x length('next ');
}
if ($p || $next) {
$irt .= ' ' x length('next ');
}
if ($p || $next) {
- $irt .= "<a\nhref=\"#r\">thread</a> ";
+ my $tpfx = $full_pfx ? '' : '../';
+ $irt .= "<a\nhref=\"${tpfx}t/#u\">thread</a> ";
} else {
$irt .= ' ' x length('thread ');
}
} else {
$irt .= ' ' x length('thread ');
}