From 690ad81a6265f31376f2a651d3b23fe051bc1354 Mon Sep 17 00:00:00 2001 From: fermin831 Date: Wed, 14 Mar 2018 13:31:54 +0100 Subject: [PATCH] [Visual Console] Changed simple select by group select in restricted group advanced fieldin static graph --- .../include/functions_visual_map_editor.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/functions_visual_map_editor.php b/pandora_console/include/functions_visual_map_editor.php index c9e8074dc1..b5f39f80d6 100755 --- a/pandora_console/include/functions_visual_map_editor.php +++ b/pandora_console/include/functions_visual_map_editor.php @@ -735,7 +735,17 @@ function visual_map_editor_print_item_palette($visualConsole_id, $background) { 'icon', 'label', 'datos'); $form_items_advance['element_group_row']['html'] = ''. __('Restrict access to group') . '' . - '' . html_print_select($user_groups, 'element_group', '', '', '', 0, true) . + '' . + html_print_select_groups( + $config['id_user'], + "VR", + true, + 'element_group', + __('All'), + '', + '', + 0, + true) . ui_print_help_tip ( __("If selected, restrict visualization of this item in the visual console to users who have access to selected group. This is also used on calculating child visual consoles."), true) . '';