version 1.133, 2005/12/06 10:00:08
|
version 1.135, 2006/01/21 08:17:51
|
Line 646 sub answer_footer {
|
Line 646 sub answer_footer {
|
my $result; |
my $result; |
if ($env{'form.answer_output_mode'} eq 'tex') { |
if ($env{'form.answer_output_mode'} eq 'tex') { |
my $columns = scalar(@answer_bits); |
my $columns = scalar(@answer_bits); |
$result = ' \vskip 0 mm \begin{tabular}{|'.'c|'x$columns.'}\hline '; |
$result = ' \vskip 0 mm \noindent \begin{tabular}{|'.'c|'x$columns.'}\hline '; |
$result .= join(' & ',@answer_bits); |
$result .= join(' & ',@answer_bits); |
$result .= ' \\\\ \\hline \end{tabular} \vskip 0 mm '; |
$result .= ' \\\\ \\hline \end{tabular} \vskip 0 mm '; |
} else { |
} else { |
Line 884 sub add_to_gradingqueue {
|
Line 884 sub add_to_gradingqueue {
|
my ($symb,$courseid,$domain,$name) = &Apache::lonxml::whichuser(); |
my ($symb,$courseid,$domain,$name) = &Apache::lonxml::whichuser(); |
if ( $courseid eq '' |
if ( $courseid eq '' |
|| $symb eq '' |
|| $symb eq '' |
|| $env{'request.state'} eq 'construct') { |
|| $env{'request.state'} eq 'construct' |
|
|| $Apache::lonhomework::type ne 'problem') { |
return; |
return; |
} |
} |
|
|