aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-05-24 20:59:56 -0700
committerFriendika <info@friendika.com>2011-05-24 20:59:56 -0700
commit20a1500c25aecb8286432426a7e99a172a6e0553 (patch)
treeed2be022b0712d31b131439f07dd997a84e4e6ed
parent323938144706584775794937abcb23179ee1a20b (diff)
downloadvolse-hubzilla-20a1500c25aecb8286432426a7e99a172a6e0553.tar.gz
volse-hubzilla-20a1500c25aecb8286432426a7e99a172a6e0553.tar.bz2
volse-hubzilla-20a1500c25aecb8286432426a7e99a172a6e0553.zip
open attachment in new window
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 7fe97a875..03689bde4 100644
--- a/boot.php
+++ b/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>';
}
}
}