public function BotchaRecipeNoResubmit::getInfo in BOTCHA Spam Prevention 6.3
Same name and namespace in other branches
- 6.2 controller/botcha_recipe.controller.inc \BotchaRecipeNoResubmit::getInfo()
- 7.2 controller/botcha_recipe.controller.inc \BotchaRecipeNoResubmit::getInfo()
- 7.3 controller/recipe/botcha.recipe.controller.inc \BotchaRecipeNoResubmit::getInfo()
Used to get information about the recipe. Must be overridden.
Overrides BotchaRecipe::getInfo
File
- controller/
recipe/ botcha.recipe.controller.inc, line 388 - Controller layer of the BotchaRecipe objects.
Class
Code
public function getInfo() {
parent::getInfo();
$this->description = t('Prevent form resubmission.' . ' Bots will try to resubmit old form prepared.' . ' Form is remembered, and only one submission is allowed.');
$this->error_text .= '<br />' . t('Form session reuse detected.') . ' ' . t('An old form was submitted again, which may happen' . ' if it was retrieved from browser history using "Back" button.') . '<br />' . t('Please try again - fill all entries on this page' . ' without going "Back".');
}