version 1.573, 2025/04/02 23:44:01
|
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; |
} |
} |
} |
} |