Diff for /rat/lonsequence.pm between versions 1.41 and 1.42

version 1.41, 2011/07/04 09:25:17 version 1.42, 2012/12/16 17:48:39
Line 303  sub handler { Line 303  sub handler {
        $r->send_http_header;         $r->send_http_header;
        if ($exitdisid eq '' && $arrow_dir ne '') {         if ($exitdisid eq '' && $arrow_dir ne '') {
            my %lt =&Apache::lonlocal::texthash(             my %lt =&Apache::lonlocal::texthash(
                    'back' => 'beginning',  
                    'forward' => 'end',  
                    'nere' => 'Next resource could not be displayed',                     'nere' => 'Next resource could not be displayed',
                    'goba' => 'Go Back',                     'goba' => 'Go Back',
                    'nacc' => 'Navigate Course Content',                     'nacc' => 'Navigate Course Content',
                           );                            );
            my $warnmsg = &mt('As all folders and sequences ');             my $warnmsg;
            if ($arrow_dir eq 'forward') {             if ($arrow_dir eq 'forward') {
                $warnmsg .= &mt('following the current resource were empty').',';                 $warnmsg = &mt('As all folders and sequences '
                                .'following the current resource were empty, '
                                .'you have now reached the end of the course.');
            } elsif ($arrow_dir eq 'back') {             } elsif ($arrow_dir eq 'back') {
                $warnmsg .= &mt('preceding the current resource were empty').',';                 $warnmsg = &mt('As all folders and sequences '.
                                .'preceding the current resource were empty, '
                                .'you have now reached the beginning of the course.');
            }             }
            $warnmsg .= &mt('you have now reached the').' '.$lt{$arrow_dir}.' '.&mt('of the course.');  
            my $start_page=             my $start_page=
        &Apache::loncommon::start_page('Empty Folder/Sequence');         &Apache::loncommon::start_page('Empty Folder/Sequence');
            my $end_page=             my $end_page=

Removed from v.1.41  
changed lines
  Added in v.1.42


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>