You are here

function no_autocomplete_help in No Autocomplete 7

Same name and namespace in other branches
  1. 8 no_autocomplete.module \no_autocomplete_help()

Implements hook_help().

File

./no_autocomplete.module, line 22
No_autocomplete.module.

Code

function no_autocomplete_help($path, $arg) {
  switch ($path) {

    // Main module help.
    case 'admin/help#no_autocomplete':
      $output = '';
      $output .= '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('The No Autocomplete module adds the autocomplete=off attribute to selected key user forms. On a browser that respects this setting, it means that the browser will not try to autocomplete the password on the user login forms.') . '</p>';
      $output .= '<h3>' . t('Uses') . '</h3>';
      $output .= '<dl>';
      $output .= '<dt>' . t('Configuring the module') . '</dt>';
      $output .= '<dd>' . t("To configure the module visit the <a href='@config-page'>No Autocomplete</a> page, <em>check</em> which feature you'd like to enable and save the configuration. For this you need the <em>Administer No Autocomplete</em> permission.", array(
        '@config-page' => url('admin/config/people/no_autocomplete'),
      )) . '</dd>';
      $output .= '</dl>';
      return $output;
  }
}