version 1.82, 2009/05/19 09:59:48
|
version 1.83, 2009/06/08 18:04:45
|
Line 350 sub handler {
|
Line 350 sub handler {
|
} |
} |
if ($allowed) { |
if ($allowed) { |
if ($env{'form.grade_target'} ne 'tex') { |
if ($env{'form.grade_target'} ne 'tex') { |
&Apache::lontemplate::print_template($r, &mt('Title'), $message, $allowed, 'LC_ContentBoxSpecial'); |
&Apache::lontemplate::print_template($r, &mt('Title'), $message, $allowed, 'LC_Box'); |
&Apache::lontemplate::print_editbox_template($r,$syllabus{$field},$field); |
&Apache::lontemplate::print_editbox_template($r,$syllabus{$field},$field); |
$r->print('</p>'); |
$r->print('</p>'); |
} else { |
} else { |
Line 364 sub handler {
|
Line 364 sub handler {
|
if ($allowed) { |
if ($allowed) { |
$r->print('<p>'); |
$r->print('<p>'); |
} |
} |
&Apache::lontemplate::print_template($r,$syllabusfields{$field},$message,$allowed,'LC_ContentBoxSpecial'); |
&Apache::lontemplate::print_template($r,$syllabusfields{$field},$message,$allowed,'LC_Box'); |
} else { |
} else { |
my $safeinit; |
my $safeinit; |
$r->print(&Apache::lonxml::xmlparse($r,'tex','<h3>'.$syllabusfields{$field}.'</h3>')); |
$r->print(&Apache::lonxml::xmlparse($r,'tex','<h3>'.$syllabusfields{$field}.'</h3>')); |