--- loncom/interface/lonbulletin.pm 2004/05/10 18:44:40 1.24 +++ loncom/interface/lonbulletin.pm 2004/07/28 18:53:38 1.26 @@ -1,7 +1,7 @@ # The LearningOnline Network # Bulletin Board Handler # -# $Id: lonbulletin.pm,v 1.24 2004/05/10 18:44:40 sakharuk Exp $ +# $Id: lonbulletin.pm,v 1.26 2004/07/28 18:53:38 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -43,8 +43,6 @@ sub handler { return OK if $r->header_only; my $target=$ENV{'form.grade_target'}; - -# &Apache::loncommon::get_unprocessed_cgi($ENV{'QUERY_STRING'},['previous']); # ------------------------------------------------------------ Print the screen if ($target ne 'tex') { $r->print(<print(&Apache::lonmenu::registerurl(1)); + } elsif ($ENV{'form.origpage'}) { + $addentries = "onLoad=\"document.location='#newpost';\""; } # --------------------------------------------------------------- Force Student my $forcestudent=''; @@ -169,7 +172,10 @@ ENDDOCUMENT $message =~s/(https*\:\/\/[^\s]+)/\\$1\<\/tt\>\<\/a\>/g; $message=&Apache::lontexconvert::msgtexconverted($message); - unless ($_ eq 'aaa_title') { + if ($allowed) { + $message=&Apache::lonspeller::markeduptext($message); + } + unless ($_ eq 'aaa_title') { if (($_ ne 'bbb_content') || ($allowed)) { if ($target ne 'tex') { $r->print('

'.$syllabusfields{$_}.'

');