can't get QapTcha working
i try to add QapTcha but i have a problem
the slide goes ok but still lock and can't get button enabled
what is wrong?
this is a part of the file
- stdhead();
?>
<script type="text/javascript" src="jquery/jquery.js"></script>
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
<script type="text/javascript" src="jquery/jquery.ui.touch.js"></script>
<script type="text/javascript" src="jquery/QapTcha.jquery.js"></script>
<script type="text/javascript" src="jquery/QapTcha.jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.QapTcha').QapTcha({disabledSubmit:true});
});
</script>
<?php
begin_frame(T_("RECOVER_ACCOUNT"));
if ($kind != "0")
{
show_error_msg("Notice", "$kind: $msg", 0);
}
if (is_valid_id($_GET["id"]) && strlen($_GET["secret"]) == 32)
{
?>
<form method="post" action="account-recover.php">
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td><b><?php echo T_("NEW_PASSWORD"); ?></b>:</td>
<td><input type="hidden" name="secret" value="<?php echo $_GET['secret']; ?>" />
<input type="hidden" name="id" value="<?php echo $_GET['id']; ?>" />
<input type="password" size="40" name="password" /></td>
</tr>
<tr>
<td><b><?php echo T_("HUMAN"); ?>?</b></td>
<td><div class="clr"></div><div class="QapTcha"></div></td>
</tr>
<tr>
<td><b><?php echo T_("REPEAT"); ?></b>:</td>
<td><input type="password" size="40" name="password1" /></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="<?php echo T_("SUBMIT"); ?>" /></td>
</tr>
</table>
</form>
<?php
}
else
{
echo T_("USE_FORM_FOR_ACCOUNT_DETAILS"); ?>
<form method="post" action="account-recover.php?take=1">
<table border="0" cellspacing="0" cellpadding="5">
<tr>
<td><b><?php echo T_("EMAIL_ADDRESS"); ?>:</b></td>
<td><input type="text" size="40" name="email" /></td>
</tr>
<tr>
<td><b><?php echo T_("HUMAN"); ?>?</b></td>
<td><div class="clr"></div><div class="QapTcha"></div></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="<?php echo T_("SUBMIT");?>" /></td>
</tr>
</table>
</form>
<?php
}
end_frame();
stdfoot();
?>