diff --git a/code/StatisticsAdmin.php b/code/StatisticsAdmin.php index 5c615e07..159e339d 100644 --- a/code/StatisticsAdmin.php +++ b/code/StatisticsAdmin.php @@ -1,6 +1,9 @@ markPartialTree(); + if($p = $this->currentPage()) $obj->markToExpose($p); + + // getChildrenAsUL is a flexible and complex way of traversing the tree + $siteTree = $obj->getChildrenAsUL("", ' + "
-
- -# | -When | -Author | -Publisher | -
$Version | -$LastEdited.Nice | -$Author.FirstName $Author.Surname.Initial | -- <% if Published %> - <% if Publisher %> - $Publisher.FirstName $Publisher.Surname.Initial - <% else %> - Unknown - <% end_if %> - <% else %> - Not published - <% end_if %> - | -