diff options
author | friendica <info@friendica.com> | 2012-09-09 21:26:36 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-09-09 21:26:36 -0700 |
commit | e4f3e96b657e4ce33c06701653eaba9574152c9a (patch) | |
tree | c0cabbe859ded25737e39d4e74bcc83a63647fa3 /include/text.php | |
parent | 3ebb4a3dc7a369e7a716ab93d02b44b20522080f (diff) | |
download | volse-hubzilla-e4f3e96b657e4ce33c06701653eaba9574152c9a.tar.gz volse-hubzilla-e4f3e96b657e4ce33c06701653eaba9574152c9a.tar.bz2 volse-hubzilla-e4f3e96b657e4ce33c06701653eaba9574152c9a.zip |
remove targeted windows
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/text.php b/include/text.php index c57d8a50a..eba0f5859 100644 --- a/include/text.php +++ b/include/text.php @@ -596,7 +596,7 @@ function micropro($contact, $redirect = false, $class = '', $textmode = false) { if($textmode) { return '<div class="contact-block-textdiv' . $class . '"><a class="contact-block-link' . $class . $sparkle . (($click) ? ' fakelink' : '') . '" ' - . (($redir) ? ' target="redir" ' : '') + . (($redir) ? ' ' : '') . (($url) ? ' href="' . $url . '"' : '') . $click . '" title="' . $contact['name'] . ' [' . $contact['url'] . ']" alt="' . $contact['name'] . '" >'. $contact['name'] . '</a></div>' . "\r\n"; @@ -604,7 +604,7 @@ function micropro($contact, $redirect = false, $class = '', $textmode = false) { else { return '<div class="contact-block-div' . $class . '"><a class="contact-block-link' . $class . $sparkle . (($click) ? ' fakelink' : '') . '" ' - . (($redir) ? ' target="redir" ' : '') + . (($redir) ? ' ' : '') . (($url) ? ' href="' . $url . '"' : '') . $click . ' ><img class="contact-block-img' . $class . $sparkle . '" src="' . $contact['micro'] . '" title="' . $contact['name'] . ' [' . $contact['url'] . ']" alt="' . $contact['name'] . '" /></a></div>' . "\r\n"; @@ -648,7 +648,7 @@ function valid_email($x){ if(! function_exists('linkify')) { function linkify($s) { - $s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\'\%\$\!\+]*)/", ' <a href="$1" target="external-link">$1</a>', $s); + $s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\'\%\$\!\+]*)/", ' <a href="$1" >$1</a>', $s); $s = preg_replace("/\<(.*?)(src|href)=(.*?)\&\;(.*?)\>/ism",'<$1$2=$3&$4>',$s); return($s); }} @@ -940,7 +940,7 @@ function prepare_body($item,$attach = false) { else $the_url = $mtch[1]; - $s .= '<a href="' . strip_tags($the_url) . '" title="' . $title . '" class="attachlink" target="external-link" >' . $icon . '</a>'; + $s .= '<a href="' . strip_tags($the_url) . '" title="' . $title . '" class="attachlink" >' . $icon . '</a>'; } } } |