--- loncom/homework/structuretags.pm 2014/05/15 20:29:26 1.512.2.7 +++ loncom/homework/structuretags.pm 2013/07/15 14:32:55 1.514 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.512.2.7 2014/05/15 20:29:26 raeburn Exp $ +# $Id: structuretags.pm,v 1.514 2013/07/15 14:32:55 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -414,8 +414,6 @@ sub page_start { $body_args{'add_entries'} = \%add_entries; if ( $env{'request.state'} eq 'construct') { $body_args{'only_body'} = 1; - } elsif ($target eq 'web') { - $body_args{'print_suppress'} = 1; } } $body_args{'no_auto_mt_title'} = 1; @@ -639,7 +637,7 @@ sub problem_edit_header { '.&Apache::lonxml::message_location().' '. - '
' - .&mt('Code ran too long. It ran for more than [_1] seconds.', - $Apache::lonnet::perlvar{'lonScriptTimeout'}) - .&mt('This occurred while running <while> on line [_1].', - $line) - .'
'.&mt('Code ran too long. It ran for more than').' '.$Apache::lonnet::perlvar{'lonScriptTimeout'}.' '.&mt('seconds occurred while running <while> on line').' '.$line.'