aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-11 08:58:28 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2008-01-11 08:58:28 +0000
commit5dc06c320a9d026a291709d07a0fba8fa9cd0600 (patch)
tree027766082289e7f3cac87e5c3674e81d85a54bac /templates
parent9cbba1119c8817ee5b41a8006042daf5b6c49df1 (diff)
downloadsemanticscuttle-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.php11
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
+?>