X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcontact_widgets.php;h=5dd3a8bb4b163996d597902adff6f99b741f07a3;hb=0e4cd900d5306c0107530f75554c23226edc16a6;hp=fedb946112e8a8b3588365bb7ea321b1dd204f92;hpb=1fc796b2766abfee2d55c9b434d584a61fdb4b07;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index fedb946112..5dd3a8bb4b 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,31 +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'); + 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'] .= '