--- loncom/interface/lonsyllabus.pm 2008/12/16 20:00:11 1.73 +++ loncom/interface/lonsyllabus.pm 2008/12/17 00:44:53 1.74 @@ -1,7 +1,7 @@ # The LearningOnline Network # Syllabus # -# $Id: lonsyllabus.pm,v 1.73 2008/12/16 20:00:11 ehlerst Exp $ +# $Id: lonsyllabus.pm,v 1.74 2008/12/17 00:44:53 ehlerst Exp $ # # Copyright Michigan State University Board of Trustees # @@ -367,8 +367,10 @@ ENDSCRIPT } $message=&Apache::lontexconvert::msgtexconverted($message); if ($target ne 'tex') { + if($allowed){ + $r->print('

'); + } &Apache::lontemplate::print_template($r, $syllabusfields{$field}, $message); - } else { $r->print('\\\\\textbf{'.$syllabusfields{$field}.'}\\\\'. &Apache::lonxml::xmlparse($r,'tex',$message).'\\\\'); @@ -376,7 +378,10 @@ ENDSCRIPT push(@htmlids,$field); } if ($allowed) { - &Apache::lontemplate::print_editbox_template($r, $syllabus{$field}, $field); + if($target ne 'tex'){ + $r->print('

'); + } + &Apache::lontemplate::print_editbox_template($r, $syllabus{$field}, $field); } } }