aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/index.php14
-rw-r--r--admin/plugins/index.php27
-rw-r--r--admin/site/index.php23
-rw-r--r--admin/user/index.php23
4 files changed, 74 insertions, 13 deletions
diff --git a/admin/index.php b/admin/index.php
index 8a59e8f85..217d2de1e 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -15,19 +15,7 @@
require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
// Make sure only valid admin users can see this
- admin_gatekeeper();
-
-
-
-
-
-
- // Get menu list
-
- // render
-
-
-
+ admin_gatekeeper();
// Display main admin menu
page_draw(elgg_echo("admin"),elgg_view("admin/main"));
diff --git a/admin/plugins/index.php b/admin/plugins/index.php
new file mode 100644
index 000000000..4988a64ab
--- /dev/null
+++ b/admin/plugins/index.php
@@ -0,0 +1,27 @@
+<?php
+
+ /**
+ * Elgg administration plugin system index
+ * This is a special page that permits the configuration of plugins in a standard way.
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // Get the Elgg framework
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Make sure only valid admin users can see this
+ admin_gatekeeper();
+
+ // get list of plugins, itterate through - permit enable/disable & further config.
+
+
+ // Display main admin menu
+ page_draw(elgg_echo("admin:plugins"),elgg_view("admin/plugins"));
+
+?> \ No newline at end of file
diff --git a/admin/site/index.php b/admin/site/index.php
new file mode 100644
index 000000000..15224b3b8
--- /dev/null
+++ b/admin/site/index.php
@@ -0,0 +1,23 @@
+<?php
+
+ /**
+ * Elgg administration site system index
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // Get the Elgg framework
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Make sure only valid admin users can see this
+ admin_gatekeeper();
+
+ // Display main admin menu
+ page_draw(elgg_echo("admin:site"),elgg_view("admin/site"));
+
+?> \ No newline at end of file
diff --git a/admin/user/index.php b/admin/user/index.php
new file mode 100644
index 000000000..c1201f652
--- /dev/null
+++ b/admin/user/index.php
@@ -0,0 +1,23 @@
+<?php
+
+ /**
+ * Elgg administration user system index
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ */
+
+ // Get the Elgg framework
+ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
+
+ // Make sure only valid admin users can see this
+ admin_gatekeeper();
+
+ // Display main admin menu
+ page_draw(elgg_echo("admin:user"),elgg_view("admin/user"));
+
+?> \ No newline at end of file