--- loncom/interface/lontemplate.pm 2008/12/16 10:41:02 1.9 +++ loncom/interface/lontemplate.pm 2008/12/17 14:56:51 1.13 @@ -1,7 +1,7 @@ # The LearningOnline Network # "Template" Functions to generate html output # -# $Id: lontemplate.pm,v 1.9 2008/12/16 10:41:02 ehlerst Exp $ +# $Id: lontemplate.pm,v 1.13 2008/12/17 14:56:51 harmsja Exp $ # # Copyright Michigan State University Board of Trustees # @@ -46,7 +46,7 @@ use HTML::Entities(); sub start_columnSection{ my ($r) = @_; - $r->print('
'); + } + &print_template($r,$syllabusfields{$field},$message,$allowed); } else { $r->print('\\\\\textbf{'.$syllabusfields{$field}.'}\\\\'. &Apache::lonxml::xmlparse($r,'tex',$message).'\\\\'); } if ($allowed) { &print_editbox_template($r,$syllabus{$field},$field); + if($target ne 'tex'){ + $r->print('
'); + } } } } - $r->print(''.(&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom)).''); - $r->print('
'.$content.''); $r->print('