diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-06-09 19:11:55 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-06-09 19:11:55 +0000 |
commit | 727ba0b25e7b5737dcffb3061b96dba5f1a7f034 (patch) | |
tree | 1ed3bc248ca1be0d46d249f738301f3ec67d04a3 /views/default/admin | |
parent | 92819a1cd4ac44607c35de069a1edf8ef5bc4048 (diff) | |
download | elgg-727ba0b25e7b5737dcffb3061b96dba5f1a7f034.tar.gz elgg-727ba0b25e7b5737dcffb3061b96dba5f1a7f034.tar.bz2 |
Refs #2871 only showing links for changing priority when all plugins are shown in priority order
git-svn-id: http://code.elgg.org/elgg/trunk@9154 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin')
-rw-r--r-- | views/default/admin/plugins/advanced.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/views/default/admin/plugins/advanced.php b/views/default/admin/plugins/advanced.php index deae9dcdd..9f426fae2 100644 --- a/views/default/admin/plugins/advanced.php +++ b/views/default/admin/plugins/advanced.php @@ -156,7 +156,16 @@ $buttons .= $category_form . $sort_form; <div id="elgg-plugin-list"> <?php -echo elgg_view_entity_list($plugin_list, 0, 0, 0, true, false, false); +$options = array( + 'limit' => 0, + 'full_view' => true, + 'list_type_toggle' => false, + 'pagination' => false, +); +if ($show_category == 'all' && $sort == 'priority') { + $options['display_reordering'] = true; +} +echo elgg_view_entity_list($plugin_list, $options); ?> </div>
\ No newline at end of file |