diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-10-22 12:09:19 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-10-22 12:09:19 +0200 |
commit | 5395b173aa514b5dc99768c259f7b04c97ff9743 (patch) | |
tree | 1843d03a0ca40ca8823e55354641ff97d8229265 /include | |
parent | 735f9c7a45fc1f5b149bb1798a2d438516655a5c (diff) | |
download | volse-hubzilla-5395b173aa514b5dc99768c259f7b04c97ff9743.tar.gz volse-hubzilla-5395b173aa514b5dc99768c259f7b04c97ff9743.tar.bz2 volse-hubzilla-5395b173aa514b5dc99768c259f7b04c97ff9743.zip |
implement the new anchor target behaviour
Diffstat (limited to 'include')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 544e7aa68..11062a1b2 100644 --- a/include/text.php +++ b/include/text.php @@ -1379,7 +1379,7 @@ function prepare_body(&$item,$attach = false) { if($is_photo) { $object = json_decode($item['object'],true); - $photo = '<a href="' . zid(rawurldecode(get_rel_link($object['link'],'alternate'))) . '"><img style="max-width:' . $object['width'] . 'px; width:100%; height:auto;" src="'. zid(rawurldecode($object['id'])) . '"></a>'; + $photo = '<a href="' . zid(rawurldecode(get_rel_link($object['link'],'alternate'))) . '" target="_newwin"><img style="max-width:' . $object['width'] . 'px; width:100%; height:auto;" src="'. zid(rawurldecode($object['id'])) . '"></a>'; } $prep_arr = array( |