You are here

function og_menu_help in Organic Groups Menu (OG Menu) 5

Same name and namespace in other branches
  1. 7.3 og_menu.module \og_menu_help()
  2. 7.2 og_menu.module \og_menu_help()

Implementation of hook_help().

File

./og_menu.module, line 21
Modifies the menu module to support menus specific to organic groups.

Code

function og_menu_help($section) {
  $output = '';
  switch ($section) {
    case 'admin/build/menu':
      $output = t("OG menu modifies the menu module so as to allow users to create/access/edit menus associated with groups to which they belong. OG menu automatically the menus that are associated with a particular group.", array(
        "@admin-settings-og-menu" => url("admin/build/menu/settings"),
      ));
      break;
    case 'admin/help#og_menu':
      $output = t("<p>OG menu modifies usage of Drupal's menu module slightly so that users are only presented with menus that are associated for groups to which they belong. This is important when there are several organic groups and it is desired to let them edit menus for their group without being able to edit any other all other menus (as the default menu module allows people with 'administer menus' access to see every menu in the current Drupal site).</p>");
      $output .= t("<p>OG menu automatically creates and activates menus for groups so that users can concentrate solely on adding links to their menus. In addition a small override of the node module is provided to allow users without administer nodes permissions to control publication of a node; this enables users to control node publication without wider control of nodes.</p>");
      $output .= t("For more information regarding OG menu, visit the <a href=\"@menuhelp\">Menu module's help page</a>.", array(
        "@menuhelp" => url("admin/help/menu"),
      ));
      break;
  }
  return $output;
}