version 1.31, 2015/03/01 22:20:56
|
version 1.33, 2016/04/02 04:30:21
|
Line 38 use Apache::lonhtmlcommon();
|
Line 38 use Apache::lonhtmlcommon();
|
use Apache::lonnet; |
use Apache::lonnet; |
use Apache::lonlocal; |
use Apache::lonlocal; |
use Apache::londocs(); |
use Apache::londocs(); |
|
use Apache::lonuserstate; |
|
|
sub handler { |
sub handler { |
my $r = shift; |
my $r = shift; |
Line 82 sub real_handler {
|
Line 83 sub real_handler {
|
} |
} |
} |
} |
|
|
|
my $course_type = &Apache::loncommon::course_type(); |
|
if (($course_type eq 'Placement') && (!$env{'request.role.adv'})) { |
|
my $furl = &Apache::lonpageflip::first_accessible_resource(); |
|
&Apache::loncommon::content_type($r,'text/html'); |
|
$r->header_out(Location => $furl); |
|
return REDIRECT; |
|
} |
|
|
# Create the nav map |
# Create the nav map |
my $navmap = Apache::lonnavmaps::navmap->new(); |
my $navmap = Apache::lonnavmaps::navmap->new(); |
|
|