aboutsummaryrefslogtreecommitdiff
path: root/views/default/user/default.php
blob: 8c5fdee3ee710815b7de44290718e0d257afe2a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * Elgg user display
 *
 * @package Elgg
 * @subpackage Core
 */

if ($vars['full']) {
	echo elgg_view("profile/userdetails",$vars);
} else {
	if (get_input('search_viewtype') == "gallery") {
		echo elgg_view('profile/gallery',$vars);
	} else {
		echo elgg_view("profile/listing",$vars);
	}
}