--- loncom/interface/lontemplate.pm 2009/02/13 18:56:13 1.16 +++ loncom/interface/lontemplate.pm 2009/02/19 17:32:39 1.17 @@ -1,7 +1,7 @@ # The LearningOnline Network # "Template" Functions to generate html output # -# $Id: lontemplate.pm,v 1.16 2009/02/13 18:56:13 neumanie Exp $ +# $Id: lontemplate.pm,v 1.17 2009/02/19 17:32:39 neumanie Exp $ # # Copyright Michigan State University Board of Trustees # @@ -113,10 +113,12 @@ sub end_ContentBox{ sub send_message{ my ($r,$cnum,$cdom) = @_; + my $s; my $image = qq{}; - $r->print('
'); - $r->print(&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom)); - $r->print('
'); + #$r->print('
'); + $s=&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom); + #$r->print('
'); + return $s; } sub print_template @@ -136,5 +138,20 @@ sub print_editbox_template '
'); } - +sub print_start_page_functions +{ + my($r)=@_; + #TODO add translation for Functions + $r->print('
Functions'); +} +sub print_functions_content +{ + my($r,$content) = @_; + $r->print($content.'      '); +} +sub print_end_page_functions +{ + my($r)=@_; + $r->print('
'); +} 1;