diff options
author | zotlabs <mike@macgirvin.com> | 2017-10-08 16:48:24 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-10-08 16:48:24 -0700 |
commit | 4011dd18f01d275620b13815573e359c77664e3a (patch) | |
tree | 3ee8037618ec387eb7bff2ae8cbccbb113439bee /boot.php | |
parent | 52b1ea10a1ef4ccec67b4248155651626ec24b44 (diff) | |
download | volse-hubzilla-4011dd18f01d275620b13815573e359c77664e3a.tar.gz volse-hubzilla-4011dd18f01d275620b13815573e359c77664e3a.tar.bz2 volse-hubzilla-4011dd18f01d275620b13815573e359c77664e3a.zip |
alternate navbar layouts
Diffstat (limited to 'boot.php')
-rwxr-xr-x | boot.php | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -2090,17 +2090,21 @@ function construct_page() { $installing = false; + $navbar = get_config('system','navbar','nav'); + if(App::$profile_uid) { + $navbar = get_pconfig(App::$profile_uid,'system','navbar',$navbar); + } + + if($comanche && App::$layout['navbar']) { + $navbar = App::$layout['navbar']; + } + if (App::$module == 'setup') { $installing = true; } else { - nav($a); + nav($navbar); } - if ($comanche) { - if (App::$layout['nav']) { - App::$page['nav'] = get_custom_nav(App::$layout['nav']); - } - } $current_theme = Zotlabs\Render\Theme::current(); |