blob: ed8457a7e905b7e905037ff1c8a32572e1162fc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<?php
/**
* Show the pages tree
*
* @package ElggPages
*/
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
if (is_callable('group_gatekeeper')) {
group_gatekeeper();
}
$page = (int) get_input('root',get_input('source'));
if (!$page = get_entity($page)) {
exit;
}
// View tree
echo pages_get_entity_sidebar($page, $fulltree);
|