diff options
| author | spiderr <spider@viovio.com> | 2010-12-28 17:26:42 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2010-12-28 17:26:42 -0500 |
| commit | 76991995d36c2bdf64451e96bc634f1eba44e066 (patch) | |
| tree | b154ab5e3467a8bf641d503a090805d3cace1c24 /modules | |
| parent | 1c7829861d09fe0ac2a5e05f26dd30c6ec726f39 (diff) | |
| download | liberty-76991995d36c2bdf64451e96bc634f1eba44e066.tar.gz liberty-76991995d36c2bdf64451e96bc634f1eba44e066.tar.bz2 liberty-76991995d36c2bdf64451e96bc634f1eba44e066.zip | |
clean up buildSubtreeToc to allow prefixing for depths and use getDisplayUrl if available
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_structure_toc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mod_structure_toc.php b/modules/mod_structure_toc.php index c7ade94..621e0f9 100644 --- a/modules/mod_structure_toc.php +++ b/modules/mod_structure_toc.php @@ -30,7 +30,8 @@ if( is_object( $gStructure ) && $gStructure->isValid() ) { } if( is_object( $struct ) && count( $struct->isValid() ) ) { - $gBitSmarty->assign( 'modStructureTOC', $struct->getToc( $struct->mInfo['root_structure_id'] ) ); + $gBitSmarty->assign( 'modStructureTOC', $struct->getToc( +$struct->mInfo['root_structure_id'], 'asc', FALSE, 2 ) ); } ?> |
