aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/object/page.php
blob: dbca0755b6aba4fb8b9c13db912c2e1f8c458de8 (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('listtype') == "gallery") {
		echo elgg_view('pages/pagegallery', $vars);
	} else {
		echo elgg_view("pages/pagelisting", $vars);
	}
}