summaryrefslogtreecommitdiff
path: root/list.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-02-08 12:31:14 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-02-08 12:31:14 +0000
commit1163a5dfe4d46961da632ab08d8a78163a6401b6 (patch)
tree6f048c0462a9ea10440f4acba283940af6796894 /list.php
parent3ceec5647ee145b94f97708167748efe10717614 (diff)
downloadpigeonholes-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.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/list.php b/list.php
index 5a29131..e2e8716 100644
--- a/list.php
+++ b/list.php
@@ -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 );
}