--- rat/lonsequence.pm 2004/07/06 15:27:00 1.18 +++ rat/lonsequence.pm 2004/10/16 01:14:28 1.21 @@ -2,7 +2,7 @@ # # Sequence Handler # -# $Id: lonsequence.pm,v 1.18 2004/07/06 15:27:00 raeburn Exp $ +# $Id: lonsequence.pm,v 1.21 2004/10/16 01:14:28 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -292,6 +292,7 @@ sub handler { if ($disid) { $disurl=$bighash{'src_'.$disid}; $dismapid=(split(/\./,$disid))[1]; + $randomout = $bighash{'randomout_'.$disid}; } } $exitdisid = $disid; @@ -313,7 +314,7 @@ sub handler { } else { &Apache::loncommon::content_type($r,'text/html'); $r->send_http_header; - if ($exitdisid eq '') { + if ($exitdisid eq '' && $arrow_dir ne '') { my %lt =&Apache::lonlocal::texthash( 'back' => 'beginning', 'forward' => 'end', @@ -329,7 +330,7 @@ sub handler { $warnmsg .= &mt('preceding the current resource were empty').','; } $warnmsg .= &mt('you have now reached the').' '.$lt{$arrow_dir}.' '.&mt('of the course.'); - my $bodytag=&Apache::loncommon::bodytag(&mt('emfo')); + my $bodytag=&Apache::loncommon::bodytag('Empty Folder/Sequence'); $r->print(<$lt{'emfo'} $bodytag