aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Widget/Fullprofile.php
blob: e40188c9ee3ded2ca157e5134749ae4e9cb8f707 (plain) (tree)
1
2
3
4
5
6
7
8

     





                                                              





                               
                                                                                            



                                               
                                                                           

         
<?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);
	}
}