function menu_overview_page

7.x menu.admin.inc menu_overview_page()
6.x 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 drupal-6.x/modules/menu/menu.module
Implementation of hook_menu().

File

drupal-6.x/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);
}