diff --git a/phpgwapi/templates/idots/navbar.inc.php b/phpgwapi/templates/idots/navbar.inc.php index 4a7645d368..78e214e5d5 100644 --- a/phpgwapi/templates/idots/navbar.inc.php +++ b/phpgwapi/templates/idots/navbar.inc.php @@ -20,7 +20,7 @@ 'navbar' => 'navbar.tpl' ) ); - + $GLOBALS['idots_tpl']->set_block('navbar','navbar_header','navbar_header'); $GLOBALS['idots_tpl']->set_block('navbar','extra_blocks_header','extra_block_header'); $GLOBALS['idots_tpl']->set_block('navbar','extra_block_row','extra_block_row'); @@ -35,7 +35,7 @@ $var['img_root'] = $GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/images'; $var['table_bg_color'] = $GLOBALS['egw_info']['theme']['navbar_bg']; - + if($GLOBALS['egw_info']['user']['preferences']['common']['click_or_onmouseover']=='onmouseover') { $show_menu_event = 'onMouseOver'; @@ -45,7 +45,20 @@ $show_menu_event = 'onClick'; } - + if($GLOBALS['egw_info']['user']['userid'] == 'anonymous') + { + $cnf_reg =& CreateObject('phpgwapi.config','registration'); + $cnf_reg->read_repository(); + $config_reg = $cnf_reg->config_data; + + $GLOBALS['idots_tpl']->set_var('upper_tabs',' +