open attachment in new window

This commit is contained in:
Friendika 2011-05-24 20:59:56 -07:00
parent 3239381447
commit 20a1500c25
1 changed files with 1 additions and 1 deletions

View File

@ -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 = ((strlen(trim($matches[4]))) ? escape_tags(trim($matches[4])) : escape_tags($matches[1]));
$title .= ' ' . $matches[2] . ' ' . t('bytes'); $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>';
} }
} }
} }