aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Fullprofile.php
blob: edff88e31d90fed18c09f7f9aaf038891dfd5844 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?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(! \App::$profile['profile_uid'])
			return;

		$block = observer_prohibited();

		return profile_sidebar(\App::$profile, $block, true, true);
	}
}