You are here

function ldapgroups_help in LDAP integration 5

Same name and namespace in other branches
  1. 5.2 ldapgroups.module \ldapgroups_help()

Implementation of hook_help()

File

./ldapgroups.module, line 28

Code

function ldapgroups_help($section) {
  $output = '';
  switch ($section) {
    case 'admin/modules#ldapgroups':
      $output = t('LDAP Groups');
    case 'admin/help#ldapgroups':
    case 'user/help#ldapgroups':
      $output = t('Maps LDAP groups to Drupal roles for users authenticated via <strong>ldapauth</strong> module.');
      break;
    case 'admin/settings/ldapgroups':
      $output = t('Configure the Drupal Roles mapping with the LDAP Groups below. ');
      $output .= t('Only the %activated LDAP configurations are listed. ', array(
        '%activated' => 'activated',
      ));
      $output .= t('Additional LDAP Sources may be configured/enabled in the ');
      $output .= l(t('!modulename', array(
        '!modulename' => 'LDAP Integration',
      )), 'admin/settings/ldapauth');
      $output .= t(' administration area. </p><p style="margin: 1em;"><strong style="color: red;">PLEASE NOTE</strong>: advanced configuration for this module can be set by editing the module\'s config file, located at <em style="font-style: normal; padding: 1px 3px; border: 1px solid #8888CC; background-color: #DDDDFF">modules/ldap_integration/ldap_integration/ldapgroups.conf.php</em> in your Drupal install.</p>');
      break;
  }
  return $output;
}