aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/layouts
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 22:50:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-06-11 22:50:09 +0000
commit921e5f37131daeeab0aca5b8b6d366e9f4320b2b (patch)
treeb4cbdf5229a9ff7e5dbd579fe8feca81ec12cf3d /views/default/page/layouts
parentfd7f5c9e22c0d129d786bbefb7bde6bd09ef4bb4 (diff)
downloadelgg-921e5f37131daeeab0aca5b8b6d366e9f4320b2b.tar.gz
elgg-921e5f37131daeeab0aca5b8b6d366e9f4320b2b.tar.bz2
sort widgets for add widgets panel
git-svn-id: http://code.elgg.org/elgg/trunk@9185 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page/layouts')
-rw-r--r--views/default/page/layouts/widgets/add_panel.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/default/page/layouts/widgets/add_panel.php b/views/default/page/layouts/widgets/add_panel.php
index 2786e83b2..91f74cc55 100644
--- a/views/default/page/layouts/widgets/add_panel.php
+++ b/views/default/page/layouts/widgets/add_panel.php
@@ -12,6 +12,7 @@ $context = $vars['context'];
$exact = elgg_extract('exact_match', $vars, false);
$widget_types = elgg_get_widget_types($context, $exact);
+usort($widget_types, create_function('$a,$b', 'return strcmp($a->name,$b->name);'));
$current_handlers = array();
foreach ($widgets as $column_widgets) {