diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2006-02-08 12:31:14 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2006-02-08 12:31:14 +0000 |
| commit | 1163a5dfe4d46961da632ab08d8a78163a6401b6 (patch) | |
| tree | 6f048c0462a9ea10440f4acba283940af6796894 /list.php | |
| parent | 3ceec5647ee145b94f97708167748efe10717614 (diff) | |
| download | pigeonholes-1163a5dfe4d46961da632ab08d8a78163a6401b6.tar.gz pigeonholes-1163a5dfe4d46961da632ab08d8a78163a6401b6.tar.bz2 pigeonholes-1163a5dfe4d46961da632ab08d8a78163a6401b6.zip | |
tidy up permission checks, display of dynamically collapsable list seems quite impossible with permissions -> removed for now
Diffstat (limited to 'list.php')
| -rw-r--r-- | list.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,7 +3,7 @@ * $Header * * @author xing <xing@synapse.plus.com> - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ * @package pigeonholes * @subpackage functions */ @@ -30,6 +30,10 @@ if( !empty( $pigeonList ) ) { $gStructure = new LibertyStructure(); } $pigeonList[$key]['subtree'] = $gStructure->getSubTree( $pigeonhole['root_structure_id'] ); + // add permissions to all so we know if we can display pages within category +// foreach( $pigeonList[$key]['subtree'] as $k => $node ) { +// $pigeonList[$key]['subtree'][$k]['preferences'] = $gContent->loadPreferences( $node['content_id'] ); +// } } $gBitSmarty->assign( 'pigeonList', $pigeonList ); } |
