aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-05-04 20:42:14 +0200
committerzottel <github@zottel.net>2012-05-04 20:42:14 +0200
commitdedaa301cba5ca6c21af9ec54cc54a7f7480e2f4 (patch)
treef71428787e701421068ce53e446bed47b7078fcf /include/contact_widgets.php
parenta9f825ec3fc8b44115b1fae3b1aeb2c07f23e3de (diff)
parent37d4181fde392b5d31d77531255b345d9a0e718b (diff)
downloadvolse-hubzilla-dedaa301cba5ca6c21af9ec54cc54a7f7480e2f4.tar.gz
volse-hubzilla-dedaa301cba5ca6c21af9ec54cc54a7f7480e2f4.tar.bz2
volse-hubzilla-dedaa301cba5ca6c21af9ec54cc54a7f7480e2f4.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index 4dab6a53e..42d3afdee 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -175,12 +175,16 @@ function common_friends_visitor_widget($profile_uid) {
return;
if($cid)
- $r = common_friends($profile_uid,$cid,5,true);
+ $r = common_friends($profile_uid,$cid,0,5,true);
else
- $r = common_friends_zcid($profile_uid,$zcid,5,true);
+ $r = common_friends_zcid($profile_uid,$zcid,0,5,true);
return replace_macros(get_markup_template('remote_friends_common.tpl'), array(
- '$desc' => sprintf( tt("%d friend in common", "%d friends in common", $t), $t),
+ '$desc' => sprintf( tt("%d contact in common", "%d contacts in common", $t), $t),
+ '$base' => $a->get_baseurl(),
+ '$uid' => $profile_uid,
+ '$cid' => $cid,
+ '$more' => t('show more'),
'$items' => $r
));