my ($title, $className) = @{$::attachlink{$attachid}};
# $title will be undefined if the attachment didn't exist in the database.
if (defined $title) {
- $link_text =~ s/ \[edit\]$//;
+ $link_text =~ s/ \[details\]$//;
my $linkval = "attachment.cgi?id=$attachid&action=";
# Whitespace matters here because these links are in <pre> tags.
return qq|<span class="$className">|
. qq|<a href="${linkval}view" title="$title">$link_text</a>|
- . qq| <a href="${linkval}edit" title="$title">[edit]</a>|
+ . qq| <a href="${linkval}edit" title="$title">[details]</a>|
. qq|</span>|;
}
else {