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
This commit is contained in:
mensonge 2008-05-17 13:02:56 +00:00
parent 07e331bdd3
commit d2d8ddfca4

View file

@ -31,7 +31,7 @@ window.onload = function() {
<?php if(strlen($antispamQuestion)>0) {?> <?php if(strlen($antispamQuestion)>0) {?>
<tr> <tr>
<th align="left"><label for="question"><?php echo T_('Antispam question'); ?></label></th> <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> <td></td>
</tr> </tr>
<?php } ?> <?php } ?>