From ff31226fdeb972aac2f37f0098240cb366a9bb26 Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 5 May 2010 19:14:48 +0000 Subject: Merged 18_new_admin branch to trunk. git-svn-id: http://code.elgg.org/elgg/trunk@5977 36083f99-b078-4883-b0ff-0f9b5a30f544 --- admin/index.php | 2 +- admin/menu_items.php | 21 --------------------- admin/plugins.php | 49 ------------------------------------------------- admin/site.php | 23 ----------------------- admin/statistics.php | 23 ----------------------- admin/user.php | 34 ---------------------------------- 6 files changed, 1 insertion(+), 151 deletions(-) delete mode 100644 admin/menu_items.php delete mode 100644 admin/plugins.php delete mode 100644 admin/site.php delete mode 100644 admin/statistics.php delete mode 100644 admin/user.php (limited to 'admin') diff --git a/admin/index.php b/admin/index.php index 4ee190213..1d41306b6 100644 --- a/admin/index.php +++ b/admin/index.php @@ -13,4 +13,4 @@ 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 +forward('pg/admin/overview/'); \ No newline at end of file diff --git a/admin/menu_items.php b/admin/menu_items.php deleted file mode 100644 index 5642957e1..000000000 --- a/admin/menu_items.php +++ /dev/null @@ -1,21 +0,0 @@ - get_register('menu') -); - -$main_box = elgg_view("admin/menu_items", $vars); -$content = elgg_view_layout("one_column_with_sidebar", $main_box); - -page_draw(elgg_echo('admin:plugins'), $content); \ No newline at end of file diff --git a/admin/plugins.php b/admin/plugins.php deleted file mode 100644 index 39478f153..000000000 --- a/admin/plugins.php +++ /dev/null @@ -1,49 +0,0 @@ - $plugin) { - $plugin_categories = $plugin['manifest']['category']; - - // handle plugins that don't declare categories - if ((!$plugin_categories && $show_category) || ($show_category && !in_array($show_category, $plugin_categories))) { - unset($installed_plugins[$i]); - } - - foreach ($plugin_categories as $category) { - if (!array_key_exists($category, $categories)) { - $categories[$category] = elgg_echo("admin:plugins:label:moreinfo:categories:$category"); - } - } -} - -// Display main admin menu -$vars = array( - 'installed_plugins' => $installed_plugins, - 'categories' => $categories, - 'show_category' => $show_category -); - -$main_box = elgg_view("admin/plugins", $vars); -$content = elgg_view_layout("one_column_with_sidebar", $main_box); - -page_draw(elgg_echo('admin:plugins'), $content); diff --git a/admin/site.php b/admin/site.php deleted file mode 100644 index aed952318..000000000 --- a/admin/site.php +++ /dev/null @@ -1,23 +0,0 @@ -".elgg_list_entities(array('type' => 'user', 'limit' => $limit, 'offset' => $offset, 'full_view' => FALSE)).""; - -set_context('admin'); - -// Display main admin menu -page_draw(elgg_echo("admin:user"), - elgg_view_layout("one_column_with_sidebar", $title . elgg_view("admin/user") . $result)); -- cgit v1.2.3