From d7b81b1afd150ebc0abfcd12f6ab23d65b61a0af Mon Sep 17 00:00:00 2001 From: zottel Date: Tue, 1 Oct 2013 09:36:28 +0200 Subject: Add possibility to use a block a channel menu (set channel_menublock to the lowercase title of the block without special chars) Fix comanche_block() SQL --- boot.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 8e3a98454..3b98afeb6 100755 --- a/boot.php +++ b/boot.php @@ -1783,6 +1783,11 @@ function profile_sidebar($profile, $block = 0, $show_connect = true) { if($m) $channel_menu = menu_render($m); } + $menublock = get_pconfig($profile['uid'],'system','channel_menublock'); + if ($menublock) { + require_once('include/comanche.php'); + $channel_menu .= comanche_block($menublock); + } $tpl = get_markup_template('profile_vcard.tpl'); -- cgit v1.2.3