From 162e5b5220f45bb34041c7b3c4ae52bd0a6ed253 Mon Sep 17 00:00:00 2001 From: juanmanuelr Date: Thu, 1 Mar 2012 19:31:14 +0000 Subject: [PATCH] 2012-03-01 Juan Manuel Ramon * general/logon_ok.php: Fixed users link in welcome page. Fixes: #3477646 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 ++++++ pandora_console/general/logon_ok.php | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 98e9622a08..4db98898c0 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,9 @@ +2012-03-01 Juan Manuel Ramon + + * general/logon_ok.php: Fixed users link in welcome page. + + Fixes: #3477646 + 2012-03-01 Sergio Martin * include/functions_graph.php diff --git a/pandora_console/general/logon_ok.php b/pandora_console/general/logon_ok.php index 3bd82d0401..935c4041c7 100644 --- a/pandora_console/general/logon_ok.php +++ b/pandora_console/general/logon_ok.php @@ -138,7 +138,13 @@ $cells[6]["href"] = "index.php?sec=estado&sec2=operation/agentes/alerts_stat $cells[7][0] = __('Users defined'); $cells[7][1] = count (get_users ()); $cells[7]["color"] = "#000"; -$cells[7]["href"] = "index.php?sec=usuarios&sec2=operation/users/user"; +if (check_acl ($config['id_user'], 0, "UM")) { + $user_link = 'index.php?sec=gusuarios&sec2=godmode/users/user_list'; +} +else{ + $user_link = '#'; +} +$cells[7]["href"] = $user_link; foreach ($cells as $key => $row) { //Switch class around