core/js/IAT_gform.js
// and passes it to writeFile.php to be written by the server
and passes it to writeFile.php to be written by the server
and passes it to writeFile . php to be written by the server
function WriteFile()
{
	var subject = sub;
	subject = subject.length==0 ? "unknown" : subject;
	var str = "";
	for (i=0; i<roundArray.length; i++)
	{
		for (j=0;j<roundArray[i].length;j++)
		{
			str += i + "," + j + ",";
	        str += roundArray[i][j].category+",";
			str += roundArray[i][j].catIndex+",";
			str += roundArray[i][j].errors+",";
			str += (roundArray[i][j].endtime - roundArray[i][j].starttime)+"\n";
		}
	}
    $.post("core/fileManager.php", { 'op':'writeoutput', 'template':template.name, 
 			'subject': subject, 'data': str });	
}
function WriteFile ( ) { var subject = sub ; subject = subject . length == 0 ? "unknown" : subject ; var str = "" ; for ( i = 0 ; i < roundArray . length ; i ++ ) { for ( j = 0 ; j < roundArray [ i ] . length ; j ++ ) { str += i + "," + j + "," ; str += roundArray [ i ] [ j ] . category + "," ; str += roundArray [ i ] [ j ] . catIndex + "," ; str += roundArray [ i ] [ j ] . errors + "," ; str += ( roundArray [ i ] [ j ] . endtime - roundArray [ i ] [ j ] . starttime ) + "\n" ; } } $ . post ( "core/fileManager.php" , { 'op' : 'writeoutput' , 'template' : template . name , 'subject' : subject , 'data' : str } ) ; }
and passes it to writeFile.php to be written by the server
and passes it to writeFile . php to be written by the server
// notify user of success?