function menu_overview_page in Drupal 6
Same name and namespace in other branches
- 7 modules/menu/menu.admin.inc \menu_overview_page()
Menu callback which shows an overview page of all the custom menus and their descriptions.
1 string reference to 'menu_overview_page'
- menu_menu in modules/
menu/ menu.module - Implementation of hook_menu().
File
- modules/
menu/ menu.admin.inc, line 11 - Administrative page callbacks for menu module.
Code
function menu_overview_page() {
$result = db_query("SELECT * FROM {menu_custom} ORDER BY title");
$content = array();
while ($menu = db_fetch_array($result)) {
$menu['href'] = 'admin/build/menu-customize/' . $menu['menu_name'];
$menu['localized_options'] = array();
$menu['description'] = filter_xss_admin($menu['description']);
$content[] = $menu;
}
return theme('admin_block_content', $content);
}