--- loncom/interface/lonbulletin.pm 2009/12/03 02:13:28 1.52 +++ loncom/interface/lonbulletin.pm 2009/12/14 13:42:33 1.56 @@ -1,7 +1,7 @@ # The LearningOnline Network # Bulletin Board Handler # -# $Id: lonbulletin.pm,v 1.52 2009/12/03 02:13:28 www Exp $ +# $Id: lonbulletin.pm,v 1.56 2009/12/14 13:42:33 wenzelju Exp $ # # Copyright Michigan State University Board of Trustees # @@ -177,7 +177,6 @@ sub handler { if (($syllabus{'uploaded.lastmodified'}) && (!$forceedit)) { $forcestudent='student'; } - if ($target ne 'tex') { $r->print('
'); }
if ($forcestudent or $target eq 'tex') { $allowed=0; }
if ($allowed) {
@@ -185,17 +184,24 @@ sub handler {
if (($group ne '') && ($env{'form.group'} eq $group)) {
$query_str.='&group='.$group.'&'.$refarg;
}
- $r->print(
- ' '.
- &Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes',&mt('Help with filling in text boxes')).' '.$titletext.''); + } else { + $r->print('\\\\\textbf{'.&Apache::lonxml::xmlparse($r,'tex',$titletext).'}\\\\'); + } + #Outputbox and Inputbox for Topic + if ($allowed) { + $r->print(''); } - if ($target ne 'tex') {$r->print('');} else {$r->print('\\\\');} + if ($target ne 'tex'){ + $r->print(''); + } + else { + $r->print(&Apache::lonxml::xmlparse($r,'tex',' ')); + } } else { $r->print(' '.&mt('No page information provided.').' '); } - if ($target ne 'tex') { $r->print(' |