aboutsummaryrefslogtreecommitdiffstats
path: root/mod/like.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-15 03:00:08 -0700
committerfriendica <info@friendica.com>2013-04-15 03:00:08 -0700
commit7e6890832b15d8417cb812cbaa00d3ed8c954ef0 (patch)
treeff94dd547504ac2f3a65a18bda3a8804fdb5da43 /mod/like.php
parentab5151c470e630aa3864bbed927dd02f7b192166 (diff)
downloadvolse-hubzilla-7e6890832b15d8417cb812cbaa00d3ed8c954ef0.tar.gz
volse-hubzilla-7e6890832b15d8417cb812cbaa00d3ed8c954ef0.tar.bz2
volse-hubzilla-7e6890832b15d8417cb812cbaa00d3ed8c954ef0.zip
turn all Red links into zrls (not the old zrls, the new bbcode zrl which means we can zidify them)
Diffstat (limited to 'mod/like.php')
-rwxr-xr-xmod/like.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/like.php b/mod/like.php
index ce7d28f5c..35a94ab78 100755
--- a/mod/like.php
+++ b/mod/like.php
@@ -153,9 +153,9 @@ function like_content(&$a) {
$arr['author_xchan'] = $observer['xchan_hash'];
- $ulink = '[url=' . $thread_owner['xchan_url'] . ']' . $thread_owner['xchan_name'] . '[/url]';
- $alink = '[url=' . $observer['xchan_url'] . ']' . $observer['xchan_name'] . '[/url]';
- $plink = '[url=' . $a->get_baseurl() . '/display/' . $item['mid'] . ']' . $post_type . '[/url]';
+ $ulink = '[zrl=' . $thread_owner['xchan_url'] . ']' . $thread_owner['xchan_name'] . '[/zrl]';
+ $alink = '[zrl=' . $observer['xchan_url'] . ']' . $observer['xchan_name'] . '[/zrl]';
+ $plink = '[zrl=' . $a->get_baseurl() . '/display/' . $item['mid'] . ']' . $post_type . '[/zrl]';
$arr['body'] = sprintf( $bodyverb, $alink, $ulink, $plink );