зеркало из https://github.com/mozilla/pjs.git
Bug 258675: action=view is still used in comments - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=mkanat a=myk
This commit is contained in:
Родитель
eed1dcc81f
Коммит
987279167e
|
@ -383,11 +383,11 @@ sub get_attachment_link {
|
|||
$title = value_quote($title);
|
||||
|
||||
$link_text =~ s/ \[details\]$//;
|
||||
my $linkval = "attachment.cgi?id=$attachid&action=";
|
||||
my $linkval = "attachment.cgi?id=$attachid";
|
||||
# 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">[details]</a>|
|
||||
. qq|<a href="${linkval}" title="$title">$link_text</a>|
|
||||
. qq| <a href="${linkval}&action=edit" title="$title">[details]</a>|
|
||||
. qq|</span>|;
|
||||
}
|
||||
else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче