aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-28 04:50:16 -0700
committerfriendica <info@friendica.com>2013-05-28 04:50:16 -0700
commit08a4ffd6633896a75f1aa66c7c310fc6fd991912 (patch)
treedd6bcff6137bceef34283ecfc684b2435b5bd406 /mod/photos.php
parente81e11382f9c746c59fa11b3baef401f8c328cd4 (diff)
downloadvolse-hubzilla-08a4ffd6633896a75f1aa66c7c310fc6fd991912.tar.gz
volse-hubzilla-08a4ffd6633896a75f1aa66c7c310fc6fd991912.tar.bz2
volse-hubzilla-08a4ffd6633896a75f1aa66c7c310fc6fd991912.zip
convert most red photos to zmg
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 4e8f48e29..5b81e18a7 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -491,7 +491,7 @@ function photos_post(&$a) {
$arr['origin'] = 1;
$arr['body'] = sprintf( t('%1$s was tagged in %2$s by %3$s'), '[zrl=' . $tagged[1] . ']' . $tagged[0] . '[/zrl]', '[zrl=' . $a->get_baseurl() . '/photos/' . $owner_record['nickname'] . '/image/' . $p[0]['resource-id'] . ']' . t('a photo') . '[/zrl]', '[zrl=' . $owner_record['url'] . ']' . $owner_record['name'] . '[/zrl]') ;
- $arr['body'] .= "\n\n" . '[zrl=' . $a->get_baseurl() . '/photos/' . $owner_record['nickname'] . '/image/' . $p[0]['resource_id'] . ']' . '[img]' . $a->get_baseurl() . "/photo/" . $p[0]['resource_id'] . '-' . $best . '.' . $ext . '[/img][/zrl]' . "\n" ;
+ $arr['body'] .= "\n\n" . '[zrl=' . $a->get_baseurl() . '/photos/' . $owner_record['nickname'] . '/image/' . $p[0]['resource_id'] . ']' . '[zmg]' . $a->get_baseurl() . "/photo/" . $p[0]['resource_id'] . '-' . $best . '.' . $ext . '[/zmg][/zrl]' . "\n" ;
$arr['object'] = '<object><type>' . ACTIVITY_OBJ_PERSON . '</type><title>' . $tagged[0] . '</title><id>' . $tagged[1] . '/' . $tagged[0] . '</id>';
$arr['object'] .= '<link>' . xmlify('<link rel="alternate" type="text/html" href="' . $tagged[1] . '" />' . "\n");