--- loncom/homework/bridgetask.pm 2006/03/19 21:38:55 1.119 +++ loncom/homework/bridgetask.pm 2006/06/19 09:43:38 1.128.2.11 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.119 2006/03/19 21:38:55 albertel Exp $ +# $Id: bridgetask.pm,v 1.128.2.11 2006/06/19 09:43:38 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 { @@ -378,7 +329,7 @@ sub file_list { } my $file_url = '/uploaded/'.$udom.'/'.$uname.'/portfolio/'; - my $file_list="