]> git.mxchange.org Git - friendica.git/commitdiff
open attachment in new window
authorFriendika <info@friendika.com>
Wed, 25 May 2011 03:59:56 +0000 (20:59 -0700)
committerFriendika <info@friendika.com>
Wed, 25 May 2011 03:59:56 +0000 (20:59 -0700)
boot.php

index 7fe97a8759a119dbe216596cbc55be99a22fb578..03689bde425a76efd18edddb703e216f8e1f60ca 100644 (file)
--- 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>';
                        }
                }
        }