--- loncom/homework/bridgetask.pm 2006/03/28 18:27:03 1.120 +++ loncom/homework/bridgetask.pm 2006/03/29 23:06:22 1.132 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.120 2006/03/28 18:27:03 albertel Exp $ +# $Id: bridgetask.pm,v 1.132 2006/03/29 23:06:22 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -176,10 +176,10 @@ sub add_grading_button { if (scalar(keys(%sections)) < 3) { $size=scalar(keys(%sections))+2; } - my $sec_select = '
'; } return $result; } @@ -258,64 +259,14 @@ sub preserve_grade_info { } sub style { - return (< + my ($target) = @_; + if ($target eq 'web' + || $target eq 'webgrade') { + return (< STYLE - + } + return; } sub show_task { @@ -428,7 +379,15 @@ sub start_Task { my ($result,$head_tag_start,$body_tag_start,$form_tag_start)= &Apache::structuretags::page_start($target,$token,$tagstack,$parstack,$parser,$safeeval); - $body_tag_start = '