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