--- rat/lonsequence.pm 2007/07/11 23:51:02 1.31 +++ rat/lonsequence.pm 2009/02/16 13:52:04 1.37 @@ -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.37 2009/02/16 13:52:04 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -27,6 +27,8 @@ # http://www.lon-capa.org/ # + + package Apache::lonsequence; use strict; @@ -46,10 +48,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 (); } @@ -124,7 +126,9 @@ ENDSELECT # ----------------------------- successtied is now '1' if in working selectmode my ($errtext,$fatal)=&mapread(&Apache::lonnet::filelocation('',$url),''); if ($fatal==1) { - $r->print('
'.&mt('Map contents are not shown in order.').'
' + .&mt('Map contents are not shown in order.') + .'