--- rat/lonsequence.pm 2007/07/11 23:51:02 1.31 +++ rat/lonsequence.pm 2008/11/11 16:40:38 1.33 @@ -2,7 +2,7 @@ # # Sequence Handler # -# $Id: lonsequence.pm,v 1.31 2007/07/11 23:51:02 albertel Exp $ +# $Id: lonsequence.pm,v 1.33 2008/11/11 16:40:38 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -27,6 +27,46 @@ # http://www.lon-capa.org/ # +=head1 NAME + +Apache::lonsequence + +=head1 SYNOPSIS + +Handler for showing sequence objects of +educational resources. + +This is part of the LearningOnline Network with CAPA project +described at http://www.lon-capa.org. + +=head1 HANDLER SUBROUTINE + +handler() + +and + +viewmap() + +=head1 OTHER SUBROUTINES + +=over + +=item * + +attemptread() + +=item * + +mapread() + +=item * + +start_fresh_session() + +=back + +=cut + package Apache::lonsequence; use strict; @@ -46,10 +86,10 @@ my $successtied; # ----------------------------------------- Attempt to read from resource space sub attemptread { - my $fn=shift; + my ($fn,$unsorted)=@_; &Apache::lonnet::repcopy($fn); if (-e $fn) { - return &LONCAPA::map::attemptread($fn); + return &LONCAPA::map::attemptread($fn,$unsorted); } else { return (); } 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.