aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Fullprofile.php
blob: e40188c9ee3ded2ca157e5134749ae4e9cb8f707 (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(!(isset(\App::$profile['profile_uid']) && \App::$profile['profile_uid']))
			return;

		$block = observer_prohibited();

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