function _botcha_error_text in BOTCHA Spam Prevention 6
Same name and namespace in other branches
- 7 botcha.botcha.inc \_botcha_error_text()
Standardized Botcha error messages
4 calls to _botcha_error_text()
- _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 40 - Implementation of botcha form logic.
Code
function _botcha_error_text() {
// FIXME: make this configurable, i18n
return t('You must be a human, not a spam bot, to submit forms on this website.') . ' ' . t('If you insist that you are a human, please try again.') . ' ' . t('If error persists, contact webmaster using contact link at the bottom of this page and give all the details of this error (your browser, version, OS).');
}