menu management is now functional with the exception of acl's (and of course a way to display the menus you create, and probably a bit more input sanity checking)
This commit is contained in:
@@ -29,7 +29,9 @@ function menu_render($menu) {
|
||||
return '';
|
||||
for($x = 0; $x < count($menu['items']); $x ++)
|
||||
if($menu['items']['mitem_flags'] & MENU_ITEM_ZID)
|
||||
$menu['items']['link'] = zid($menu['items']['link']);
|
||||
$menu['items']['mitem_link'] = zid($menu['items']['mitem_link']);
|
||||
if($menu['items']['mitem_flags'] & MENU_ITEM_NEWWIN)
|
||||
$menu['items']['newwin'] = '1';
|
||||
|
||||
return replace_macros(get_markup_template('usermenu.tpl'),array(
|
||||
'$menu' => $menu['menu'],
|
||||
|
Reference in New Issue
Block a user