You are here

function _botcha_i18n in BOTCHA Spam Prevention 6

Same name and namespace in other branches
  1. 6.2 botcha.module \_botcha_i18n()
  2. 6.3 botcha.module \_botcha_i18n()
  3. 7 botcha.module \_botcha_i18n()
  4. 7.2 botcha.module \_botcha_i18n()
  5. 7.3 botcha.module \_botcha_i18n()

File

./botcha.module, line 274
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);
}