version 1.94, 2009/09/02 12:39:26
|
version 1.95, 2009/09/04 16:51:11
|
Line 363 ENDSCRIPT
|
Line 363 ENDSCRIPT
|
# ---------------------------------------------------------------- Get syllabus |
# ---------------------------------------------------------------- Get syllabus |
if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) { |
if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) { |
if ($allowed) { |
if ($allowed) { |
$r->print('<form method="post">'. |
$r->print('<form method="post" action="">'. |
'<input type="hidden" name="forceedit" value="edit" />'); |
'<input type="hidden" name="forceedit" value="edit" />'); |
} |
} |
my @htmlids=(); |
my @htmlids=(); |
Line 406 ENDSCRIPT
|
Line 406 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,$allowed,'LC_Box'); |
&Apache::lontemplate::print_template($r, $syllabusfields{$field}, $message,$allowed,'LC_Box'); |
} else { |
} else { |
$r->print('\\\\\textbf{'.$syllabusfields{$field}.'}\\\\'. |
$r->print('\\\\\textbf{'.$syllabusfields{$field}.'}\\\\'. |
Line 418 ENDSCRIPT
|
Line 415 ENDSCRIPT
|
} |
} |
if ($allowed) { |
if ($allowed) { |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
$r->print('</p>'); |
|
&Apache::lontemplate::print_editbox_template($r, $syllabus{$field}, $field); |
&Apache::lontemplate::print_editbox_template($r, $syllabus{$field}, $field); |
} |
} |
} |
} |