diff --git a/aes.install b/aes.install index 6b04d4d..55e78a0 100755 --- a/aes.install +++ b/aes.install @@ -6,16 +6,19 @@ function aes_requirements($phase) { if ($aes_implementations['mcrypt'] === false && $aes_implementations['phpseclib'] === false) { $requirement_severity = REQUIREMENT_ERROR; + $requirement_value = t('Missing'); } else { $requirement_severity = REQUIREMENT_OK; + $requirement_value = t('Found'); } $requirements = array( array( - 'title' => t('AES encryption implementation'), - 'description' => t('The AES encryption module requires at least one of two things to function: Either the PHP Mcrypt extension has to be installed on the web server. Or the PHP Secure Communications Library (phpseclib) needs to be installed in the AES directory. Check the README.txt for more information.'), - 'severity' => $requirement_severity, + 'title' => t('AES encryption implementation'), + 'description' => t('The AES encryption module requires at least one of two things to function: Either the PHP Mcrypt extension has to be installed on the web server. Or the PHP Secure Communications Library (phpseclib) needs to be installed in the AES directory. Check the README.txt for more information.'), + 'severity' => $requirement_severity, + 'value' => $requirement_value, ), );