From 7898de2589563b77ac52048d4af83b8656d8b2cc Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:25:52 +0100 Subject: Added tinyboard integration stuff --- js/imgcaptcha.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 js/imgcaptcha.js (limited to 'js/imgcaptcha.js') diff --git a/js/imgcaptcha.js b/js/imgcaptcha.js new file mode 100644 index 00000000..dd313fad --- /dev/null +++ b/js/imgcaptcha.js @@ -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 +//}); -- cgit v1.3