Index: temp_moodle_dev/lamstwo/backuplib.php =================================================================== RCS file: /usr/local/cvsroot/temp_moodle_dev/lamstwo/Attic/backuplib.php,v diff -u -r1.1 -r1.2 --- temp_moodle_dev/lamstwo/backuplib.php 18 Aug 2008 07:31:54 -0000 1.1 +++ temp_moodle_dev/lamstwo/backuplib.php 26 Aug 2008 06:41:26 -0000 1.2 @@ -1,6 +1,6 @@ id)); - fwrite ($bf,full_tag("MODTYPE",4,false,"lamstwo")); + fwrite ($bf,full_tag("MODTYPE",4,false,'lamstwo')); fwrite ($bf,full_tag("NAME",4,false,$lamstwo->name)); fwrite ($bf,full_tag("INTRO",4,false,$lamstwo->intro)); fwrite ($bf,full_tag("TIMEMODIFIED",4,false,$lamstwo->timemodified)); @@ -73,8 +73,9 @@ fwrite ($bf,full_tag("NAME",6,false,$lesson->name)); fwrite ($bf,full_tag("INTRO",6,false,$lesson->intro)); fwrite ($bf,full_tag("GROUPID",6,false,$lesson->groupid)); - fwrite ($bf,full_tag("SEQUENCEID",6,false,$lesson->sequence_id)); - fwrite ($bf,full_tag("LESSONID",6,false,$lesson->lesson_id)); + fwrite ($bf,full_tag("SEQUENCE_ID",6,false,$lesson->sequence_id)); + fwrite ($bf,full_tag("LESSON_ID",6,false,$lesson->lesson_id)); + fwrite ($bf,full_tag("TIMEMODIFIED",6,false,$lesson->timemodified)); //End lesson $status =fwrite ($bf,end_tag("LESSON",5,true)); }