version 1.27, 2004/05/12 19:25:15
|
version 1.30, 2004/08/25 18:08:11
|
Line 174 ENDDOCUMENT
|
Line 174 ENDDOCUMENT
|
$message=~s/\n/\<br \/\>/g; |
$message=~s/\n/\<br \/\>/g; |
$message |
$message |
=~s/(http\:\/\/[^\s]+)/\<a href=\"$1\"\>\<tt\>$1\<\/tt\>\<\/a\>/g; |
=~s/(http\:\/\/[^\s]+)/\<a href=\"$1\"\>\<tt\>$1\<\/tt\>\<\/a\>/g; |
|
if ($allowed) { |
|
$message=&Apache::lonspeller::markeduptext($message); |
|
} |
$message=&Apache::lontexconvert::msgtexconverted($message); |
$message=&Apache::lontexconvert::msgtexconverted($message); |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
$r->print('<h3>'.$syllabusfields{$_}.'</h3><blockquote>'. |
$r->print('<h3>'.$syllabusfields{$_}.'</h3><blockquote>'. |
Line 200 ENDDOCUMENT
|
Line 203 ENDDOCUMENT
|
if ($ENV{'request.course.id'}) { |
if ($ENV{'request.course.id'}) { |
if (&Apache::lonnet::allowed('srm',$ENV{'request.course.id'})) { |
if (&Apache::lonnet::allowed('srm',$ENV{'request.course.id'})) { |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
|
$r->print('<a name="coursecomment" />'); |
$r->print('<hr /><h3>'. |
$r->print('<hr /><h3>'. |
&mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course').'</h3>'. |
&mt('User Notes, Records of Face-To-Face Discussions, and Critical Messages in Course').'</h3>'. |
&mt('Shared by course faculty and staff'). |
&mt('Shared by course faculty and staff'). |