git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@130
b3834d28-1941-0410-a4f8-
b48e95affb8f
<?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 } ?>