*/
use Friendica\App;
+use Friendica\Content\Widget;
use Friendica\Core\Protocol;
use Friendica\Core\Renderer;
use Friendica\Database\DBA;
use Friendica\DI;
use Friendica\Model\Contact;
-use Friendica\Model\Profile;
use Friendica\Model\User;
use Friendica\Util\Strings;
// NOTREACHED
}
- // Makes the connection request for friendica contacts easier
- $_SESSION['fastlane'] = $contact['url'];
-
if (!empty($_REQUEST['auto'])) {
unfollow_process($contact['url']);
}
'$keywords_label'=> ''
]);
- DI::page()['aside'] = '';
- Profile::load($a, '', Contact::getByURL($contact['url'], false));
+ DI::page()['aside'] = Widget\VCard::getHTML(Contact::getByURL($contact['url'], false));
$o .= Renderer::replaceMacros(Renderer::getMarkupTemplate('section_title.tpl'), ['$title' => DI::l10n()->t('Status Messages and Posts')]);
}
DI::baseUrl()->redirect($return_path);
-}
\ No newline at end of file
+}