diff options
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/index.php | 21 | ||||
| -rw-r--r-- | admin/plugins.php | 30 | ||||
| -rw-r--r-- | admin/site.php | 26 | ||||
| -rw-r--r-- | admin/statistics.php | 27 | ||||
| -rw-r--r-- | admin/user.php | 45 |
5 files changed, 0 insertions, 149 deletions
diff --git a/admin/index.php b/admin/index.php deleted file mode 100644 index dbe5185aa..000000000 --- a/admin/index.php +++ /dev/null @@ -1,21 +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-2009
- * @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();
- forward('pg/admin/statistics/')
-
-?>
\ No newline at end of file diff --git a/admin/plugins.php b/admin/plugins.php deleted file mode 100644 index 4ec3dfa56..000000000 --- a/admin/plugins.php +++ /dev/null @@ -1,30 +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 Curverider Ltd - * @copyright Curverider Ltd 2008-2009 - * @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(); - - // Set admin user for user block - //set_page_owner($_SESSION['guid']);
-
- // Regenerate plugin list
- regenerate_plugin_list(); - - // Display main admin menu - page_draw(elgg_echo("admin:plugins"),elgg_view_layout("two_column_left_sidebar", '', elgg_view_title(elgg_echo('admin:plugins')) . elgg_view("admin/plugins", array('installed_plugins' => get_installed_plugins())))); - -?>
\ No newline at end of file diff --git a/admin/site.php b/admin/site.php deleted file mode 100644 index 18666eace..000000000 --- a/admin/site.php +++ /dev/null @@ -1,26 +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 Curverider Ltd
- * @copyright Curverider Ltd 2008-2009
- * @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();
-
- // Set admin user for user block
- //set_page_owner($_SESSION['guid']);
-
- // Display main admin menu
- page_draw(elgg_echo("admin:site"),elgg_view_layout("two_column_left_sidebar",'', elgg_view_title(elgg_echo('admin:site')) . elgg_view("admin/site")));
-
-?>
\ No newline at end of file diff --git a/admin/statistics.php b/admin/statistics.php deleted file mode 100644 index ba0a916e8..000000000 --- a/admin/statistics.php +++ /dev/null @@ -1,27 +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 Curverider Ltd - * @copyright Curverider Ltd 2008-2009 - * @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(); - - // Set admin user for user block - //set_page_owner($_SESSION['guid']); - - // Display main admin menu - page_draw(elgg_echo("admin:statistics"),elgg_view_layout("two_column_left_sidebar",'',elgg_view_title(elgg_echo('admin:statistics')) . elgg_view("admin/statistics"))); - -?> diff --git a/admin/user.php b/admin/user.php deleted file mode 100644 index f6798f4da..000000000 --- a/admin/user.php +++ /dev/null @@ -1,45 +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 Curverider Ltd
- * @copyright Curverider Ltd 2008-2009
- * @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();
-
- // Set admin user for user block
- //set_page_owner($_SESSION['guid']);
-
- // Are we performing a search
- $search = get_input('s');
- $limit = get_input('limit', 10);
- $offset = get_input('offset', 0);
-
- $context = get_context();
-
- $title = elgg_view_title(elgg_echo('admin:user'));
-
- set_context('search');
-
- $result = list_entities('user');
-
- set_context('admin');
-
- // Display main admin menu
- page_draw(elgg_echo("admin:user"),
- elgg_view_layout("two_column_left_sidebar",
- '',
- $title . elgg_view("admin/user") . $result)
- );
-
-?>
\ No newline at end of file |
