aboutsummaryrefslogtreecommitdiff
path: root/admin/index.php
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 11:33:12 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 11:33:12 +0000
commitd884f0d1f1378061e9ae78f86a44aaa7c85fdece (patch)
tree2898ed5415ac3ea10e97175eaaca6ba110f929a9 /admin/index.php
parent0cf0bca9495528ce17d544d8baa840fddcb8cf86 (diff)
downloadelgg-d884f0d1f1378061e9ae78f86a44aaa7c85fdece.tar.gz
elgg-d884f0d1f1378061e9ae78f86a44aaa7c85fdece.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Starting admin and relocating to the garden... git-svn-id: https://code.elgg.org/elgg/trunk@863 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'admin/index.php')
-rw-r--r--admin/index.php17
1 files changed, 13 insertions, 4 deletions
diff --git a/admin/index.php b/admin/index.php
index 9011e7e8b..8a59e8f85 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -14,11 +14,20 @@
// Get the Elgg framework
require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
- // Make sure only valid users can see this
- gatekeeper();
- if (!$_SESSION['user']->admin && !$_SESSION['user']->siteadmin) forward();
+ // Make sure only valid admin users can see this
+ admin_gatekeeper();
+
- $menuoptions = get_register("admin");
+
+
+
+
+ // Get menu list
+
+ // render
+
+
+
// Display main admin menu
page_draw(elgg_echo("admin"),elgg_view("admin/main"));