--- loncom/interface/lontemplate.pm 2009/02/20 17:45:40 1.19 +++ 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.19 2009/02/20 17:45:40 neumanie Exp $ +# $Id: lontemplate.pm,v 1.20 2009/02/25 13:25:52 neumanie Exp $ # # Copyright Michigan State University Board of Trustees # @@ -127,7 +127,17 @@ sub print_template $r->print('

' .$content . '

'); $r->print(''); } - +sub print_start_template +{ + my ($r,$topic,$boxclass) = @_; + $r->print('
'); + $r->print('

'.$topic.'

'); +} +sub print_end_template +{ + my ($r) = @_; + $r->print('
'); +} sub print_editbox_template { my ($r,$content,$field) = @_; @@ -144,7 +154,7 @@ sub print_start_page_functions sub print_functions_content { my($r,$content) = @_; - $r->print(' '.$content.' '); + $r->print($content.' '); } sub print_end_page_functions