Diff for /loncom/interface/lonsyllabus.pm between versions 1.73 and 1.74

version 1.73, 2008/12/16 20:00:11 version 1.74, 2008/12/17 00:44:53
Line 367  ENDSCRIPT Line 367  ENDSCRIPT
    }     }
    $message=&Apache::lontexconvert::msgtexconverted($message);     $message=&Apache::lontexconvert::msgtexconverted($message);
    if ($target ne 'tex') {     if ($target ne 'tex') {
    if($allowed){
    $r->print('<p>');
    }
  &Apache::lontemplate::print_template($r, $syllabusfields{$field}, $message);   &Apache::lontemplate::print_template($r, $syllabusfields{$field}, $message);
   
    } else {     } else {
        $r->print('\\\\\textbf{'.$syllabusfields{$field}.'}\\\\'.         $r->print('\\\\\textbf{'.$syllabusfields{$field}.'}\\\\'.
  &Apache::lonxml::xmlparse($r,'tex',$message).'\\\\');   &Apache::lonxml::xmlparse($r,'tex',$message).'\\\\');
Line 376  ENDSCRIPT Line 378  ENDSCRIPT
    push(@htmlids,$field);     push(@htmlids,$field);
        }         }
        if ($allowed) {         if ($allowed) {
  &Apache::lontemplate::print_editbox_template($r, $syllabus{$field}, $field);   if($target ne 'tex'){
    $r->print('</p>');
    }
    &Apache::lontemplate::print_editbox_template($r, $syllabus{$field}, $field);
        }         }
    }     }
        }         }

Removed from v.1.73  
changed lines
  Added in v.1.74


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>