more template variables in nav and pagination

This commit is contained in:
JT Smith 2006-04-15 00:34:02 +00:00
parent 6a2ba37ef1
commit 5136efc983
6 changed files with 128 additions and 32 deletions

View file

@ -361,6 +361,7 @@ sub view {
$var->{'currentPage.isHome'} = ($current->getId eq $self->session->setting->get("defaultPage"));
$var->{'currentPage.url'} = $current->getUrl;
$var->{'currentPage.hasChild'} = $current->hasChildren;
$var->{'currentPage.rank'} = $current->getRank;
my $currentLineage = $current->get("lineage");
my $lineageToSkip = "noskip";
my $absoluteDepthOfLastPage;