--- loncom/interface/lonbulletin.pm 2004/08/18 21:15:19 1.24.2.1 +++ loncom/interface/lonbulletin.pm 2004/07/27 23:35:34 1.25 @@ -1,7 +1,7 @@ # The LearningOnline Network # Bulletin Board Handler # -# $Id: lonbulletin.pm,v 1.24.2.1 2004/08/18 21:15:19 albertel Exp $ +# $Id: lonbulletin.pm,v 1.25 2004/07/27 23:35:34 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -109,7 +109,7 @@ ENDDOCUMENT if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) { $forcestudent='student'; } - if ($target ne 'tex') { $r->print('
'); }
+
if ($forcestudent or $target eq 'tex') { $allowed=0; }
if ($allowed) {
@@ -169,7 +169,10 @@ ENDDOCUMENT
$message
=~s/(https*\:\/\/[^\s]+)/\\$1\<\/tt\>\<\/a\>/g;
$message=&Apache::lontexconvert::msgtexconverted($message);
- unless ($_ eq 'aaa_title') {
+ if ($allowed) {
+ $message=&Apache::lonspeller::markeduptext($message);
+ }
+ unless ($_ eq 'aaa_title') {
if (($_ ne 'bbb_content') || ($allowed)) {
if ($target ne 'tex') {
$r->print(''.$syllabusfields{$_}.''); @@ -210,7 +213,6 @@ ENDDOCUMENT } else { $r->print(''.&mt('No page information provided.').' '); } - if ($target ne 'tex') { $r->print(' |