diff --git a/trunk/report_templates/SOFTWARE_WindowsVersion.js b/trunk/report_templates/SOFTWARE_WindowsVersion.js index b27cc88..5c7d44d 100644 --- a/trunk/report_templates/SOFTWARE_WindowsVersion.js +++ b/trunk/report_templates/SOFTWARE_WindowsVersion.js @@ -1,19 +1,19 @@ println(""); println(" Windows version info"); println(" "); println("

Windows version info

"); println("

"); var val=GetRegistryKeyValue("\\Microsoft\\Windows NT\\CurrentVersion","ProductName"); -var value_len=val.length; + print("ProductVersion: "); -println(RegistryKeyValueToString(val.value,val.type)); +var str_value=RegistryKeyValueToString(val.value,val.type); +println(str_value); +println("

"); +println(""); //for(var i=0;i<(val.length-1);i+=2) { // print(String.fromCharCode(val.value[i])); //} -println("

"); -println(""); -