aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/object/page.php
blob: 5b4af5198da2efc952e5d53e0c511f2691489557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * Page view
 *
 * @package ElggPages
 */

if ($vars['full']) {
	echo elgg_view("pages/pageprofile", $vars);
} else {
	if (get_input('search_viewtype') == "gallery") {
		echo elgg_view('pages/pagegallery', $vars);
	} else {
		echo elgg_view("pages/pagelisting", $vars);
	}
}