Marius Burkard
2016-04-20 4569cae57f127afd093794310ccd290d2d9fdf36
interface/web/js/scrigo.js.php
@@ -133,7 +133,7 @@
   } else {
      width = points*20;
   }
   document.getElementById("passBar").innerHTML = '<div style="float:left; height: 10px; padding:0px; background-color: ' + pass_messages[points]['color'] + '; width: ' + width + 'px;" />';
   document.getElementById("passBar").innerHTML = '<div style="background-color: ' + pass_messages[points]['color'] + '; width: ' + width + 'px;" />';
   document.getElementById("passText").innerHTML = pass_messages[points]['text'];
}
function pass_contains(pass, check) {
@@ -153,9 +153,9 @@
   var maxLength = minLength + 5;
   var length = getRandomInt(minLength, maxLength);
   
   var alphachars = "abcdefghijklmnopqrstuvwxyz";
   var upperchars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
    var numchars = "1234567890";
   var alphachars = "abcdefghijkmnopqrstuvwxyz";
   var upperchars = "ABCDEFGHJKLMNPQRSTUVWXYZ";
    var numchars = "23456789";
    var specialchars = "!@#_";
   
   if(num_special == undefined) num_special = 0;