--- loncom/interface/lontemplate.pm 2008/12/17 00:44:53 1.10 +++ loncom/interface/lontemplate.pm 2009/02/25 13:25:52 1.20 @@ -1,7 +1,7 @@ # The LearningOnline Network # "Template" Functions to generate html output # -# $Id: lontemplate.pm,v 1.10 2008/12/17 00:44:53 ehlerst Exp $ +# $Id: lontemplate.pm,v 1.20 2009/02/25 13:25:52 neumanie 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); + } + + if($field eq 'aaa_contactinfo') { + if($allowed){ + $r->print('
'.(&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom)).''); - $r->print('
'.$content.''); + my ($r,$topic,$content, $allowed,$boxclass) = @_; + $r->print('
' .$content . '
'); + $r->print('