You are here

function shib_auth_help in Shibboleth Authentication 6.3

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.4 shib_auth.module \shib_auth_help()
  6. 6 shib_auth.module \shib_auth_help()
  7. 6.2 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 15
This is a Shibboleth authentication module.

Code

function shib_auth_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/help#shib_auth':

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