aboutsummaryrefslogtreecommitdiff
path: root/admin/site.php
blob: 5e0f2a6a021272c7b4d3060e052e631eac9e6a63 (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("two_column_left_sidebar", '', $title . $main_box);

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