Plugin: Hidden Input Author: Mark Wu Release Date: 2005/03/13 Version: 1.0 This plugin offers you add hidden fields to your comment form to prevent comment spam robot. Usage as followed: You can use: 1. $hiddeninput->isEnabled() to check the plugin is enabled or not. 2. $hiddeninput->getHiddenFields() to get the hidden fields. Example: Add the following code to commentform.template inside
...
: {if !empty($hiddeninput)} {if $hiddeninput->isEnabled()} {foreach from=$hiddeninput->getHiddenFields() item=hiddenField} {/foreach} {/if} {/if}