X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcontact_widgets.php;h=5dd3a8bb4b163996d597902adff6f99b741f07a3;hb=0e4cd900d5306c0107530f75554c23226edc16a6;hp=605a3eb78e64c46bcf4691774a8f1a0a8995fbc5;hpb=cea7ca1df4fd8065c38a4f43a0f13ba89e8b94e2;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php old mode 100755 new mode 100644 index 605a3eb78e..5dd3a8bb4b --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,32 +1,32 @@ t('Add New Contact'), '$desc' => t('Enter address or web location'), '$hint' => t('Example: bob@example.com, http://example.com/barbara'), + '$value' => $value, '$follow' => t('Connect') )); } function findpeople_widget() { + require_once 'include/Contact.php'; $a = get_app(); - $inv = (($a->config['register_policy'] != REGISTER_CLOSED) ? t('Invite Friends') : ''); - - if(get_config('system','invitation_only')) { - $x = get_pconfig(local_user(),'system','invites_remaining'); - if($x || is_site_admin()) { - $a->page['aside'] .= '