X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcontact_widgets.php;h=0b82fcb8f36b64b090fe82a99e14d07225d74123;hb=2148a2bdb0cb38d3a085109eeeb6acc5d65484e6;hp=16ed33429399a9d3e0f5c29308899a4d3079ca2e;hpb=622b532f2336ff377283fdcdbe2f74cc0bdde048;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 16ed334293..0b82fcb8f3 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,5 +1,8 @@ t('Friend Suggestions'), '$similar' => t('Similar Interests'), '$random' => t('Random Profile'), - '$inv' => t('Invite Friends') + '$inv' => t('Invite Friends'), + '$directory' => t('View Global Directory'), + '$global_dir' => $global_dir )); } @@ -49,7 +55,7 @@ function unavailable_networks() { $networks[] = NETWORK_APPNET; } - if (!plugin_enabled("fbpost") AND !plugin_enabled("facebook")) { + if (!plugin_enabled("fbpost") && !plugin_enabled("facebook")) { $networks[] = NETWORK_FACEBOOK; } @@ -206,8 +212,9 @@ function common_friends_visitor_widget($profile_uid) { $a = get_app(); - if (local_user() == $profile_uid) + if (local_user() == $profile_uid) { return; + } $cid = $zcid = 0;