Sort the blocks menu..

This commit is contained in:
moodler
2005-02-17 02:19:55 +00:00
parent 1f473774f3
commit 4a4c30d24d
+1
View File
@@ -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);