aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authoricewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 15:28:07 +0000
committericewing <icewing@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-11 15:28:07 +0000
commit4f9f1db1ad4e524960a0b3544f06b94717fc3875 (patch)
treeaa213b9db76bc1f0295fffab1c6fc69ca2425431 /admin
parent33cfe143311844cbde22177e07e4f1742bb04e25 (diff)
downloadelgg-4f9f1db1ad4e524960a0b3544f06b94717fc3875.tar.gz
elgg-4f9f1db1ad4e524960a0b3544f06b94717fc3875.tar.bz2
Marcus Povey <marcus@dushka.co.uk>
* Initial administration panel git-svn-id: https://code.elgg.org/elgg/trunk@867 36083f99-b078-4883-b0ff-0f9b5a30f544
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