summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorasiekierka <asiekierka@gmail.com>2012-12-22 17:25:52 +0100
committerasiekierka <asiekierka@gmail.com>2012-12-22 17:25:52 +0100
commit7898de2589563b77ac52048d4af83b8656d8b2cc (patch)
treeb20465568527eebbc072d5fa303d084577383b50 /js
parenta2ca590c7cbcbd7a1a403b113f9297eaee22b052 (diff)
Added tinyboard integration stuff
Diffstat (limited to 'js')
-rw-r--r--js/imgcaptcha.js16
1 files changed, 16 insertions, 0 deletions
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
+//});