diff options
author | friendica <info@friendica.com> | 2013-08-13 20:57:03 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-08-13 20:57:03 -0700 |
commit | 9508967c7350e69bf3321aaa63f5527a3e8096f4 (patch) | |
tree | c2b6c78f47cf2c7a1623d4bc528b58cc2d8793fc /include | |
parent | 680baff73d70769714d806c00cc84c6e65faba0f (diff) | |
download | volse-hubzilla-9508967c7350e69bf3321aaa63f5527a3e8096f4.tar.gz volse-hubzilla-9508967c7350e69bf3321aaa63f5527a3e8096f4.tar.bz2 volse-hubzilla-9508967c7350e69bf3321aaa63f5527a3e8096f4.zip |
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)
Diffstat (limited to 'include')
-rw-r--r-- | include/menu.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/menu.php b/include/menu.php index cee17c1e9..8d4664385 100644 --- a/include/menu.php +++ b/include/menu.php @@ -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'], |