version 1.572, 2025/02/26 19:50:21
|
version 1.574, 2025/05/26 19:55:09
|
Line 1729 END
|
Line 1729 END
|
$args->{'counter'} = 0; # counts the rows |
$args->{'counter'} = 0; # counts the rows |
$args->{'indentLevel'} = 0; |
$args->{'indentLevel'} = 0; |
$args->{'isNewBranch'} = 0; |
$args->{'isNewBranch'} = 0; |
$args->{'condensed'} = 0; |
$args->{'condensed'} = 0; |
|
$args->{'deeplinknolist'} = 0; |
|
|
my $location = &Apache::loncommon::lonhttpdurl("/adm/lonIcons/whitespace_21.gif"); |
my $location = &Apache::loncommon::lonhttpdurl("/adm/lonIcons/whitespace_21.gif"); |
$args->{'indentString'} = setDefault($args->{'indentString'}, "<img src='$location' alt='' />"); |
$args->{'indentString'} = setDefault($args->{'indentString'}, "<img src='$location' alt='' />"); |
Line 1904 END
|
Line 1905 END
|
|
|
# If this has been filtered out, continue on |
# If this has been filtered out, continue on |
if (!(&$filterFunc($curRes))) { |
if (!(&$filterFunc($curRes))) { |
|
if (!$userCanSeeHidden && !$curRes->randomout && $curRes->deeplinkout) { |
|
$args->{'deeplinknolist'} ++; |
|
} |
$args->{'isNewBranch'} = 0; # Don't falsely remember this |
$args->{'isNewBranch'} = 0; # Don't falsely remember this |
next; |
next; |
} |
} |
Line 1928 END
|
Line 1932 END
|
if ($userCanSeeHidden) { |
if ($userCanSeeHidden) { |
$args->{'mapHiddenDeepLink'} = 1; |
$args->{'mapHiddenDeepLink'} = 1; |
} else { |
} else { |
|
$args->{'deeplinknolist'} ++; |
next; |
next; |
} |
} |
} else { |
} else { |
Line 1937 END
|
Line 1942 END
|
if ($userCanSeeHidden) { |
if ($userCanSeeHidden) { |
$args->{'mapUnlisted'} = 1; |
$args->{'mapUnlisted'} = 1; |
} else { |
} else { |
|
$args->{'deeplinknolist'} ++; |
next; |
next; |
} |
} |
} |
} |
Line 3067 sub parmval_real {
|
Line 3073 sub parmval_real {
|
} |
} |
|
|
sub recurseup_maps { |
sub recurseup_maps { |
my ($self,$mapname,$getsymb) = @_; |
my ($self,$mapname,$getsymb,$inclusive) = @_; |
my @recurseup; |
my @recurseup; |
if ($mapname) { |
if ($mapname) { |
my $res = $self->getResourceByUrl($mapname); |
my $res = $self->getResourceByUrl($mapname); |
Line 3081 sub recurseup_maps {
|
Line 3087 sub recurseup_maps {
|
@recurseup = map { &Apache::lonnet::declutter($self->getByMapPc($_)->src()); } reverse(@pcs); |
@recurseup = map { &Apache::lonnet::declutter($self->getByMapPc($_)->src()); } reverse(@pcs); |
} |
} |
} |
} |
|
if ($inclusive) { |
|
if ($getsymb) { |
|
unshift(@recurseup,$res->symb()); |
|
} else { |
|
unshift(@recurseup,$mapname); |
|
} |
|
} |
} |
} |
} |
} |
return @recurseup; |
return @recurseup; |