I have an odd problem that I can't figure out. It's probably something simple but i don't see it!
Behind the log-in on the admin pages sometimes when a page loads it loads with this at the very top...
var subst = param; switch (pType) { case 'b': subst = parseInt(param).toString(2); break; case 'c': subst = String.fromCharCode(parseInt(param)); break; case 'd': subst = parseInt(param)? parseInt(param) : 0; break; case 'u': subst = Math.abs(param); break; case 'f': subst = (precision > -1)? Math.round(parseFloat(param) * Math.pow(10, precision)) / Math.pow(10, precision) : parseFloat(param); break; case 'o': subst = parseInt(param).toString(8); break; case 's': subst = param; break; case 'x': subst = ('' + parseInt(param).toString(16)).toLowerCase(); break; case 'X': subst = ('' + parseInt(param).toString(16)).toUpperCase(); break; } var padLeft = minLength - subst.toString().length; if (padLeft > 0) { var arrTmp = new Array(padLeft+1); var padding = arrTmp.join(pad?pad:" "); } else { var padding = ""; } } str = leftpart + padding + subst + rightPart; } return str; }
I've searched all the files related to zenPhoto and i can't find this anywhere. I can't figure out what it is, and therefore i can't figure out how to fix it.
Any help would be appreciated.
Comments