aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-14 17:17:22 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-05-14 17:17:22 +0000
commitcd02daf8a7594b64b575eda24a9d452f27f612cf (patch)
tree1ce6bda306f2222041e4062358907f5100681995 /views/default
parent195e5060fe480717471826cbe1f2ed094109d837 (diff)
downloadelgg-cd02daf8a7594b64b575eda24a9d452f27f612cf.tar.gz
elgg-cd02daf8a7594b64b575eda24a9d452f27f612cf.tar.bz2
sorting plugin categories before display
git-svn-id: http://code.elgg.org/elgg/trunk@9069 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r--views/default/admin/plugins/advanced.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/views/default/admin/plugins/advanced.php b/views/default/admin/plugins/advanced.php
index ea72bab5a..4cefa0b3e 100644
--- a/views/default/admin/plugins/advanced.php
+++ b/views/default/admin/plugins/advanced.php
@@ -39,6 +39,8 @@ foreach ($installed_plugins as $id => $plugin) {
}
}
+asort($categories);
+
$categories = array_merge(array('' => elgg_echo('admin:plugins:category:all')), $categories);
$category_dropdown = elgg_view('input/dropdown', array(