//SysCheck Report Formatter v4.0.1 - by ©Sylkun"WiiD" for Wii-Addict - http://www.wii-addict.fr - 2010-2011
var he="<div class=sschk><div class=chkbg><input type=button value='Afficher le Rapport SYSCHECK' class=chkbtn onClick=\"if(this.parentNode.getElementsByTagName('div')[0].style.display !=''){this.parentNode.getElementsByTagName('div')[0].style.display='';this.value='Masquer le Rapport SYSCHECK';} else {this.parentNode.getElementsByTagName('div')[0].style.display='none';this.value='Afficher le Rapport SYSCHECK';}\"><div class=splr4 style='display:none'><table width=0 cellspacing=0 cellpadding=0><tbody><tr><td colspan=5>",fo="</td></tr><tr><td colspan=5></td></tr></tbody></table></div></div></div>",rg="<strong>Région: ",br="<br />",td="</td></tr><tr><td nowrap=nowrap ",sp=td+"colspan=5>"+br,ln=td+"class=chk>",cl="</td><td nowrap=nowrap class=chk",dc="<span class=chk",fc="</span>",ok=" installé"+fc,ia=" <img style='vertical-align:top' src='http://www.wii-addict.fr/wiid/syscheck/wii",ib=".png'></img>",tab=new RegExp(br+br+"ios","gi"),ios=new RegExp(br+"ios","gi"),vbc=new RegExp(br+"bc","gi"),mio=new RegExp(br+"mios","gi"),rep=new RegExp(br+br+"report","gi"),rap=new RegExp(br+br+"rapport","gi");
function sysCheck(sc){sc=sc.replace(/\t/gi,""),sc=sc.replace(/region: pal/gi,rg+"PAL"+ia+"eur"+ib),sc=sc.replace(/region: ntsc-j/gi,rg+"NTSC-J"+ia+"jap"+ib),sc=sc.replace(/region: ntsc-u/gi,rg+"NTSC-U"+ia+"usa"+ib),sc=sc.replace(tab,br+br+ln+"IOS"),sc=sc.replace(ios,ln+"IOS"),sc=sc.replace(vbc,ln+"BC"),sc=sc.replace(mio,ln+"MIOS"),sc=sc.replace(rep,sp+"Report"),sc=sc.replace(rap,sp+"Rapport"),sc=sc.replace(/, hash/gi," | Hash"),sc=sc.replace(/, info/gi," | Info"),sc=sc.replace(/priiloader (installed|installe)/gi,dc+"pri>Priiloader"+ok),sc=sc.replace(/prefiix (installed|installe)/gi,dc+"pri>PreFiix"+ok),sc=sc.replace(/\(rev/gi,dc+"rev>(rev"),sc=sc.replace(/\):/g,")"+fc+":"),sc=sc.replace(/\)\./g,")"+fc+"."),sc=sc.replace(/systeme/gi,"Système"),sc=sc.replace(/chaine/gi,"Chaîne"),sc=sc.replace(/trouves/gi,"trouvés"),sc=sc.replace(/(genera a|genere a|genere le)/gi,"généré le"),sc=sc.replace(/: stub/gi,cl+"stu>Stub"),sc=sc.replace(/: trucha/gi,cl+"tru>Trucha"),sc=sc.replace(/: pas de patches/gi,cl+"nop>Aucun patch"),sc=sc.replace(/: no/gi,cl+"nop>No"),sc=sc.replace(/: es/gi,cl+">ES"),sc=sc.replace(/: bootmii/gi,cl+"btm>BootMii"),sc=sc.replace(/: acces/gi,cl+">Acces"),sc=sc.replace(/: usb/gi,cl+">USB");
return he+sc.replace(/,/g,cl+">")+fo;
}
