version 1.53, 2020/09/03 12:44:56
|
version 1.56, 2021/07/19 15:48:25
|
Line 291 sub handler {
|
Line 291 sub handler {
|
} |
} |
push(@crumbs,{text => $maptitle, no_mt => 1}); |
push(@crumbs,{text => $maptitle, no_mt => 1}); |
$args = {'bread_crumbs' => \@crumbs, |
$args = {'bread_crumbs' => \@crumbs, |
'bread_crumbs_nomenu' => 1}; |
'bread_crumbs_nomenu' => 1, |
|
'no_auto_mt_title' => 1}; |
$r->print(&Apache::loncommon::start_page($maptitle,undef,$args)); |
$r->print(&Apache::loncommon::start_page($maptitle,undef,$args)); |
|
|
my $renderArgs = { 'cols' => [0,1,2,3], |
my $renderArgs = { 'cols' => [0,1,2,3], |
Line 374 sub handler {
|
Line 375 sub handler {
|
$dismapid=(split(/\./,$disid))[1]; |
$dismapid=(split(/\./,$disid))[1]; |
if (!$env{'request.role.adv'}) { |
if (!$env{'request.role.adv'}) { |
$randomout = $bighash{'randomout_'.$disid}; |
$randomout = $bighash{'randomout_'.$disid}; |
} |
|
if (!$env{'request.role.adv'}) { |
|
$is_encrypted = $bighash{'encrypted_'.$disid}; |
$is_encrypted = $bighash{'encrypted_'.$disid}; |
} |
} |
} elsif (tie(%hash,'GDBM_File',$env{'request.course.fn'}.'_symb.db', |
} elsif (tie(%hash,'GDBM_File',$env{'request.course.fn'}.'_symb.db', |
Line 396 sub handler {
|
Line 395 sub handler {
|
$dismapid=(split(/\./,$disid))[1]; |
$dismapid=(split(/\./,$disid))[1]; |
if (!$env{'request.role.adv'}) { |
if (!$env{'request.role.adv'}) { |
$randomout = $bighash{'randomout_'.$disid}; |
$randomout = $bighash{'randomout_'.$disid}; |
} |
|
if (!$env{'request.role.adv'}) { |
|
$is_encrypted = $bighash{'encrypted_'.$disid}; |
$is_encrypted = $bighash{'encrypted_'.$disid}; |
} |
} |
} |
} |
Line 424 sub handler {
|
Line 421 sub handler {
|
'last_known' => [$disurl,$dismapid]); |
'last_known' => [$disurl,$dismapid]); |
} |
} |
&Apache::loncommon::content_type($r,'text/html'); |
&Apache::loncommon::content_type($r,'text/html'); |
$r->header_out(Location => &Apache::lonnet::absolute_url($ENV{'SERVER_NAME'}). |
$r->header_out(Location => &Apache::lonnet::absolute_url(). |
$showdisurl); |
$showdisurl); |
return REDIRECT; |
return REDIRECT; |
} else { |
} else { |