--- rat/lonambiguous.pm 2005/02/17 09:09:57 1.14 +++ rat/lonambiguous.pm 2008/11/11 16:06:46 1.22 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler to resolve ambiguous file locations # -# $Id: lonambiguous.pm,v 1.14 2005/02/17 09:09:57 albertel Exp $ +# $Id: lonambiguous.pm,v 1.22 2008/11/11 16:06:46 jms Exp $ # # Copyright Michigan State University Board of Trustees # @@ -26,6 +26,42 @@ # http://www.lon-capa.org/ # + +=head1 NAME + +Apache::lonambiguous + +=head1 SYNOPSIS + +Handler to resolve ambiguous file locations. + +This is part of the LearningOnline Network with CAPA project +described at http://www.lon-capa.org. + +=head1 HANDLER SUBROUTINE + +make_symb() + +and + +handler() + +=head1 OTHER SUBROUTINES + +=over + +=item * + +cleanup() + +=item * + +getlost() + +=back + +=cut + package Apache::lonambiguous; use strict; @@ -44,6 +80,7 @@ sub cleanup { &Apache::lonnet::logthis('Failed cleanup ambiguous: bighash'); } } + return OK; } # ----------------------------------------------------------- Could not resolve @@ -53,11 +90,9 @@ sub getlost { $errmsg=&mt($errmsg); &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; - $r->print( - '