version 1.19, 2004/08/29 16:30:53
|
version 1.22, 2005/02/17 09:09:57
|
Line 28
|
Line 28
|
# |
# |
# (Handler to resolve ambiguous file locations |
# (Handler to resolve ambiguous file locations |
# |
# |
# (TeX Content Handler |
|
# |
|
# 05/29/00,05/30,10/11 Gerd Kortemeyer) |
|
# |
|
# 10/11,10/12 Gerd Kortemeyer) |
|
# |
|
# 10/16 Gerd Kortemeyer |
|
|
|
package Apache::lonsequence; |
package Apache::lonsequence; |
|
|
Line 314 sub handler {
|
Line 307 sub handler {
|
} else { |
} else { |
&Apache::loncommon::content_type($r,'text/html'); |
&Apache::loncommon::content_type($r,'text/html'); |
$r->send_http_header; |
$r->send_http_header; |
if ($exitdisid eq '') { |
if ($exitdisid eq '' && $arrow_dir ne '') { |
my %lt =&Apache::lonlocal::texthash( |
my %lt =&Apache::lonlocal::texthash( |
'back' => 'beginning', |
'back' => 'beginning', |
'forward' => 'end', |
'forward' => 'end', |
Line 330 sub handler {
|
Line 323 sub handler {
|
$warnmsg .= &mt('preceding the current resource were empty').','; |
$warnmsg .= &mt('preceding the current resource were empty').','; |
} |
} |
$warnmsg .= &mt('you have now reached the').' '.$lt{$arrow_dir}.' '.&mt('of the course.'); |
$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(<<ENDNONE); |
$r->print(<<ENDNONE); |
<head><title>$lt{'emfo'}</title></head> |
<head><title>$lt{'emfo'}</title></head> |
$bodytag |
$bodytag |