You are here

function shib_auth_help in Shibboleth Authentication 6.4

Same name and namespace in other branches
  1. 8.4 shib_auth.module \shib_auth_help()
  2. 8 shib_auth.module \shib_auth_help()
  3. 5.3 shib_auth.module \shib_auth_help()
  4. 5.2 shib_auth.module \shib_auth_help()
  5. 6 shib_auth.module \shib_auth_help()
  6. 6.2 shib_auth.module \shib_auth_help()
  7. 6.3 shib_auth.module \shib_auth_help()
  8. 7.4 shib_auth.module \shib_auth_help()

Display help and module information

Parameters

path which path of the site we're displaying help:

arg array that holds the current path as would be returned from arg() function:

Return value

help text for the path

File

./shib_auth.module, line 107
Drupal Shibboleth authentication module.

Code

function shib_auth_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/help#shib_auth':
      $output = t('<p>The Shibboleth authentication module lets you utilize the advantages of the Single Sign On (SSO) methods.</p>');
      $output .= t('<p>For more help related to Shibboleth and module configuration, see <a href=\\"@wiki\\">NIIF AAI wiki pages</a></p>', array(
        '@wiki' => url('https://wiki.aai.niif.hu/index.php/Drupal_Shibboleth_module'),
      ));
      break;
    case 'admin/user/shib_auth':
      $output = t('<p>The text shown in the block and on other login pages can be changed on the <a href=\\"@block\\">block settings page</a></p>', array(
        '@block' => url('admin/build/block/configure/shib_auth/0'),
      ));
      break;
  }
  return $output;
}