You are here

function _botcha_error_text_errorcode in BOTCHA Spam Prevention 6

Same name and namespace in other branches
  1. 7 botcha.botcha.inc \_botcha_error_text_errorcode()
4 calls to _botcha_error_text_errorcode()
_botcha_recipe2 in ./botcha.botcha.inc
Botcha recipe.
_botcha_recipe3 in ./botcha.botcha.inc
Botcha recipe.
_botcha_recipe4 in ./botcha.botcha.inc
Botcha recipe. FIXME: WORK IN PROGRESS. Making a css->js->form recipe
_botcha_recipe_test1 in ./botcha.botcha.inc
Botcha recipe. Simple honeypot, no randomization, for test purposes.

File

./botcha.botcha.inc, line 49
Implementation of botcha form logic.

Code

function _botcha_error_text_errorcode($seed) {
  return t('Error #@err.', array(
    '@err' => substr($seed, 1, 2) . substr($seed, 1, 1) . substr($seed, 2, 1) . substr($seed, 5, 2) . substr($seed, 6, 1) . substr($seed, 0, 1),
  ));
}