fwrite ($bf,full_tag("PASSWORD",3,false,$course->password));
fwrite ($bf,full_tag("FULLNAME",3,false,$course->fullname));
fwrite ($bf,full_tag("SHORTNAME",3,false,$course->shortname));
+ fwrite ($bf,full_tag("IDNUMBER",3,false,$course->idnumber));
fwrite ($bf,full_tag("SUMMARY",3,false,$course->summary));
fwrite ($bf,full_tag("FORMAT",3,false,$course->format));
fwrite ($bf,full_tag("SHOWGRADES",3,false,$course->showgrades));
fwrite ($bf,full_tag("AUTHORITY",6,false,$tea->authority));
fwrite ($bf,full_tag("TEA_ROLE",6,false,$tea->role));
fwrite ($bf,full_tag("EDITALL",6,false,$tea->editall));
+ fwrite ($bf,full_tag("TIMESTART",6,false,$tea->timestart));
+ fwrite ($bf,full_tag("TIMEEND",6,false,$tea->timeend));
fwrite ($bf,full_tag("TIMEMODIFIED",6,false,$tea->timemodified));
fwrite ($bf,full_tag("TIMEACCESS",6,false,$tea->timeaccess));
//Print ROLE end
$course->password = addslashes($course_header->course_password);
$course->fullname = addslashes($course_header->course_fullname);
$course->shortname = addslashes($course_header->course_shortname);
+ $course->idnumber = addslashes($course_header->course_idnumber);
$course->summary = addslashes($course_header->course_summary);
$course->format = addslashes($course_header->course_format);
$course->showgrades = addslashes($course_header->course_showgrades);
case "SHORTNAME":
$this->info->course_shortname = $this->getContents();
break;
+ case "IDNUMBER":
+ $this->info->course_idnumber = $this->getContents();
+ break;
case "SUMMARY":
$this->info->course_summary = $this->getContents();
break;
case "EDITALL":
$this->info->temprole->editall = $this->getContents();
break;
+ case "TIMESTART":
+ $this->info->temprole->timestart = $this->getContents();
+ break;
+ case "TIMEEND":
+ $this->info->temprole->timeend = $this->getContents();
+ break;
case "TIMEMODIFIED":
$this->info->temprole->timemodified = $this->getContents();
break;