--- loncom/interface/lonsimplepage.pm 2009/12/08 12:20:49 1.88 +++ 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.88 2009/12/08 12:20:49 amueller Exp $ +# $Id: lonsimplepage.pm,v 1.89 2009/12/12 14:45:42 amueller Exp $ # # Copyright Michigan State University Board of Trustees # @@ -337,12 +337,17 @@ sub handler { } if ($allowed) { - $r->print( - ''. - '

'.&mt('Upload a Photo').'

'. - ''. - ''. - ''); + $r->print(''); + my $upload_photo_label = &mt('Upload a Photo'); + my $upload_button_label = &mt('Upload'); + + my $content_for_upload_photo=<<"UPLOAD_PHOTO"; + + + +UPLOAD_PHOTO + &Apache::lontemplate::print_template($r, $upload_photo_label,$content_for_upload_photo,$allowed, 'LC_Box'); + # if ($syllabus{'uploaded.photourl'}) { # $r->print('');