From 32e8d77cd6872b98f5fe00f35b6d124a28a977f0 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 28 Sep 2003 17:53:04 +0000 Subject: - Associate a callback with the menu links! (This callback is not yet being called but will be as soon the remaining links have been transformed to use the menu system.) - Made sure the menu does not render links with no callback and no children. Like this, the 'create content' link is not being shown when the user has no permission to add any content. --- includes/menu.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/menu.inc b/includes/menu.inc index 7449dc3f7..4679a5dac 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -133,7 +133,12 @@ function menu_tree($parent = "") { $output = "\n