--- loncom/interface/lonbulletin.pm 2010/06/05 22:07:05 1.60 +++ loncom/interface/lonbulletin.pm 2010/08/07 19:23:50 1.61 @@ -1,7 +1,7 @@ # The LearningOnline Network # Bulletin Board Handler # -# $Id: lonbulletin.pm,v 1.60 2010/06/05 22:07:05 www Exp $ +# $Id: lonbulletin.pm,v 1.61 2010/08/07 19:23:50 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -265,7 +265,6 @@ sub handler { &Apache::lonnet::allowuploaded('/adm/syllabus', $syllabus{'uploaded.photourl'}); } - my @htmlids=(); #Outputbox and Inputbox for Image upload if ($allowed) { my $message = ''.&mt('Image').''; @@ -285,11 +284,11 @@ sub handler { } my %custom_handlers = ( 'aaa_title' => sub {} ); - @htmlids = &Apache::lontemplate::print_template_fields($r, \%syllabus, \%syllabusfields, + &Apache::lontemplate::print_template_fields($r, \%syllabus, \%syllabusfields, $target, $allowed, Apache::lontemplate->RICH_TEXT_DETECT_HTML, \%custom_handlers); if ($allowed) { $r->print(''. - &Apache::lonhtmlcommon::htmlareaselectactive(@htmlids)); + &Apache::lonhtmlcommon::htmlareaselectactive()); } if ($target ne 'tex'){ $r->print('



');