Added suppor for assignment->emailteachers

This commit is contained in:
stronk7 2005-01-30 19:03:46 +00:00
parent c3f5569273
commit 626138c9b6
3 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Now I show the specific detailed status of every item in the process:
5. DONE: user_teachers->enrol (analyse and proceed).
6. DONE: user->policyagreed (analyse and proceed).
7. DONE: groups->password
8. TODO: assignment->emailteachers
8. DONE: assignment->emailteachers
9. TODO: exercise->usepassword and exercise->password
10. TODO: exercise_assessments->generalcomment and teachercomment
11. TODO: glossary->allowprintview

View File

@ -41,6 +41,7 @@
fwrite ($bf,full_tag("DESCRIPTION",4,false,$assignment->description));
fwrite ($bf,full_tag("FORMAT",4,false,$assignment->format));
fwrite ($bf,full_tag("RESUBMIT",4,false,$assignment->resubmit));
fwrite ($bf,full_tag("EMAILTEACHERS",4,false,$assignment->emailteachers));
fwrite ($bf,full_tag("TYPE",4,false,$assignment->type));
fwrite ($bf,full_tag("MAXBYTES",4,false,$assignment->maxbytes));
fwrite ($bf,full_tag("TIMEDUE",4,false,$assignment->timedue));

View File

@ -44,6 +44,7 @@
$assignment->description = backup_todb($info['MOD']['#']['DESCRIPTION']['0']['#']);
$assignment->format = backup_todb($info['MOD']['#']['FORMAT']['0']['#']);
$assignment->resubmit = backup_todb($info['MOD']['#']['RESUBMIT']['0']['#']);
$assignment->emailteachers = backup_todb($info['MOD']['#']['EMAILTEACHERS']['0']['#']);
$assignment->type = backup_todb($info['MOD']['#']['TYPE']['0']['#']);
$assignment->maxbytes = backup_todb($info['MOD']['#']['MAXBYTES']['0']['#']);
$assignment->timedue = backup_todb($info['MOD']['#']['TIMEDUE']['0']['#']);