aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation/toolbox.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-16 22:37:00 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-16 22:37:00 +0000
commit8203c8bd6c099146591ad3391fee3c40578e2e6d (patch)
tree12a21bca24ba039e5aff2cfaa37b905f43a18937 /views/default/navigation/toolbox.php
parent0eb11397722ff6dcf9edfa22933993160f12ca1c (diff)
downloadelgg-8203c8bd6c099146591ad3391fee3c40578e2e6d.tar.gz
elgg-8203c8bd6c099146591ad3391fee3c40578e2e6d.tar.bz2
Registers contexts for each menu item. Refs #32
git-svn-id: https://code.elgg.org/elgg/trunk@938 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/navigation/toolbox.php')
-rw-r--r--views/default/navigation/toolbox.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/navigation/toolbox.php b/views/default/navigation/toolbox.php
index 7da992d7d..6ee04f00b 100644
--- a/views/default/navigation/toolbox.php
+++ b/views/default/navigation/toolbox.php
@@ -14,7 +14,8 @@
*
*/
- $menu = get_register('menu');
+ $menu = get_register('menu');
+ $contexts = $vars['config']->menucontexts;
if (is_array($menu) && sizeof($menu) > 0) {