--- loncom/homework/structuretags.pm 2008/08/26 03:18:29 1.429 +++ loncom/homework/structuretags.pm 2008/09/11 14:47:17 1.430 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # definition of tags that give a structure to a document # -# $Id: structuretags.pm,v 1.429 2008/08/26 03:18:29 raeburn Exp $ +# $Id: structuretags.pm,v 1.430 2008/09/11 14:47:17 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1493,7 +1493,7 @@ sub end_while { $return = &Apache::run::run($code,$safeeval); } if ($error) { - &Apache::lonxml::error('
'.&mt('Code ran too long. It ran for more than').' '.$Apache::lonnet::perlvar{'lonScriptTimeout'}.' '.&mt('seconds occured while running <while> on line').' '.$line.'
'); + &Apache::lonxml::error('
'.&mt('Code ran too long. It ran for more than').' '.$Apache::lonnet::perlvar{'lonScriptTimeout'}.' '.&mt('seconds occurred while running <while> on line').' '.$line.'
'); } } elsif ($target eq "edit") { $result.= &Apache::edit::tag_end($target,$token,'');