version 1.118, 2002/12/02 14:04:52
|
version 1.123, 2003/01/10 17:46:46
|
Line 280 sub real_handler {
|
Line 280 sub real_handler {
|
while ($depth > 0 && !$ENV{'form.alreadyHere'}) { |
while ($depth > 0 && !$ENV{'form.alreadyHere'}) { |
if ($curRes == $mapIterator->BEGIN_MAP()) { $depth++; } |
if ($curRes == $mapIterator->BEGIN_MAP()) { $depth++; } |
if ($curRes == $mapIterator->END_MAP()) { $depth--; } |
if ($curRes == $mapIterator->END_MAP()) { $depth--; } |
|
|
if (ref($curRes) && !$ENV{'form.alreadyHere'} && |
if (ref($curRes) && !$ENV{'form.alreadyHere'} && |
($hereType == $SYMB && $curRes->symb() eq $here) || |
($hereType == $SYMB && $curRes->symb() eq $here) || |
($hereType == $URL && $curRes->src() eq $here)) { |
(ref($curRes) && $hereType == $URL && $curRes->src() eq $here)) { |
my $mapStack = $mapIterator->getStack(); |
my $mapStack = $mapIterator->getStack(); |
|
|
# Ensure the parent maps are open |
# Ensure the parent maps are open |
Line 485 sub real_handler {
|
Line 486 sub real_handler {
|
'"'; |
'"'; |
|
|
my $title = $curRes->compTitle(); |
my $title = $curRes->compTitle(); |
|
if ($src=~/^\/uploaded\//) { |
|
$nonLinkedText=$title; |
|
$title=''; |
|
} |
my $partLabel = ""; |
my $partLabel = ""; |
my $newBranchText = ""; |
my $newBranchText = ""; |
|
|
Line 980 sub new {
|
Line 985 sub new {
|
return undef; |
return undef; |
} |
} |
|
|
# Now copy the hashes for speed (?) |
$self->{NAV_HASH} = \%navmaphash; |
my %realnav; my %realparm; |
$self->{PARM_HASH} = \%parmhash; |
foreach (%navmaphash) { $realnav{$_} = $navmaphash{$_}; } |
|
foreach (%parmhash) { $realparm{$_} = $navmaphash{$_}; } |
|
$self->{NAV_HASH} = \%realnav; |
|
$self->{PARM_HASH} = \%realparm; |
|
|
|
bless($self); |
bless($self); |
$self->untieHashes(); |
$self->untieHashes(); |