X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcontact_widgets.php;h=db077b420ff32ca441690fcd4c6431b08b9c1b22;hb=70563e032446aa2113d22253169f0346b5073663;hp=ea71b3b707b35b5a2fe3c3d5c976eb6be15ace63;hpb=f558a1fe8d8f67d4dd9c32f63a7b46c2bcf1a769;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index ea71b3b707..db077b420f 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,31 +1,34 @@ 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'); + require_once 'include/Contact.php'; $a = get_app(); - if(get_config('system','invitation_only')) { - $x = get_pconfig(local_user(),'system','invites_remaining'); - if($x || is_site_admin()) { - $a->page['aside'] .= '