[Visual Console] Changed simple select by group select in restricted group advanced fieldin static graph

This commit is contained in:
fermin831 2018-03-14 13:31:54 +01:00
parent 4ba8b86bfd
commit 690ad81a62
1 changed files with 11 additions and 1 deletions

View File

@ -735,7 +735,17 @@ function visual_map_editor_print_item_palette($visualConsole_id, $background) {
'icon', 'label', 'datos'); 'icon', 'label', 'datos');
$form_items_advance['element_group_row']['html'] = '<td align="left">'. $form_items_advance['element_group_row']['html'] = '<td align="left">'.
__('Restrict access to group') . '</td>' . __('Restrict access to group') . '</td>' .
'<td align="left">' . html_print_select($user_groups, 'element_group', '', '', '', 0, true) . '<td align="left">' .
html_print_select_groups(
$config['id_user'],
"VR",
true,
'element_group',
__('All'),
'',
'',
0,
true) .
ui_print_help_tip ( 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) . __("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) .
'</td>'; '</td>';