mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
open attachment in new window
This commit is contained in:
parent
3239381447
commit
20a1500c25
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -2569,7 +2569,7 @@ function prepare_body($item,$attach = false) {
|
|||
$title = ((strlen(trim($matches[4]))) ? escape_tags(trim($matches[4])) : escape_tags($matches[1]));
|
||||
$title .= ' ' . $matches[2] . ' ' . t('bytes');
|
||||
|
||||
$s .= '<a href="' . strip_tags($matches[1]) . '" title="' . $title . '" class="attachlink" >' . $icon . '</a>';
|
||||
$s .= '<a href="' . strip_tags($matches[1]) . '" title="' . $title . '" class="attachlink" target="external-link" >' . $icon . '</a>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue