From 196158ad2a233b3efc0ced8c6f4c48d874d91080 Mon Sep 17 00:00:00 2001 From: Cristian Fasanando Date: Fri, 12 Feb 2010 18:22:14 -0500 Subject: [PATCH] added dashboard tab for human resources manager - partial CT#566 --- main/inc/banner.inc.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main/inc/banner.inc.php b/main/inc/banner.inc.php index 53e1138bbe..32b8986e4a 100755 --- a/main/inc/banner.inc.php +++ b/main/inc/banner.inc.php @@ -245,6 +245,15 @@ if ($_user['user_id'] && !api_is_anonymous()) { $menu_navigation['social'] = $possible_tabs['social']; } + // Dashboard + if (api_get_setting('show_tabs', 'dashboard') == 'true') { + if (api_is_platform_admin() || $_user['status']==DRH) { + $navigation['dashboard'] = $possible_tabs['dashboard']; + } + } else{ + $menu_navigation['dashboard'] = $possible_tabs['dashboard']; + } + // Administration if(api_is_platform_admin(true)) { if (api_get_setting('show_tabs', 'platform_administration') == 'true') {