diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-05-17 13:02:56 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-05-17 13:02:56 +0000 |
commit | d2d8ddfca42b46a520c0683e0f5795fa72af4d5c (patch) | |
tree | cf5b0fc863b1e5bd317a31212c48ab88f6d5eb75 /templates/register.tpl.php | |
parent | 07e331bdd3c4d1c376388d605ab0aceac6480316 (diff) | |
download | semanticscuttle-d2d8ddfca42b46a520c0683e0f5795fa72af4d5c.tar.gz semanticscuttle-d2d8ddfca42b46a520c0683e0f5795fa72af4d5c.tar.bz2 |
Interface design: antispam question is hidden when focus on it
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@130 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/register.tpl.php')
-rw-r--r-- | templates/register.tpl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/register.tpl.php b/templates/register.tpl.php index 7691a95..b0c5425 100644 --- a/templates/register.tpl.php +++ b/templates/register.tpl.php @@ -31,7 +31,7 @@ window.onload = function() { <?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><input type="text" id="antispamAnswer" name="antispamAnswer" size="40" class="required" value="<?php echo $antispamQuestion; ?>" onfocus="if (this.value == '<?php echo $antispamQuestion; ?>') this.value = '';" onblur="if (this.value == '') this.value = '<?php echo $antispamQuestion; ?>';"/></td> <td></td> </tr> <?php } ?> |