Sort the blocks menu..
This commit is contained in:
@@ -575,6 +575,7 @@ function blocks_print_adminblock(&$page, &$pageblocks) {
|
||||
}
|
||||
$menu[$block->id] = $blockobject->get_title();
|
||||
}
|
||||
asort($menu);
|
||||
|
||||
$target = $page->url_get_full(array('sesskey' => $USER->sesskey, 'blockaction' => 'add'));
|
||||
$content = popup_form($target.'&blockid=', $menu, 'add_block', '', $stradd .'...', '', '', true);
|
||||
|
||||
Reference in New Issue
Block a user