Files
core/Zotlabs/Widget/Fullprofile.php
2022-10-13 13:15:08 +02:00

23 lines
432 B
PHP

<?php
/**
* * Name: Full profile
* * Description: Profile card with extended profile info
* * Requires: channel, articles, cards, wiki, cloud, photos
*/
namespace Zotlabs\Widget;
class Fullprofile {
function widget($arr) {
if(!(isset(\App::$profile['profile_uid']) && \App::$profile['profile_uid']))
return;
$block = observer_prohibited();
return profile_sidebar(\App::$profile, $block, true, true);
}
}