--- loncom/interface/loncoursedata.pm 2003/06/02 17:18:33 1.75 +++ loncom/interface/loncoursedata.pm 2003/06/16 15:55:27 1.77 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: loncoursedata.pm,v 1.75 2003/06/02 17:18:33 matthew Exp $ +# $Id: loncoursedata.pm,v 1.77 2003/06/16 15:55:27 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -121,7 +121,7 @@ sub get_sequence_assessment_data { ## We are going to loop until we run out of sequences/pages to explore for ## resources. This means we have to start out with something to look ## at. - my $title = $top_level_map->title(); + my $title = $ENV{'course.'.$ENV{'request.course.id'}.'.description'}; my $symb = $top_level_map->symb(); my $src = $top_level_map->src(); my $randompick = $top_level_map->randompick(); @@ -1205,11 +1205,11 @@ sub get_current_state { return () if (! defined($sname) || ! defined($sdom)); # my ($status,$data) = &ensure_current_data($sname,$sdom,$courseid); - &Apache::lonnet::logthis - ('sname = '.$sname. - ' domain = '.$sdom. - ' status = '.$status. - ' data is '.(defined($data)?'defined':'undefined')); +# &Apache::lonnet::logthis +# ('sname = '.$sname. +# ' domain = '.$sdom. +# ' status = '.$status. +# ' data is '.(defined($data)?'defined':'undefined')); # while (my ($symb,$hash) = each(%$data)) { # &Apache::lonnet::logthis($symb."\n----------------------------------"); # while (my ($key,$value) = each (%$hash)) {