[Logicampus-cvs] logicampus/src/logicreate/services/classmgr assignmentManage.lcp, 1.27, 1.28
Brought to you by:
trilexcom
From: Mark K <har...@us...> - 2007-11-02 22:24:33
|
Update of /cvsroot/logicampus/logicampus/src/logicreate/services/classmgr In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv23191/src/logicreate/services/classmgr Modified Files: assignmentManage.lcp Log Message: Quick fix for grading assignments. Index: assignmentManage.lcp =================================================================== RCS file: /cvsroot/logicampus/logicampus/src/logicreate/services/classmgr/assignmentManage.lcp,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** assignmentManage.lcp 27 Oct 2007 17:26:45 -0000 1.27 --- assignmentManage.lcp 2 Nov 2007 22:24:30 -0000 1.28 *************** *** 573,577 **** $sql = ' INSERT INTO class_assignments_grades ! SET id_class_assignments='.(int)$lc->getvars['id_class_assignments'].', comments=\''. str_replace("'", '\'\'', stripslashes($lc->postvars['teachercomments'])). '\', grade='. number_format($lc->postvars['grade'], 2). ', --- 573,577 ---- $sql = ' INSERT INTO class_assignments_grades ! SET id_class_assignments='.(int)$lc->postvars['seqId'].', comments=\''. str_replace("'", '\'\'', stripslashes($lc->postvars['teachercomments'])). '\', grade='. number_format($lc->postvars['grade'], 2). ', *************** *** 920,924 **** $t['studentId'] = $studentId; ! $t['attachments'] = $this->getAssignmentsByType(1, $studentId, $u->activeClassTaught->id_classes, --- 920,924 ---- $t['studentId'] = $studentId; ! $t['attachments'] = $this->getAssignmentsByType($t['activity']->lobSub->responseTypeId, $studentId, $u->activeClassTaught->id_classes, |