--- rat/lonsequence.pm 2002/05/23 13:04:59 1.10 +++ rat/lonsequence.pm 2008/11/18 19:13:37 1.34 @@ -2,7 +2,7 @@ # # Sequence Handler # -# $Id: lonsequence.pm,v 1.10 2002/05/23 13:04:59 www Exp $ +# $Id: lonsequence.pm,v 1.34 2008/11/18 19:13:37 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -26,15 +26,36 @@ # # http://www.lon-capa.org/ # -# (Handler to resolve ambiguous file locations -# -# (TeX Content Handler -# -# 05/29/00,05/30,10/11 Gerd Kortemeyer) -# -# 10/11,10/12 Gerd Kortemeyer) -# -# 10/16 Gerd Kortemeyer + +=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 SUBROUTINES + +=over + +=item handler() + +=item viewmap() + +=item attemptread() + +=item mapread() + +=item start_fresh_session() + +=back + +=cut package Apache::lonsequence; @@ -42,29 +63,33 @@ use strict; use Apache::lonnet; use Apache::Constants qw(:common :http REDIRECT); use GDBM_File; -use Apache::lonratedt; -use Apache::lonratsrv; - -# ----------------------------------------------------------- Could not resolve - -sub getlost { - my ($r,$errmsg)=@_; - $r->content_type('text/html'); - $r->send_http_header; - $r->print( - '
'.$errmsg. - '