X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcontact_widgets.php;h=bbbd941b5609df3ae7321bc708599e17c6de4ccc;hb=d138b118689d42ae20f6c12cc49e30385d88ea2e;hp=424f2997ef1610e4bd17ef46e8ec42f3ba05f73b;hpb=c3ada095f4156bba01e77d2d250d5821ba5e859e;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 424f2997ef..bbbd941b56 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,31 +1,31 @@ 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(); - $inv = (($a->config['register_policy'] != REGISTER_CLOSED) ? t('Invite Friends') : ''); - if(get_config('system','invitation_only')) { $x = get_pconfig(local_user(),'system','invites_remaining'); if($x || is_site_admin()) { - $a->page['aside'] .= '