--- loncom/interface/lonbulletin.pm 2009/12/07 14:23:43 1.53 +++ loncom/interface/lonbulletin.pm 2009/12/08 10:26:21 1.54 @@ -1,7 +1,7 @@ # The LearningOnline Network # Bulletin Board Handler # -# $Id: lonbulletin.pm,v 1.53 2009/12/07 14:23:43 wenzelju Exp $ +# $Id: lonbulletin.pm,v 1.54 2009/12/08 10:26:21 wenzelju Exp $ # # Copyright Michigan State University Board of Trustees # @@ -234,7 +234,7 @@ sub handler { &Apache::lonnet::put('bulletinpage_'.$marker,\%syllabus,$dom,$crs); } -# ---------------------------------------------------------------- Get syllabus +# ---------------------------------------------------------------- Get discussion board if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) { if ($syllabus{'uploaded.photourl'}) { &Apache::lonnet::allowuploaded('/adm/syllabus', @@ -242,13 +242,13 @@ sub handler { } #Outputbox and Inputbox for Image upload if ($allowed) { - &Apache::lontemplate::print_template($r, &mt('Upload a Photo'), '',$allowed,'LC_Box'); + &Apache::lontemplate::print_template($r, &mt('Upload a Photo'), '',$allowed,'LC_Box'); $r->print( - '
'); } + if ($target ne 'tex'){ + $r->print(''.&mt('No page information provided.').'
'); }