X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcontact_widgets.php;h=b359781ffd734b818187caaa65df898bc57ac9ba;hb=1f9b52f2bf62a00add5b62b21e2dd009246345ef;hp=6d9b097d693e81e7656dcdd90369d7d84fadf6c1;hpb=dd685a4afcf1ef6171528a4e418d1b308b81c0c6;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 6d9b097d69..b359781ffd 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,31 +1,39 @@ 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(); + $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'] .= '