diff options
author | zottel <github@zottel.net> | 2013-10-01 09:36:28 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2013-10-01 09:36:28 +0200 |
commit | d7b81b1afd150ebc0abfcd12f6ab23d65b61a0af (patch) | |
tree | effbe0a5c2507760ae065d9c786c91e1c070cac0 /boot.php | |
parent | a6c542289acd349baea37dff0fe7f37427964b15 (diff) | |
download | volse-hubzilla-d7b81b1afd150ebc0abfcd12f6ab23d65b61a0af.tar.gz volse-hubzilla-d7b81b1afd150ebc0abfcd12f6ab23d65b61a0af.tar.bz2 volse-hubzilla-d7b81b1afd150ebc0abfcd12f6ab23d65b61a0af.zip |
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
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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'); |