X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcontact_widgets.php;h=9c44f4d15695027027a5f756f8cfb93a1f62d92f;hb=a817a1a070b4530eaeb07c90608e289e451c755b;hp=ea71b3b707b35b5a2fe3c3d5c976eb6be15ace63;hpb=01daaafc92d09f042ae3f881bf97606c449f6d3e;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index ea71b3b707..9c44f4d156 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,31 +1,42 @@ 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(); + $global_dir = Config::get('system', 'directory'); - if(get_config('system','invitation_only')) { - $x = get_pconfig(local_user(),'system','invites_remaining'); - if($x || is_site_admin()) { - $a->page['aside'] .= '