version 1.24.2.1, 2004/08/18 21:15:19
|
version 1.25, 2004/07/27 23:35:34
|
Line 109 ENDDOCUMENT
|
Line 109 ENDDOCUMENT
|
if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) { |
if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) { |
$forcestudent='student'; |
$forcestudent='student'; |
} |
} |
if ($target ne 'tex') { $r->print('<table><tr><td>'); } |
|
if ($forcestudent or $target eq 'tex') { $allowed=0; } |
if ($forcestudent or $target eq 'tex') { $allowed=0; } |
|
|
if ($allowed) { |
if ($allowed) { |
Line 169 ENDDOCUMENT
|
Line 169 ENDDOCUMENT
|
$message |
$message |
=~s/(https*\:\/\/[^\s]+)/\<a href=\"$1\"\>\<tt\>$1\<\/tt\>\<\/a\>/g; |
=~s/(https*\:\/\/[^\s]+)/\<a href=\"$1\"\>\<tt\>$1\<\/tt\>\<\/a\>/g; |
$message=&Apache::lontexconvert::msgtexconverted($message); |
$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 (($_ ne 'bbb_content') || ($allowed)) { |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
$r->print('<h3>'.$syllabusfields{$_}.'</h3>'); |
$r->print('<h3>'.$syllabusfields{$_}.'</h3>'); |
Line 210 ENDDOCUMENT
|
Line 213 ENDDOCUMENT
|
} else { |
} else { |
$r->print('<p>'.&mt('No page information provided.').'</p>'); |
$r->print('<p>'.&mt('No page information provided.').'</p>'); |
} |
} |
if ($target ne 'tex') { $r->print('</td></tr></table>'); } |
|
if ($target ne 'tex') { |
if ($target ne 'tex') { |
$r->print(&Apache::lonfeedback::list_discussion |
$r->print(&Apache::lonfeedback::list_discussion |
('board','OPEN','bulletin___'.$marker.'___'. |
('board','OPEN','bulletin___'.$marker.'___'. |