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