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

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