--- loncom/interface/lonsyllabus.pm 2008/12/12 17:02:47 1.71 +++ loncom/interface/lonsyllabus.pm 2008/12/16 10:03:56 1.72 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.71 2008/12/12 17:02:47 raeburn Exp $ +# $Id: lonsyllabus.pm,v 1.72 2008/12/16 10:03:56 schualex Exp $ # # Copyright Michigan State University Board of Trustees # @@ -367,10 +367,19 @@ ENDSCRIPT $message=&Apache::lonspeller::markeduptext($message); } $message=&Apache::lontexconvert::msgtexconverted($message); - if ($target ne 'tex') { - &Apache::lontemplate::print_template($r, $syllabusfields{$field}, $message); -# $r->print('

'.$syllabusfields{$field}.'

'. -# $message.'
'); + + &Apache::lontemplate::start_columnSection($r); + &Apache::lontemplate::print_content_template($r,$allowed,$target,\%syllabusfields,\%syllabus); + + if ($target ne 'tex') { + &Apache::lontemplate::start_ContentBox($r); + &Apache::lontemplate::end_ContentBox($r); + &Apache::lontemplate::end_columnSection($r); + &Apache::lontemplate::start_columnSection($r); + &Apache::lontemplate::start_ContentBox($r); + &Apache::lontemplate::end_ContentBox($r); + &Apache::lontemplate::end_columnSection($r); + } else { $r->print('\\\\\textbf{'.$syllabusfields{$field}.'}\\\\'. &Apache::lonxml::xmlparse($r,'tex',$message).'\\\\');