aboutsummaryrefslogtreecommitdiff
path: root/admin/site.php
blob: aed9523186ff9267d9349a738e7c171cb1859eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Elgg administration site system index
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */

// Get the Elgg framework
require_once(dirname(dirname(__FILE__)) . "/engine/start.php");

// Make sure only valid admin users can see this
admin_gatekeeper();

// Display main admin menu

$title = elgg_view_title(elgg_echo('admin:site'));
$main_box = elgg_view("admin/site");
$content = elgg_view_layout("one_column_with_sidebar", $title . $main_box);

page_draw(elgg_echo("admin:site"), $content);