version 1.42, 2012/12/16 17:48:39
|
version 1.44, 2013/11/28 02:23:25
|
Line 305 sub handler {
|
Line 305 sub handler {
|
my %lt =&Apache::lonlocal::texthash( |
my %lt =&Apache::lonlocal::texthash( |
'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' => 'Course Contents', |
); |
); |
|
if (&Apache::loncommon::course_type() eq 'Community') { |
|
$lt{'nav'} = &mt('Community Contents'); |
|
} |
my $warnmsg; |
my $warnmsg; |
if ($arrow_dir eq 'forward') { |
if ($arrow_dir eq 'forward') { |
$warnmsg = &mt('As all folders and sequences ' |
$warnmsg = &mt('As all folders and sequences ' |
.'following the current resource were empty, ' |
.'following the current resource were empty, ' |
.'you have now reached the end of the course.'); |
.'you have now reached the end of the course.'); |
} elsif ($arrow_dir eq 'back') { |
} elsif ($arrow_dir eq 'back') { |
$warnmsg = &mt('As all folders and sequences '. |
$warnmsg = &mt('As all folders and sequences ' |
.'preceding the current resource were empty, ' |
.'preceding the current resource were empty, ' |
.'you have now reached the beginning of the course.'); |
.'you have now reached the beginning of the course.'); |
} |
} |