| 1 |
<?php |
<?php |
| 2 |
/* $Id: recaptcha.module,v 1.13.2.4.2.11.2.10 2009/08/10 17:50:02 robloach Exp $ */ |
/* $Id: recaptcha.module,v 1.13.2.4.2.11.2.11 2009/08/10 18:16:17 robloach Exp $ */ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
/** |
/** |
| 10 |
* Display help and module information. |
* Implementation of hook_help(). |
|
* |
|
|
* @param $path |
|
|
* The path of the section of the site we're displaying help for. |
|
|
* @return |
|
|
* Help text for section. |
|
| 11 |
*/ |
*/ |
| 12 |
function recaptcha_help($path, $arg) { |
function recaptcha_help($path, $arg) { |
| 13 |
$output = ''; |
$output = ''; |
| 190 |
* Load the recaptcha library. |
* Load the recaptcha library. |
| 191 |
*/ |
*/ |
| 192 |
function _recaptcha_load_library() { |
function _recaptcha_load_library() { |
| 193 |
module_load_include('inc', 'recaptcha'); |
module_load_include('php', 'recaptcha', 'recaptcha/recaptchalib'); |
|
if (@!include_once(drupal_get_path('module', 'recaptcha') . '/recaptcha/recaptchalib.php')) { |
|
|
_recaptcha_library_not_found(); |
|
|
} |
|
| 194 |
} |
} |