--- loncom/interface/lonsimplepage.pm 2009/12/12 14:45:42 1.89 +++ loncom/interface/lonsimplepage.pm 2009/12/15 20:48:53 1.90 @@ -1,7 +1,7 @@ # The LearningOnline Network # Simple Page Editor # -# $Id: lonsimplepage.pm,v 1.89 2009/12/12 14:45:42 amueller Exp $ +# $Id: lonsimplepage.pm,v 1.90 2009/12/15 20:48:53 amueller Exp $ # # Copyright Michigan State University Board of Trustees # @@ -303,7 +303,6 @@ sub handler { my $titletext=$syllabus{'aaa_title'}; if ($target ne 'tex') { if ($allowed) { - $r->print('

'); } $r->print('

'.$titletext.'

'); } else { @@ -316,7 +315,6 @@ sub handler { $r->print('
'); &Apache::lontemplate::print_template($r, &mt('Title'), $titletext, $allowed, 'LC_Box'); &Apache::lontemplate::print_editbox_template($r,$syllabus{'aaa_title'},'aaa_title'); - $r->print('

'); } else { my $safeinit; $r->print(&Apache::lonxml::xmlparse($r,'tex',$syllabus{'aaa_title'},$safeinit)); @@ -383,7 +381,6 @@ UPLOAD_PHOTO } else { if ($target ne 'tex') { if ($allowed) { - $r->print('

'); } &Apache::lontemplate::print_template($r,$syllabusfields{$field},$message,$allowed,'LC_Box'); } else { @@ -394,7 +391,6 @@ UPLOAD_PHOTO if ($allowed) { if ($target ne 'tex') { &Apache::lontemplate::print_editbox_template($r,$syllabus{$field},$field); - $r->print('

'); } else { my $safeinit; $r->print(&Apache::lonxml::xmlparse($r,'tex',$syllabus{$field},$safeinit)); @@ -407,7 +403,6 @@ UPLOAD_PHOTO $r->print(&Apache::lonhtmlcommon::htmlareaselectactive ('bbb_content').'
'); } - if ($env{'form.grade_target'} ne 'tex') {$r->print('

');} } else { if ($group ne '') {