aboutsummaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to 'admin')
-rw-r--r--admin/index.php23
-rw-r--r--admin/plugins/index.php24
-rw-r--r--admin/site/index.php23
-rw-r--r--admin/statistics/index.php25
-rw-r--r--admin/user/index.php42
5 files changed, 0 insertions, 137 deletions
diff --git a/admin/index.php b/admin/index.php
deleted file mode 100644
index 4a84b152e..000000000
--- a/admin/index.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?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 admin users can see this
- admin_gatekeeper();
-
- // Display main admin menu
- page_draw(elgg_echo("admin"),elgg_view_layout("one_column", elgg_view("admin/main")));
-
-?> \ No newline at end of file
diff --git a/admin/plugins/index.php b/admin/plugins/index.php
deleted file mode 100644
index 14d830840..000000000
--- a/admin/plugins/index.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?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();
-
- // Display main admin menu
- page_draw(elgg_echo("admin:plugins"),elgg_view_layout("one_column", elgg_view("admin/plugins", array('installed_plugins' => get_installed_plugins()))));
-
-?> \ No newline at end of file
diff --git a/admin/site/index.php b/admin/site/index.php
deleted file mode 100644
index c3ffbc272..000000000
--- a/admin/site/index.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?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_layout("one_column",elgg_view("admin/site")));
-
-?> \ No newline at end of file
diff --git a/admin/statistics/index.php b/admin/statistics/index.php
deleted file mode 100644
index ee3cb15a8..000000000
--- a/admin/statistics/index.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-
- /**
- * Elgg administration statistics index
- * This is a special page that displays a number of statistics
- *
- * @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:statistics"),elgg_view_layout("one_column",elgg_view("admin/statistics")));
-
-?>
diff --git a/admin/user/index.php b/admin/user/index.php
deleted file mode 100644
index cd2b68d52..000000000
--- a/admin/user/index.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?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();
-
- // Are we performing a search
- $search = get_input('s');
- $limit = get_input('limit', 10);
- $offset = get_input('offset', 0);
-
- $context = get_context();
- set_context('search');
-
- if ($search){
- $entities = search_for_user($search, $limit, $offset, "",false);
- $count = search_for_user($search, $limit, $offset, "",true);
-
- $result = elgg_view_entity_list($entities, $count, $offset, $limit, false);
- } else {
- $result = list_entities_from_metadata("", $tag, "user", "",0, $limit, false);
- }
-
-
-
- // Display main admin menu
- page_draw(elgg_echo("admin:user"),elgg_view_layout("one_column", elgg_view("admin/user") . $result));
- set_context($context);
-?> \ No newline at end of file