--- loncom/interface/lontemplate.pm 2008/12/17 00:44:53 1.10 +++ 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.10 2008/12/17 00:44:53 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('
'); + $r->print('
'); } sub end_columnSection{ @@ -94,7 +94,7 @@ sub start_ContentBox{ if($allowed){ $r->print('
'); }else{ - $r->print('
'); + $r->print('
'); } } @@ -105,10 +105,10 @@ sub end_ContentBox{ sub send_message{ my ($r,$cnum,$cdom) = @_; - $r->print('
'); - $r->print('

'.&mt('Contact').'

'); - $r->print('
'.(&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom)).'
'); - $r->print('
'); + my $image = qq{}; + $r->print('
'); + $r->print(&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&mt('Send me a message')); + $r->print('
'); } sub print_template @@ -117,9 +117,9 @@ sub print_template if($allowed){ $r->print('
'); }else{ - $r->print('
'); + $r->print('
'); } - $r->print('

'.$topic.'

'); + $r->print('

'.$topic.'

'); $r->print('
'.$content.'
'); $r->print('
'); }