Return to loncoursedata.pm CVS log | Up to [LON-CAPA] / loncom / interface |
version 1.173, 2006/05/30 12:46:09 | version 1.174, 2006/08/08 19:02:04 |
---|---|
Line 3132 sub get_classlist { | Line 3132 sub get_classlist { |
if(((!$end) || $now < $end) && ((!$start) || ($now > $start))) { | if(((!$end) || $now < $end) && ((!$start) || ($now > $start))) { |
$status='Active'; | $status='Active'; |
} | } |
if(($now < $start) && ((!$end) || $now < $end )) { | |
$status='Future'; | |
} | |
$classlist{$student} = | $classlist{$student} = |
[$sdom,$sname,$end,$start,$id,$section,$fullname,$status,$type,$lockedtype]; | [$sdom,$sname,$end,$start,$id,$section,$fullname,$status,$type,$lockedtype]; |
} | } |