version 1.140, 2009/10/13 16:37:57
|
version 1.142, 2010/01/30 18:02:27
|
Line 168 sub handler {
|
Line 168 sub handler {
|
|
|
if ($is_course) { |
if ($is_course) { |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
my $brcrum = [{href=>"/adm/navmaps",text=>"Navigate Course Contents"}, |
my $brcrum = [{href=>"/adm/navmaps",text=>"Course Contents"}, |
{href=>"/adm/aboutme",text=>"Course Information"}]; |
{href=>"/adm/aboutme",text=>"Course Information"}]; |
my $start_page = |
my $start_page = |
&Apache::loncommon::start_page( |
&Apache::loncommon::start_page( |
Line 831 sub aboutme_access {
|
Line 831 sub aboutme_access {
|
my $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'}; |
my $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'}; |
my $cnum = $env{'course.'.$env{'request.course.id'}.'.num'}; |
my $cnum = $env{'course.'.$env{'request.course.id'}.'.num'}; |
if (($cdom eq '') || ($cnum eq '')) { |
if (($cdom eq '') || ($cnum eq '')) { |
my %coursehash = &coursedescription($env{'request.course.id'}); |
my %coursehash = &Apache::lonnet::coursedescription($env{'request.course.id'}); |
$cdom = $coursehash{'domain'}; |
$cdom = $coursehash{'domain'}; |
$cnum = $coursehash{'cnum'}; |
$cnum = $coursehash{'cnum'}; |
} |
} |