X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcontact_widgets.php;h=db077b420ff32ca441690fcd4c6431b08b9c1b22;hb=70563e032446aa2113d22253169f0346b5073663;hp=e0f37f078f7cf2241b3e4efc34fbe3b9bcecc3c8;hpb=7127626f55f0ae5843d38145bf80022b98e4a8d8;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php old mode 100755 new mode 100644 index e0f37f078f..db077b420f --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,30 +1,34 @@ 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(); - if(get_config('system','invitation_only')) { - $x = get_pconfig(local_user(),'system','invites_remaining'); - if($x || is_site_admin()) { - $a->page['aside'] .= '