--- loncom/interface/lonsimplepage.pm 2009/12/07 19:47:56 1.87 +++ loncom/interface/lonsimplepage.pm 2009/12/12 14:45:42 1.89 @@ -1,7 +1,7 @@ # The LearningOnline Network # Simple Page Editor # -# $Id: lonsimplepage.pm,v 1.87 2009/12/07 19:47:56 amueller Exp $ +# $Id: lonsimplepage.pm,v 1.89 2009/12/12 14:45:42 amueller Exp $ # # Copyright Michigan State University Board of Trustees # @@ -299,6 +299,31 @@ sub handler { if ((($syllabus{'uploaded.lastmodified'}) && (($group ne '' && ($group_home_view || $group_edit_perm || $group_view_perm)) || ($group eq ''))) || ($allowed)) { + #Print the title + my $titletext=$syllabus{'aaa_title'}; + if ($target ne 'tex') { + if ($allowed) { + $r->print('
'); + } + $r->print('