--- loncom/homework/lonhomework.pm 2003/12/22 22:15:27 1.159 +++ loncom/homework/lonhomework.pm 2004/01/28 15:45:44 1.161 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # The LON-CAPA Homework handler # -# $Id: lonhomework.pm,v 1.159 2003/12/22 22:15:27 www Exp $ +# $Id: lonhomework.pm,v 1.161 2004/01/28 15:45:44 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -211,7 +211,7 @@ sub check_access { &Apache::lonxml::debug("time:".time); my $allowed=&check_ip_acc(&Apache::lonnet::EXT("resource.$id.acc")); - if (!$allowed) { + if (!$allowed && ($Apache::lonhomework::browse ne 'F')) { $status='INVALID_ACCESS'; $date=&mt("can not be accessed from your location."); return($status,$date); @@ -524,8 +524,12 @@ sub editxmlmode { &renderpage($request,$file); } else { my ($rows,$cols) = &Apache::edit::textarea_sizes(\$problem); - my $xml_help = Apache::loncommon::helpLatexCheatsheet("Problem_Editor_XML_Index", - "Problem Editing Help"); + my $xml_help = '
'. + &Apache::loncommon::helpLatexCheatsheet("Problem_Editor_XML_Index", + "Problem Editing Help"). + ' | '. + &Apache::loncommon::help_open_faq(5). + &Apache::loncommon::help_open_bug('Authoring').' |