aboutsummaryrefslogtreecommitdiffstats
path: root/include/menu.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-13 20:57:03 -0700
committerfriendica <info@friendica.com>2013-08-13 20:57:03 -0700
commit9508967c7350e69bf3321aaa63f5527a3e8096f4 (patch)
treec2b6c78f47cf2c7a1623d4bc528b58cc2d8793fc /include/menu.php
parent680baff73d70769714d806c00cc84c6e65faba0f (diff)
downloadvolse-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/menu.php')
-rw-r--r--include/menu.php4
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'],