aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-04 19:37:50 -0700
committerzotlabs <mike@macgirvin.com>2017-10-04 19:37:50 -0700
commit4ab21edba8511eb96b08371424841d6ffb808cf8 (patch)
treefcf56e3e85e6d28d8901ef3a0a638bfb40212b51 /include
parent15b9a67c01964b83ac724945fe416dd35f66e914 (diff)
parent6f88d5e92be06ad8fa61f900e8a4fb41ba54135e (diff)
downloadvolse-hubzilla-4ab21edba8511eb96b08371424841d6ffb808cf8.tar.gz
volse-hubzilla-4ab21edba8511eb96b08371424841d6ffb808cf8.tar.bz2
volse-hubzilla-4ab21edba8511eb96b08371424841d6ffb808cf8.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'include')
-rw-r--r--include/contact_widgets.php8
-rw-r--r--include/nav.php2
2 files changed, 6 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
));
diff --git a/include/nav.php b/include/nav.php
index 01decb2bf..eccb89764 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -180,6 +180,8 @@ EOT;
$nav['intros'] = array('connections/ifpending', t('Connections'), "", t('Connections'),'connections_nav_btn');
+ if(is_site_admin())
+ $nav['registrations'] = array('admin/accounts', t('Registrations'), "", t('Registrations'),'registrations_nav_btn');
$nav['notifications'] = array('notifications/system', t('Notices'), "", t('Notifications'),'notifications_nav_btn');