You are here

function encrypt_help in Encrypt 7

Same name and namespace in other branches
  1. 6 encrypt.module \encrypt_help()
  2. 7.3 encrypt.module \encrypt_help()
  3. 7.2 encrypt.module \encrypt_help()

Implementation of hook_help().

File

./encrypt.module, line 56
Main Encrypt Drupal File

Code

function encrypt_help($path, $arg) {
  switch ($path) {
    case 'admin/help#encrypt':
      $output = '<p>' . t('The encrypt module Provides an API for two-way encryption. Drupal has no native way to do two-way encryption. PHP\'s ability to do two-way encryption is a little more involved than most people care to get into.  This module provides an easy way to encrypt() and decrypt().') . '</p>';
      if (!function_exists('mcrypt_encrypt')) {
        $output .= '<p>' . t('MCrypt is currently not installed or configured properly on your server. If you would like to use the "MCrypt AES 256" method for encryption (highly recommended), follow the instructions for installing MCrypt !link.', array(
          '!link' => l('here', 'http://www.php.net/manual/en/mcrypt.setup.php'),
        )) . '</p>';
      }
      return $output;
  }
}