version 1.8, 2000/08/07 20:47:29
|
version 1.9, 2000/09/14 20:24:44
|
Line 1910 int *section;
|
Line 1910 int *section;
|
/* ------------------------------ check due date */ |
/* ------------------------------ check due date */ |
time(&curtime); |
time(&curtime); |
/* ===> if (compare_datetime(curtime,header.due_date) > 0) { */ |
/* ===> if (compare_datetime(curtime,header.due_date) > 0) { */ |
|
#ifndef NO_DATE_CHECK |
if( capa_check_date(CHECK_DUE_DATE,student_number,*section,set) > 0 ) { |
if( capa_check_date(CHECK_DUE_DATE,student_number,*section,set) > 0 ) { |
capa_get_date(CHECK_DUE_DATE,student_number,*section,set,date_str); |
capa_get_date(CHECK_DUE_DATE,student_number,*section,set,date_str); |
sprintf(answer,"Sorry, the due date was: %s",date_str); |
sprintf(answer,"Sorry, the due date was: %s",date_str); |
move(20,1); clrtobot(); addstr(answer); mypause(23,1); |
move(20,1); clrtobot(); addstr(answer); mypause(23,1); |
} else { |
} else |
|
#endif |
|
{ |
capa_set_entry(&entry,student_number,set,offset); |
capa_set_entry(&entry,student_number,set,offset); |
} |
} |
} break; |
} break; |