--- loncom/interface/lontemplate.pm 2008/12/10 15:58:36 1.8 +++ loncom/interface/lontemplate.pm 2009/03/27 15:46:38 1.29 @@ -1,7 +1,7 @@ # The LearningOnline Network # "Template" Functions to generate html output # -# $Id: lontemplate.pm,v 1.8 2008/12/10 15:58:36 ehlerst Exp $ +# $Id: lontemplate.pm,v 1.29 2009/03/27 15:46:38 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -46,7 +46,7 @@ use HTML::Entities(); sub start_columnSection{ my ($r) = @_; - $r->print('
'); + } + + if($field eq 'aaa_contactinfo') { + $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('