diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-01-11 08:58:28 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-01-11 08:58:28 +0000 |
commit | 5dc06c320a9d026a291709d07a0fba8fa9cd0600 (patch) | |
tree | 027766082289e7f3cac87e5c3674e81d85a54bac /templates | |
parent | 9cbba1119c8817ee5b41a8006042daf5b6c49df1 (diff) | |
download | semanticscuttle-5dc06c320a9d026a291709d07a0fba8fa9cd0600.tar.gz semanticscuttle-5dc06c320a9d026a291709d07a0fba8fa9cd0600.tar.bz2 |
New feature: add antispam question to register (configurable in config file)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@8 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates')
-rw-r--r-- | templates/register.tpl.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/register.tpl.php b/templates/register.tpl.php index 7160535..7691a95 100644 --- a/templates/register.tpl.php +++ b/templates/register.tpl.php @@ -27,6 +27,15 @@ window.onload = function() { <td><input type="text" id="email" name="email" size="40" class="required" /></td> <td></td> </tr> + +<?php if(strlen($antispamQuestion)>0) {?> +<tr> + <th align="left"><label for="question"><?php echo T_('Antispam question'); ?></label></th> + <td><input type="text" id="antispamAnswer" name="antispamAnswer" size="40" class="required" value="<?php echo $antispamQuestion ?>"/></td> + <td></td> +</tr> +<?php } ?> + <tr> <td></td> <td><input type="submit" name="submitted" value="<?php echo T_('Register'); ?>" /></td> @@ -37,4 +46,4 @@ window.onload = function() { <?php $this->includeTemplate($GLOBALS['bottom_include']); -?>
\ No newline at end of file +?> |