aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/object/page_top.php
blob: 0a1cfdf8384487a7104e405a717749d9d979f871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php
/**
 * View for page object
 *
 * @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);
	}
}