--- loncom/interface/lonsimplepage.pm 2009/06/11 16:48:33 1.84 +++ loncom/interface/lonsimplepage.pm 2009/07/10 15:05:28 1.85 @@ -1,7 +1,7 @@ # The LearningOnline Network # Simple Page Editor # -# $Id: lonsimplepage.pm,v 1.84 2009/06/11 16:48:33 bisitz Exp $ +# $Id: lonsimplepage.pm,v 1.85 2009/07/10 15:05:28 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -304,8 +304,8 @@ sub handler { &Apache::lonnet::allowuploaded('/adm/smppg', $syllabus{'uploaded.photourl'}); - $image=''; + $image=''.&mt('Image').''; if ($target eq 'tex') { $image=&Apache::lonxml::xmlparse($r,'tex',$image); } @@ -313,19 +313,20 @@ sub handler { if ($allowed) { $r->print( - '
'. + ''. ''. '

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

'. ''. ''. - '
'. + '
'. ''); if ($syllabus{'uploaded.photourl'}) { - $r->print('' ); + $r->print(''); } } if ($allowed) { - $r->print($image.'
 
'); + $r->print($image.''); } foreach my $field (sort(keys(%syllabusfields))) {