--- loncom/interface/lonbulletin.pm 2009/12/08 13:33:12 1.55 +++ loncom/interface/lonbulletin.pm 2010/03/29 13:34:40 1.59 @@ -1,7 +1,7 @@ # The LearningOnline Network # Bulletin Board Handler # -# $Id: lonbulletin.pm,v 1.55 2009/12/08 13:33:12 wenzelju Exp $ +# $Id: lonbulletin.pm,v 1.59 2010/03/29 13:34:40 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -184,6 +184,9 @@ sub handler { if (($group ne '') && ($env{'form.group'} eq $group)) { $query_str.='&group='.$group.'&'.$refarg; } + if ($env{'form.register'}) { + $query_str .= '®ister='.$env{'form.register'}; + } #Function Box for Edit Mode. my $functionbox = &Apache::lonhtmlcommon::start_funclist(); $functionbox .= &Apache::lonhtmlcommon::add_item_funclist( @@ -196,6 +199,9 @@ sub handler { if (($group ne '') && ($env{'form.group'} eq $group)) { $query_str.='&group='.$group.'&'.$refarg; } + if ($env{'form.register'}) { + $query_str .= '®ister='.$env{'form.register'}; + } #Functionbox for Student view. my $functionbox = &Apache::lonhtmlcommon::start_funclist(); $functionbox .= &Apache::lonhtmlcommon::add_item_funclist( @@ -236,64 +242,54 @@ sub handler { # ---------------------------------------------------------------- Get discussion board if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) { + #Print Topic as Heading + my $titletext=&HTML::Entities::encode($syllabus{'aaa_title'},'<>&"');; + if ($target ne 'tex') { + $r->print('