--- loncom/interface/lonsyllabus.pm 2010/04/14 14:15:15 1.109 +++ loncom/interface/lonsyllabus.pm 2010/08/07 19:23:51 1.110 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.109 2010/04/14 14:15:15 bisitz Exp $ +# $Id: lonsyllabus.pm,v 1.110 2010/08/07 19:23:51 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -386,7 +386,6 @@ ENDSCRIPT $r->print('
'. ''); } - my @htmlids=(); my $url_include_handler = sub { my ($r, $field, $message, $group, $data_ref, $fields_ref, $target, $allowed) = @_; my %data = %{$data_ref}; @@ -428,11 +427,11 @@ ENDSCRIPT } }; my %custom_hash = ( 'lll_includeurl' => $url_include_handler ); - @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_hash); if ($allowed) { $r->print('
'. - &Apache::lonhtmlcommon::htmlareaselectactive(@htmlids)); + &Apache::lonhtmlcommon::htmlareaselectactive()); } } else { if ($target ne 'tex') {$r->print('

');} else {$r->print('\par ');}