--- loncom/interface/lontemplate.pm 2008/11/20 13:57:40 1.3 +++ loncom/interface/lontemplate.pm 2008/12/02 09:19:47 1.5 @@ -1,7 +1,7 @@ # The LearningOnline Network # "Template" Functions to generate html output # -# $Id: lontemplate.pm,v 1.3 2008/11/20 13:57:40 www Exp $ +# $Id: lontemplate.pm,v 1.5 2008/12/02 09:19:47 ehlerst Exp $ # # Copyright Michigan State University Board of Trustees # @@ -34,6 +34,8 @@ use strict; use Apache::Constants qw(:common); use Apache::loncommon; use Apache::lonnet; +use Apache::lonxml; +use Apache::lonspeller; use Apache::lontexconvert; use Apache::lonfeedback; use Apache::lonrss(); @@ -41,11 +43,43 @@ use Apache::lonlocal; use Apache::lonmsgdisplay(); use HTML::Entities(); +sub print_content_template{ + my ($r,$allowed,$target,$syllabusfields_ref,$syllabus_ref) = @_; + my %syllabusfields = %{$syllabusfields_ref}; + my %syllabus = %{$syllabus_ref}; + $r->print('
'.$content.'