aboutsummaryrefslogtreecommitdiff
path: root/mod/sitepages/views/default/admin/site/sitepages.php
blob: 86cf6760c6ddd3901cbd785cae3f45c8fec0377c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php
/**
 * Settings Site Pages
 *
 * @package SitePages
 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
 * @author Curverider Ltd
 * @copyright Curverider Ltd 2008-2010
 * @link http://elgg.org/
 */

$page_type = 'front';
if (isset($vars['page'][2])) {
	$page_type = $vars['page'][2];
}

echo sitepages_get_edit_section_content($page_type, $vars['entity']);