version 1.173, 2004/04/16 19:10:27
|
version 1.174, 2004/04/17 14:06:41
|
Line 207 sub check_access {
|
Line 207 sub check_access {
|
if ( ! ($ENV{'form.problemstate'} eq 'CANNOT_ANSWER_correct' && |
if ( ! ($ENV{'form.problemstate'} eq 'CANNOT_ANSWER_correct' && |
lc($Apache::lonhomework::problemstatus) eq 'no')) { |
lc($Apache::lonhomework::problemstatus) eq 'no')) { |
return ('CANNOT_ANSWER', |
return ('CANNOT_ANSWER', |
&mt('is in this state by royal decree.')); |
&mt('is in this state due to author settings.')); |
} |
} |
} else { |
} else { |
return ($ENV{'form.problemstate'}, |
return ($ENV{'form.problemstate'}, |
&mt('is in this state by royal decree.')); |
&mt('is in this state due to author settings.')); |
} |
} |
} |
} |
&Apache::lonxml::debug("in construction ignoring dates"); |
&Apache::lonxml::debug("in construction ignoring dates"); |