version 1.350, 2004/12/09 23:45:59
|
version 1.351, 2005/01/24 22:36:03
|
Line 1382 sub debug {
|
Line 1382 sub debug {
|
} |
} |
|
|
sub show_error_warn_msg { |
sub show_error_warn_msg { |
|
if ($ENV{'request.filename'} eq '/home/httpd/html/res/lib/templates/simpleproblem.problem' && |
|
&Apache::lonnet::allowed('mdc',$ENV{'request.course.id'})) { |
|
return 1; |
|
} |
return (($Apache::lonxml::debug eq 1) || |
return (($Apache::lonxml::debug eq 1) || |
($ENV{'request.state'} eq 'construct') || |
($ENV{'request.state'} eq 'construct') || |
($Apache::lonhomework::browse eq 'F' |
($Apache::lonhomework::browse eq 'F' |