aboutsummaryrefslogtreecommitdiff
path: root/admin/site.php
blob: ad05ea312dd2dc8573e7c8240cbf87def3a85699 (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);