X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcontact_widgets.php;h=b359781ffd734b818187caaa65df898bc57ac9ba;hb=1f9b52f2bf62a00add5b62b21e2dd009246345ef;hp=810671a91cceee3e4ce78a646b56b7ef443a79d3;hpb=992684c3620185da00663e25eb1460c4b18920ea;p=friendica.git diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 810671a91c..b359781ffd 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -1,8 +1,14 @@ t('Add New Contact'), '$desc' => t('Enter address or web location'), '$hint' => t('Example: bob@example.com, http://example.com/barbara'), @@ -13,20 +19,21 @@ function follow_widget($value = "") { } 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'] .= '