From 7e6890832b15d8417cb812cbaa00d3ed8c954ef0 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 15 Apr 2013 03:00:08 -0700 Subject: turn all Red links into zrls (not the old zrls, the new bbcode zrl which means we can zidify them) --- mod/like.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mod/like.php') 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 ); -- cgit v1.2.3