function _botcha_i18n in BOTCHA Spam Prevention 6.3
Same name and namespace in other branches
- 6 botcha.module \_botcha_i18n()
- 6.2 botcha.module \_botcha_i18n()
- 7 botcha.module \_botcha_i18n()
- 7.2 botcha.module \_botcha_i18n()
- 7.3 botcha.module \_botcha_i18n()
File
- ./
botcha.module, line 289 - BOTCHA - Spam Prevention It modifies forms by adding various botcha's.
Code
function _botcha_i18n() {
$variables = _botcha_variables(TRUE);
$i18n_variables = variable_get('i18n_variables', array());
if (in_array($variables[0], $i18n_variables)) {
return;
}
$i18n_variables = array_merge($i18n_variables, $variables);
variable_set('i18n_variables', $i18n_variables);
}