version 1.113, 2003/07/14 14:29:07
|
version 1.114, 2003/07/14 14:43:39
|
Line 2668 sub getSymbMap {
|
Line 2668 sub getSymbMap {
|
|
|
# End navmap using boilerplate |
# End navmap using boilerplate |
|
|
my $iterator = Apache::lonnavmaps::iterator->new($navmap, undef, undef, undef, 1, undef, 1); |
my $iterator = Apache::lonnavmaps::iterator->new($navmap, undef, undef, undef, undef, 1, undef, 1); |
my $depth = 1; |
my $depth = 1; |
my $curRes = $iterator->next(); |
my $curRes = $iterator->next(); |
|
|
Line 2676 sub getSymbMap {
|
Line 2676 sub getSymbMap {
|
my @titles = (); |
my @titles = (); |
my $minder=0; |
my $minder=0; |
my $seenBeginMap = 0; |
my $seenBeginMap = 0; |
while ($depth > 0 && !$seenBeginMap) { |
while ($depth > 0 || !$seenBeginMap) { |
if ($curRes == $iterator->BEGIN_MAP()) {$depth++; $seenBeginMap = 1; } |
if ($curRes == $iterator->BEGIN_MAP()) {$depth++; $seenBeginMap = 1; } |
if ($curRes == $iterator->END_MAP()) { $depth--; } |
if ($curRes == $iterator->END_MAP()) { $depth--; } |
|
|