diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-01-17 13:40:50 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-01-17 13:40:50 +0000 |
| commit | fbd7236704470e9faf6e0c6ad9faaa9fe38cec77 (patch) | |
| tree | b860ba81248cb17b3f200496c35a645c2bf555d3 /view.php | |
| parent | 35bab2b8201cba59a0bb53fdd1111ce49abb1573 (diff) | |
| download | pigeonholes-fbd7236704470e9faf6e0c6ad9faaa9fe38cec77.tar.gz pigeonholes-fbd7236704470e9faf6e0c6ad9faaa9fe38cec77.tar.bz2 pigeonholes-fbd7236704470e9faf6e0c6ad9faaa9fe38cec77.zip | |
bring getList() up to the new standards and use pagination when listing categories
Diffstat (limited to 'view.php')
| -rw-r--r-- | view.php | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.2 2006/01/14 19:55:19 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_pigeonholes/view.php,v 1.3 2006/01/17 13:40:49 squareing Exp $ * * Copyright ( c ) 2004 bitweaver.org * Copyright ( c ) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: view.php,v 1.2 2006/01/14 19:55:19 squareing Exp $ + * $Id: view.php,v 1.3 2006/01/17 13:40:49 squareing Exp $ * @package pigeonholes * @subpackage functions */ @@ -37,8 +37,12 @@ $gBitSmarty->assign_by_ref( 'gStructure', $gStructure ); $gBitSmarty->assign( 'structureInfo', $gStructure->mInfo ); $gBitSmarty->assign( 'subtree', $gStructure->getSubTree( $gStructure->mStructureId ) ); -$listHash = array( 'root_structure_id' => $gPigeonholes->mInfo['root_structure_id'], 'structure_id' => $gPigeonholes->mInfo['structure_id'], 'load_extras' => TRUE ); -$pigeonList = $gPigeonholes->getList( $listHash ); +$pigeonList = array( + 'root_structure_id' => $gPigeonholes->mInfo['root_structure_id'], + 'structure_id' => $gPigeonholes->mInfo['structure_id'], + 'load_extras' => TRUE +); +$gPigeonholes->getList( $pigeonList ); $gBitSmarty->assign( 'pigeonList', $pigeonList['data'] ); $gBitSmarty->assign( 'list_style', $gBitSystem->getPreference( 'pigeonholes_list_style', 'dynamic' ) ); |
