You are here

function advanced_menu_core_about_page in Advanced Menu 7

Menu callback which provides a short description of the Advanced Menu module.

1 string reference to 'advanced_menu_core_about_page'
advanced_menu_core_menu in core/advanced_menu_core.module
Implements hook_menu().

File

core/advanced_menu_core.admin.inc, line 51
Administrative page callbacks for advanced_menu_core module.

Code

function advanced_menu_core_about_page() {
  $output = '<table class="system-status-report">';
  $output .= '<tr class="ok"><td colspan="2">Advanced Menus has been enabled and is active.</td></tr>';
  $output .= '<tr><td class="info" width="25%"><h2>Core</h2></td>';
  if (module_exists('advanced_menu_core')) {
    $output .= '<td class="ok">Core has been enabled and is active.';
  }
  else {
    $output .= '<td class="error">Core has not been enabled and is not active.';
  }
  $output .= ' This sub-module overrides Drupal Core access and page render functions as they relate to the menu module.</td></tr>';
  $output .= '<tr><td class="info"><h2>Admin</h2></td>';
  if (module_exists('advanced_menu_menu_admin')) {
    $output .= '<td class="ok">Admin has been enabled and is active.';
  }
  else {
    $output .= '<td class="error">Admin has not been enabled and is not active.';
  }
  $output .= ' This sub-module allows for role based menu editors to be specificed and alters the menu forms.</td></tr>';
  $output .= '<tr><td class="info"><h2>Blocks</h2></td>';
  if (module_exists('advanced_menu_blocks')) {
    $output .= '<td class="ok">Blocks has been enabled and is active.';
  }
  else {
    $output .= '<td class="error">Blocks has not been enabled and is not active.';
  }
  $output .= ' This sub-module allows for the customization of menu blocks as displayed on the blocks admin page.</td></tr>';
  $output .= '<tr><td class="info"><h2>Attributes</h2></td>';
  if (module_exists('advanced_menu_menu_attributes')) {
    $output .= '<td class="ok">Attributes has been enabled and is active.';
  }
  else {
    $output .= '<td class="error">Attributes has not been enablted and is not active.';
  }
  $output .= ' This sub-module allows for additional menu and item attributes. At present, this provides an expiration date for menu items.</td></tr>';
  $output .= '<tr><td class="info"><h2>Sub Menus</h2></td>';
  if (module_exists('advanced_menu_submenu')) {
    $output .= '<td class="ok">Sub Menus has been enabled and is active.';
  }
  else {
    $output .= '<td class="error">Sub Menus has not been enabled and is not active.';
  }
  $output .= ' This sub-module allows for menus to be added as links within other menus. This permits sub menus, or merged menus, to be shown as a single menu.</td></tr>';
  $output .= '<tr><td class="info"><h2>Users</h2></td>';
  $output .= '</table>';
  return $output;
}