aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-04 19:37:35 -0700
committerzotlabs <mike@macgirvin.com>2017-10-04 19:37:35 -0700
commit2862baeee1cbecead3c9d38d2798140ac0256d1a (patch)
tree525c291cd4611b0cbb481bb928d1c653cfa6a700 /include/contact_widgets.php
parent47b29594867deb96f6b93d8a5ace8d4d4e569630 (diff)
parent6f88d5e92be06ad8fa61f900e8a4fb41ba54135e (diff)
downloadvolse-hubzilla-2862baeee1cbecead3c9d38d2798140ac0256d1a.tar.gz
volse-hubzilla-2862baeee1cbecead3c9d38d2798140ac0256d1a.tar.bz2
volse-hubzilla-2862baeee1cbecead3c9d38d2798140ac0256d1a.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/contact_widgets.php b/include/contact_widgets.php
index e5bb696f8..a13f87573 100644
--- a/include/contact_widgets.php
+++ b/include/contact_widgets.php
@@ -143,7 +143,7 @@ function cardcategories_widget($baseurl,$selected = '') {
-function common_friends_visitor_widget($profile_uid,$cnt = 10) {
+function common_friends_visitor_widget($profile_uid,$cnt = 25) {
if(local_channel() == $profile_uid)
return;
@@ -161,14 +161,14 @@ function common_friends_visitor_widget($profile_uid,$cnt = 10) {
return;
$r = common_friends($profile_uid,$observer_hash,0,$cnt,true);
-
+
return replace_macros(get_markup_template('remote_friends_common.tpl'), array(
- '$desc' => sprintf( t('Common connections: %d'), $t),
+ '$desc' => t('Common Connections'),
'$base' => z_root(),
'$uid' => $profile_uid,
'$cid' => $observer,
'$linkmore' => (($t > $cnt) ? 'true' : ''),
- '$more' => t('show more'),
+ '$more' => sprintf( t('View all %d common connections'), $t),
'$items' => $r
));