aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/plugins/advanced.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-08 12:11:28 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-08 12:11:28 +0000
commit0a7097ed0e2f8a5f5249210a491365e1ad66fe1b (patch)
tree24481c5478f74b7f0300b5e571bd396539874c79 /views/default/admin/plugins/advanced.php
parent09acef596481519fa9327950fa9e724357d840b8 (diff)
downloadelgg-0a7097ed0e2f8a5f5249210a491365e1ad66fe1b.tar.gz
elgg-0a7097ed0e2f8a5f5249210a491365e1ad66fe1b.tar.bz2
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
Diffstat (limited to 'views/default/admin/plugins/advanced.php')
-rw-r--r--views/default/admin/plugins/advanced.php6
1 files changed, 3 insertions, 3 deletions
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',