--- loncom/homework/bridgetask.pm 2006/11/02 23:25:40 1.190 +++ loncom/homework/bridgetask.pm 2006/11/06 16:54:46 1.192 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: bridgetask.pm,v 1.190 2006/11/02 23:25:40 albertel Exp $ +# $Id: bridgetask.pm,v 1.192 2006/11/06 16:54:46 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -326,9 +326,22 @@ sub style { my ($target) = @_; if ($target eq 'web' || $target eq 'webgrade') { - return (< STYLE + if ($env{'browser.type'} eq 'explorer' + && $env{'browser.os'} eq 'win' ) { + if ($env{'browser.version'} < 7) { + $style .= (< +STYLE + } else { + $style .= (< +STYLE + } + } + } return; } @@ -2508,7 +2521,7 @@ sub start_Criteria { $result.= &nested_parse(\$dimension{$dim}{'criteria.'.$id},[@_]); $result.='

'.$status_display.'

'; - if ($comment) { + if ($comment =~ /\w/) { $result.='

'. &mt('Comment: [_1]',$comment).'

'; }