fwrite ($bf,full_tag("RELIABILITYWEIGHT",4,false,$workshop->reliabilityweight));
fwrite ($bf,full_tag("GRADINGWEIGHT",4,false,$workshop->gradingweight));
fwrite ($bf,full_tag("SHOWLEAGUETABLE",4,false,$workshop->showleaguetable));
+ fwrite ($bf,full_tag("TEACHERLOADING",4,false,$workshop->teacherloading));
+ fwrite ($bf,full_tag("ASSESSMENTSTODROP",4,false,$workshop->assessmentstodrop));
//Now we backup workshop elements
$status = backup_workshop_elements($bf,$preferences,$workshop->id);
//if we've selected to backup users info, then execute backup_workshop_submisions
fwrite ($bf,full_tag("TIMEAGREED",8,false,$wor_ass->timeagreed));
fwrite ($bf,full_tag("GRADE",8,false,$wor_ass->grade));
fwrite ($bf,full_tag("GRADINGGRADE",8,false,$wor_ass->gradinggrade));
- fwrite ($bf,full_tag("RESUBMISSION",8,false,$wor_ass->resubmission));
fwrite ($bf,full_tag("MAILED",8,false,$wor_ass->mailed));
+ fwrite ($bf,full_tag("RESUBMISSION",8,false,$wor_ass->resubmission));
+ fwrite ($bf,full_tag("DONOTUSE",8,false,$wor_ass->donotuse));
fwrite ($bf,full_tag("GENERALCOMMENT",8,false,$wor_ass->generalcomment));
fwrite ($bf,full_tag("TEACHERCOMMENT",8,false,$wor_ass->teachercomment));
//Now we backup workshop comments
$workshop->reliabilityweight = backup_todb($info['MOD']['#']['RELIABILITYWEIGHT']['0']['#']);
$workshop->gradingweight = backup_todb($info['MOD']['#']['GRADINGWEIGHT']['0']['#']);
$workshop->showleaguetable = backup_todb($info['MOD']['#']['SHOWLEAGUETABLE']['0']['#']);
+ $workshop->teacherloading = backup_todb($info['MOD']['#']['TEACHERLOADING']['0']['#']);
+ $workshop->assessmentstodrop = backup_todb($info['MOD']['#']['ASSESSMENTSTODROP']['0']['#']);
//The structure is equal to the db, so insert the workshop
$newid = insert_record ("workshop",$workshop);
$assessment->timeagreed = backup_todb($ass_info['#']['TIMEAGREED']['0']['#']);
$assessment->grade = backup_todb($ass_info['#']['GRADE']['0']['#']);
$assessment->gradinggrade = backup_todb($ass_info['#']['GRADINGGRADE']['0']['#']);
- $assessment->resubmission = backup_todb($ass_info['#']['RESUBMISSION']['0']['#']);
$assessment->mailed = backup_todb($ass_info['#']['MAILED']['0']['#']);
+ $assessment->resubmission = backup_todb($ass_info['#']['RESUBMISSION']['0']['#']);
+ $assessment->donotuse = backup_todb($ass_info['#']['DONOTUSE']['0']['#']);
$assessment->generalcomment = backup_todb($ass_info['#']['GENERALCOMMENT']['0']['#']);
$assessment->teachercomment = backup_todb($ass_info['#']['TEACHERCOMMENT']['0']['#']);