While the documentation page does mention that the form time limit is in seconds, the configuration form (admin/config/content/honeypot) doesn't make any reference to the unit of time. This patch updates the help text to mention that the form field is in seconds.

Comments

yannickoo’s picture

Status: Active » Reviewed & tested by the community

The patch looks good maerleythedog, thanks. In future you should name the patches like it says in the documentation for creating patches:

git diff > [project_name]-[short-description]-[issue-number]-[comment-number].patch

To know the issue number you should first create your issue and immediately after that you can add a comment with the patch attached.

loominade’s picture

Status: Needs review » Reviewed & tested by the community

wouldn't it be better to use '#suffix' => t('seconds') instead?

yannickoo’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new393 bytes

Nice idea loominade but we should consider which idea is better. Even patch with seconds suffix is attached.

geerlingguy’s picture

Version: 7.x-1.11 » 7.x-1.x-dev

Probably going to go the route of using #suffix; thanks for the patches and reviews! I'll try to commit this soon, when I get back to my laptop.

geerlingguy’s picture

Status: Reviewed & tested by the community » Fixed

Committed: http://drupalcode.org/project/honeypot.git/commit/3262839 - makes things a bit nicer!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.