--- loncom/interface/lontemplate.pm 2009/02/13 17:29:39 1.15 +++ 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.15 2009/02/13 17:29:39 neumanie Exp $ +# $Id: lontemplate.pm,v 1.17 2009/02/19 17:32:39 neumanie Exp $ # # Copyright Michigan State University Board of Trustees # @@ -76,10 +76,10 @@ sub print_aboutme_content_template{ if($field eq 'aaa_contactinfo') { if($allowed){ - $r->print('
 
'); + $r->print('
 
'); } &print_template($r,$syllabusfields{$field},$message,$allowed,'LC_ContentBoxSpecialContactInfo'); - $r->print('
 
'); + $r->print('
 
'); } else{ &print_template($r,$syllabusfields{$field},$message,$allowed,'LC_ContentBoxSpecial'); @@ -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;