X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcontact_widgets.php;h=db077b420ff32ca441690fcd4c6431b08b9c1b22;hb=70563e032446aa2113d22253169f0346b5073663;hp=42d3afdee7cd375e6f9e546a0349595d9533dd13;hpb=dedaa301cba5ca6c21af9ec54cc54a7f7480e2f4;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 42d3afdee7..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'] .= '