Changeset 1549669
- Timestamp:
- 12/08/2016 06:26:02 PM (9 years ago)
- Location:
- skt-nurcaptcha
- Files:
-
- 4 edited
-
tags/3.4.90/readme.txt (modified) (1 diff)
-
trunk/js/skt-nurc-functions.js (modified) (11 diffs)
-
trunk/js/skt-nurc-login.js (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
skt-nurcaptcha/tags/3.4.90/readme.txt
r1463246 r1549669 4 4 Tags: security, login form, new user, captcha, spambots, reCAPTCHA, register form, bots, spam, register, anti-spam 5 5 Requires at least: 4.0 6 Tested up to: 4. 66 Tested up to: 4.7 7 7 Stable tag: 3.4.90 8 8 -
skt-nurcaptcha/trunk/js/skt-nurc-functions.js
r1139945 r1549669 1 1 (function($) { 2 "use strict"; 2 3 $(document).ready(function(){ 3 4 // pick initial references … … 13 14 var refstring9 = $('#incorrect_try_again').val(); 14 15 var refstring10 = $('#image_alt_text').val(); 16 var r1 = ''; var r2 = ''; 15 17 var prestring0 = refstring0; 16 18 var prestring1 = refstring1; … … 40 42 var refimg = $('#sktnurc_theme').val(); 41 43 var reflang = $('#sktnurc_lang').val(); 42 var precustom = $('#sktnurc_lang option:selected').val();44 //var precustom = $('#sktnurc_lang option:selected').val(); 43 45 var refreg = $('#sktnurc_regbutton').val(); 44 46 var textreg = $('#sktnurc_regbutton_text').text(); … … 64 66 var presloglimit = refloglimit; var presnewversion = refnewversion; var presrectype = refrectype; 65 67 var presatlogin = refatlogin; 66 if((refkey1!= '')&&(refkey2!='')){68 if((refkey1!=='')&&(refkey2!=='')){ 67 69 $('#setup_alert').css('display','none'); 68 70 } … … 76 78 $('#sktnurc_lang').change( function(){ 77 79 preslang = $('#sktnurc_lang').val(); 78 if(preslang== reflang){80 if(preslang===reflang){ 79 81 $('#sktcstlg').slideDown(); 80 82 $('#save-advert-lang').fadeOut(); … … 90 92 $('#save-advert-lang2').fadeOut(); 91 93 prescstlang='basic'; 92 if (refcstlang== 'custom'){94 if (refcstlang==='custom'){ 93 95 $('#save-advert-lang1').fadeIn(); 94 96 } … … 98 100 prescstlang='custom'; 99 101 $('#save-advert-lang1').fadeOut(); 100 if (refcstlang!= 'custom'){102 if (refcstlang!=='custom'){ 101 103 $('#sktlg').slideUp(); 102 104 $('#sktcstlg').slideUp(); … … 189 191 $('#sktnurc_regbutton').keyup( function(){ 190 192 presreg = $('#sktnurc_regbutton').val(); 191 if($.trim(presreg)== ""){193 if($.trim(presreg)===""){ 192 194 presreg=textreg; 193 195 } … … 259 261 logfile_manage(false); 260 262 }); 261 window.alert_check = function() { 263 //window.alert_check = function() { 264 function alert_check() { 262 265 r1 = $('#sktnurc_publkey').val(); 263 266 r2 = $('#sktnurc_privtkey').val(); 264 if ((r1!= '')&&(r2!='')) {267 if ((r1!=='')&&(r2!=='')) { 265 268 $('#setup_alert').fadeOut(); 266 269 } else { … … 268 271 } 269 272 } 270 window.advert_check = function() { 271 if ((presuhop == refuhop) && (presemop==refemop) && (presrcop==refrcop) && (presusrhlp == refusrhlp) && (presemlhlp == refemlhlp) && (presrechlp == refrechlp) && (prestring0 == refstring0) && (prestring1 == refstring1) && (prestring2 == refstring2) && (prestring3 == refstring3) && (prestring4 == refstring4) && (prestring5 == refstring5) && (prestring6 == refstring6) && (prestring7 == refstring7) && (prestring8 == refstring8) && (prestring9 == refstring9) && (prestring10 == refstring10) && (preslang == reflang) && (prescstlang==refcstlang) && (presimg == refimg) && ((presreg==refreg)||((presreg==textreg)&&(refreg==''))) && (preskey1==refkey1) && (preskey2==refkey2) && (preskey3==refkey3) && (presspam0==refspam0) && (presspam1==refspam1) && (presspam2==refspam2) && (preslog == 'no') && (presloglimit==refloglimit) && (presnewversion==refnewversion) && (presrectype == refrectype) && (presatlogin == refatlogin) && (prescustring == refcustring)) { 273 function advert_check() { 274 //window.advert_check = function() { 275 if ((presuhop === refuhop) && (presemop===refemop) && (presrcop===refrcop) && (presusrhlp === refusrhlp) && (presemlhlp === refemlhlp) && (presrechlp === refrechlp) && (prestring0 === refstring0) && (prestring1 === refstring1) && (prestring2 === refstring2) && (prestring3 === refstring3) && (prestring4 === refstring4) && (prestring5 === refstring5) && (prestring6 === refstring6) && (prestring7 === refstring7) && (prestring8 === refstring8) && (prestring9 === refstring9) && (prestring10 === refstring10) && (preslang === reflang) && (prescstlang===refcstlang) && (presimg === refimg) && ((presreg===refreg)||((presreg===textreg)&&(refreg===''))) && (preskey1===refkey1) && (preskey2===refkey2) && (preskey3===refkey3) && (presspam0===refspam0) && (presspam1===refspam1) && (presspam2===refspam2) && (preslog === 'no') && (presloglimit===refloglimit) && (presnewversion===refnewversion) && (presrectype === refrectype) && (presatlogin === refatlogin) && (prescustring === refcustring)) { 272 276 $('.save-advert').fadeOut(); 273 277 } else { … … 275 279 } 276 280 } 277 window.logfile_manage = function(res){ 278 if (res == true) { 281 //window.logfile_manage = function(res){ 282 function logfile_manage(res) { 283 if (res === true) { 279 284 preslog = "yes"; 280 285 $('#unlink_log_button').fadeOut(); -
skt-nurcaptcha/trunk/js/skt-nurc-login.js
r501249 r1549669 1 1 (function($) { 2 "use strict"; 2 3 $(document).ready(function(){ 3 4 4 5 $('#login_error').each(function(){ 5 new Effect.Shake('login_error'); 6 new Effect.Shake('nurc_form'); 6 $('#login_error').effect("shake"); 7 $('#nurc_form').effect("shake"); 8 //new Effect.Shake('login_error'); 9 //new Effect.Shake('nurc_form'); 7 10 return false; 8 11 }); -
skt-nurcaptcha/trunk/readme.txt
r1463246 r1549669 4 4 Tags: security, login form, new user, captcha, spambots, reCAPTCHA, register form, bots, spam, register, anti-spam 5 5 Requires at least: 4.0 6 Tested up to: 4. 66 Tested up to: 4.7 7 7 Stable tag: 3.4.90 8 8
Note: See TracChangeset
for help on using the changeset viewer.