diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-15 13:35:37 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-05-15 13:35:37 +0000 |
commit | 1a08a1f4a273737afb508c781d5f39cef021a273 (patch) | |
tree | 7b4c1766c7b6d0f1e492e467dccb19869f39445a /admin | |
parent | ef3e87ebcf82fbf172aa719e23ef1a6cfca7a948 (diff) | |
download | elgg-1a08a1f4a273737afb508c781d5f39cef021a273.tar.gz elgg-1a08a1f4a273737afb508c781d5f39cef021a273.tar.bz2 |
Moving some stuff into the plugins repo, where it belongs.
git-svn-id: https://code.elgg.org/elgg/trunk@646 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'admin')
-rw-r--r-- | admin/index.php | 26 | ||||
-rw-r--r-- | admin/plugins/index.php | 3 | ||||
-rw-r--r-- | admin/settings/index.php | 3 | ||||
-rw-r--r-- | admin/users/index.php | 3 |
4 files changed, 35 insertions, 0 deletions
diff --git a/admin/index.php b/admin/index.php new file mode 100644 index 000000000..9011e7e8b --- /dev/null +++ b/admin/index.php @@ -0,0 +1,26 @@ +<?php
+
+ /**
+ * Elgg administration system index
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Curverider Ltd
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // 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();
+
+ $menuoptions = get_register("admin");
+
+ // Display main admin menu
+ page_draw(elgg_echo("admin"),elgg_view("admin/main"));
+
+?>
\ No newline at end of file diff --git a/admin/plugins/index.php b/admin/plugins/index.php new file mode 100644 index 000000000..0165eb215 --- /dev/null +++ b/admin/plugins/index.php @@ -0,0 +1,3 @@ +<?php
+
+?>
\ No newline at end of file diff --git a/admin/settings/index.php b/admin/settings/index.php new file mode 100644 index 000000000..0165eb215 --- /dev/null +++ b/admin/settings/index.php @@ -0,0 +1,3 @@ +<?php
+
+?>
\ No newline at end of file diff --git a/admin/users/index.php b/admin/users/index.php new file mode 100644 index 000000000..0165eb215 --- /dev/null +++ b/admin/users/index.php @@ -0,0 +1,3 @@ +<?php
+
+?>
\ No newline at end of file |