Added tinyboard integration stuff

This commit is contained in:
asiekierka 2012-12-22 17:25:52 +01:00
parent a2ca590c7c
commit 7898de2589
4 changed files with 169 additions and 0 deletions

16
js/imgcaptcha.js Normal file
View file

@ -0,0 +1,16 @@
//function obecnyCzas() {
// return Math.round(new Date().getTime() / 1000);
//}
function imgcaptcha_odswiezKapcze() {
$.get("/inc/imgcaptcha_p.php", function(data) {
$("#imgcaptcha_hash").val(data);
$("#imgcaptcha_img").prop("src","/inc/imgcaptcha_im.php?cr=" + data);
});
}
//function resetujKapcze() {
// $("#imgcaptcha_img").prop("src","/zakrytek.png");
//}
//$(document).ready(function(){
// //resetujKapcze(); - to nie powinno byc na razie potrzebne
//});