version 1.327, 2005/12/15 23:20:55
|
version 1.329, 2006/01/02 22:34:31
|
Line 232 sub problem_edit_header {
|
Line 232 sub problem_edit_header {
|
&Apache::structuretags::remember_problem_state().' |
&Apache::structuretags::remember_problem_state().' |
<input type="hidden" name="problemmode" value="'.&mt('Edit').'" /> |
<input type="hidden" name="problemmode" value="'.&mt('Edit').'" /> |
<input type="submit" name="problemmode" accesskey="d" value="'.&mt('Discard Edits and View').'" /> |
<input type="submit" name="problemmode" accesskey="d" value="'.&mt('Discard Edits and View').'" /> |
<input type="submit" name="problemmode" accesskey="x" value="'.&mt('EditXML').'" /> |
<input '.&Apache::edit::submit_ask_anyway().' type="submit" name="problemmode" accesskey="x" value="'.&mt('EditXML').'" /> |
<input type="submit" name="Undo" accesskey="u" value="'.&mt('undo').'" /> <hr /> |
<input type="submit" name="Undo" accesskey="u" value="'.&mt('undo').'" /> <hr /> |
<input type="submit" name="submit" accesskey="s" value="'.&mt('Submit Changes and Edit').'" /> |
<input type="submit" name="submit" accesskey="s" value="'.&mt('Submit Changes and Edit').'" /> |
<input type="submit" name="submit" accesskey="v" value="'.&mt('Submit Changes and View').'" /><table><tr><td>'. |
<input type="submit" name="submit" accesskey="v" value="'.&mt('Submit Changes and View').'" /><table><tr><td>'. |
Line 719 sub end_problem {
|
Line 719 sub end_problem {
|
|
|
if (!$Apache::lonxml::metamode) { |
if (!$Apache::lonxml::metamode) { |
$result = &Apache::lonxml::endredirection(); #started in &start_problem |
$result = &Apache::lonxml::endredirection(); #started in &start_problem |
|
$Apache::lonxml::post_evaluate=0; |
} |
} |
|
|
if ($target eq 'tex') { |
if ($target eq 'tex') { |
Line 1371 sub end_part {
|
Line 1372 sub end_part {
|
my $result; |
my $result; |
if (!$Apache::lonxml::metamode) { |
if (!$Apache::lonxml::metamode) { |
$result = &Apache::lonxml::endredirection(); # started in &start_part |
$result = &Apache::lonxml::endredirection(); # started in &start_part |
|
$Apache::lonxml::post_evaluate=0; |
} |
} |
if ($target eq 'grade') { |
if ($target eq 'grade') { |
if (($status eq 'CAN_ANSWER' || $Apache::lonhomework::scantronmode) && |
if (($status eq 'CAN_ANSWER' || $Apache::lonhomework::scantronmode) && |