X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcontact_widgets.php;h=bbbd941b5609df3ae7321bc708599e17c6de4ccc;hb=6da01c1a3db29960f7c81582cb52e4254981e9cb;hp=caa0572d20f79aff5a3bf2deb669364836ac10cb;hpb=a69ecb341371cf0a1c2847ff19abd88f362021c9;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index caa0572d20..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'] .= '