You are here

function ldap_help_help in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_help/ldap_help.module \ldap_help_help()
  2. 8.3 ldap_help/ldap_help.module \ldap_help_help()

File

ldap_help/ldap_help.module, line 121
The ldaphelp module is a module to help admins debug ldap_integration modules.

Code

function ldap_help_help($path, $arg) {
  $help = '<h3>' . t('LDAP Help Module') . '</h3><p>' . t('This module assists Drupal admins in configuring, debugging, sharing, and submitting
  support and bug request related to LDAP modules.') . '<strong><em> ' . t('LDAP Help Module should be disabled unless you are debugging or configuring
    LDAP problems.') . ' </em></strong>' . t('It adds no functionality to the LDAP modules.') . '</p>';
  switch ($path) {
    case 'admin/config/people/ldap/help':
      $output = '<p>' . $help . '</p>';
      return $output;
    case 'admin/help#ldap_help':
      $output = '<p>' . $help . '</p>';
      return $output;
  }
}