From 0a7097ed0e2f8a5f5249210a491365e1ad66fe1b Mon Sep 17 00:00:00 2001 From: cash Date: Tue, 8 Mar 2011 12:11:28 +0000 Subject: Refs #2871 advanced plugin filtering works - sorting still does odd things git-svn-id: http://code.elgg.org/elgg/trunk@8635 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/plugins/advanced.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views') diff --git a/views/default/admin/plugins/advanced.php b/views/default/admin/plugins/advanced.php index ce465113f..39919f9c7 100644 --- a/views/default/admin/plugins/advanced.php +++ b/views/default/admin/plugins/advanced.php @@ -17,7 +17,7 @@ $show_category = get_input('category', null); // @todo this could be cached somewhere after have the manifest loaded $categories = array(); -foreach ($installed_plugins as $plugin) { +foreach ($installed_plugins as $id => $plugin) { if (!$plugin->isValid()) { continue; } @@ -33,13 +33,13 @@ foreach ($installed_plugins as $plugin) { if (isset($plugin_categories)) { foreach ($plugin_categories as $category) { if (!array_key_exists($category, $categories)) { - $categories[$category] = elgg_echo("admin:plugins:label:moreinfo:categories:$category"); + $categories[$category] = elgg_echo("admin:plugins:category:$category"); } } } } -$categories = array_merge(array('' => elgg_echo('admin:plugins:categories:all')), $categories); +$categories = array_merge(array('' => elgg_echo('admin:plugins:category:all')), $categories); $category_dropdown = elgg_view('input/dropdown', array( 'name' => 'category', -- cgit v1.2.3