version 1.56, 2005/08/31 07:38:29
|
version 1.58, 2005/11/09 11:39:00
|
Line 256 sub handler {
|
Line 256 sub handler {
|
if ($hash{'encrypted_'.$id}) { $newloc=&Apache::lonenc::encrypted($newloc); } |
if ($hash{'encrypted_'.$id}) { $newloc=&Apache::lonenc::encrypted($newloc); } |
|
|
} else { |
} else { |
$newloc='/adm/noidea.html'; |
$newloc='/adm/navmaps'; |
} |
} |
untie %hash; |
untie %hash; |
} else { |
} else { |
$newloc='/adm/noidea.html'; |
$newloc='/adm/navmaps'; |
} |
} |
if ($newloc eq '/adm/noidea.html' && $direction eq 'navlaunch') { |
if ($newloc eq '/adm/navmaps' && $direction eq 'navlaunch') { |
&navlaunch($r); |
&navlaunch($r); |
return OK; |
return OK; |
} else { |
} else { |
Line 394 sub handler {
|
Line 394 sub handler {
|
|
|
&Apache::loncommon::content_type($r,'text/html'); |
&Apache::loncommon::content_type($r,'text/html'); |
my $url='http://'.$ENV{'HTTP_HOST'}.$redirecturl; |
my $url='http://'.$ENV{'HTTP_HOST'}.$redirecturl; |
if ($redirectsymb ne '') { $url.='?symb='.$redirectsymb; } |
if ($redirectsymb ne '') { $url.='?symb='.&Apache::lonnet::escape($redirectsymb); } |
$r->header_out(Location => $url); |
$r->header_out(Location => $url); |
return REDIRECT; |
return REDIRECT; |
} else { |
} else { |