PATH:
home
/
sudairsocs
/
www
/
forum
/
Themes
/
default
/
scripts
// This file contains javascript associated with the captcha visual verification stuffs. function smfCaptcha(imageURL, uniqueID, useLibrary, letterCount) { // By default the letter count is five. if (!letterCount) letterCount = 5; uniqueID = uniqueID ? '_' + uniqueID : ''; autoCreate(); // Automatically get the captcha event handlers in place and the like. function autoCreate() { // Is there anything to cycle images with - if so attach the refresh image function? var cycleHandle = document.getElementById('visual_verification' + uniqueID + '_refresh'); if (cycleHandle) { createEventListener(cycleHandle); cycleHandle.addEventListener('click', refreshImages, false); } // Maybe a voice is here to spread light? var soundHandle = document.getElementById('visual_verification' + uniqueID + '_sound'); if (soundHandle) { createEventListener(soundHandle); soundHandle.addEventListener('click', playSound, false); } } // Change the images. function refreshImages() { // Make sure we are using a new rand code. var new_url = new String(imageURL); new_url = new_url.substr(0, new_url.indexOf("rand=") + 5); // Quick and dirty way of converting decimal to hex var hexstr = "0123456789abcdef"; for(var i=0; i < 32; i++) new_url = new_url + hexstr.substr(Math.floor(Math.random() * 16), 1); if (useLibrary && document.getElementById("verification_image" + uniqueID)) { document.getElementById("verification_image" + uniqueID).src = new_url; } else if (document.getElementById("verification_image" + uniqueID)) { for (i = 1; i <= letterCount; i++) if (document.getElementById("verification_image" + uniqueID + "_" + i)) document.getElementById("verification_image" + uniqueID + "_" + i).src = new_url + ";letter=" + i; } return false; } // Request a sound... play it Mr Soundman... function playSound(ev) { if (!ev) ev = window.event; popupFailed = reqWin(imageURL + ";sound", 400, 120); // Don't follow the link if the popup worked, which it would have done! if (!popupFailed) { if (is_ie && ev.cancelBubble) ev.cancelBubble = true; else if (ev.stopPropagation) { ev.stopPropagation(); ev.preventDefault(); } } return popupFailed; } }
[+]
..
[-] smf_fileUpload.js
[edit]
[-] icondropdown.js
[edit]
[-] jquery-3.6.3.min.js
[edit]
[-] theme.js
[edit]
[-] qrcode.js
[edit]
[-] minified_3256084bd53c654f7345b56b0748c8c1.js
[edit]
[-] fader.js
[edit]
[-] suggest.js
[edit]
[-] minified_60932b286a62213dffd19341f27c710c.js
[edit]
[-] jquery.custom-scrollbar.js
[edit]
[-] admin.js
[edit]
[-] alerts.js
[edit]
[-] quotedText.js
[edit]
[-] dropzone.min.js
[edit]
[-] jquery.caret.min.js
[edit]
[-] minified_27b358dbf97be9848d9672fbf8cc0d72.js
[edit]
[-] captcha.js
[edit]
[-] jquery-ui.datepicker.min.js
[edit]
[-] spellcheck.js
[edit]
[-] jquery.timepicker.min.js
[edit]
[-] script.js~
[edit]
[-] register.js
[edit]
[-] mentions.js
[edit]
[-] profile.js
[edit]
[-] editor.js
[edit]
[-] topic.js
[edit]
[-] PersonalMessage.js
[edit]
[-] minified_032684497715f910a4b86bfe1428ed76.js
[edit]
[-] minified_98c8f30c239a8a882fb0a646f3d4d4be.js
[edit]
[-] smf_jquery_plugins.js
[edit]
[-] jquery.datepair.min.js
[edit]
[-] stats.js
[edit]
[-] jquery.sceditor.bbcode.min.js
[edit]
[-] sha1.js
[edit]
[-] minified_7a98bade854c7482c1d6fe03779d8cb5.js
[edit]
[-] alertSettings.js
[edit]
[-] slippry.min.js
[edit]
[-] index.php
[edit]
[-] minified_f144db558e0cd546ac34edb3ece7f54f.js
[edit]
[-] minified_8d3fd2db608dec07614478608da06271.js
[edit]
[-] minified_e61540b59b1595425b4b98176d0f429a.js
[edit]
[-] minified_b35ae691bf1eda2c6b010a08a2526e06.js
[edit]
[-] jquery.sceditor.smf.js
[edit]
[-] minified_96cd0c56c4aa295006f7b4bf99f0553c.js
[edit]
[-] drafts.js
[edit]
[-] script.js
[edit]
[-] jquery.atwho.min.js
[edit]
[-] minified_b3f5c33fe6d21f4cc5b1511ea1293c27.js
[edit]