minor fixes group selector

This commit is contained in:
fbsanchez 2020-10-02 14:31:41 +02:00
parent 07ed5ac9d8
commit ea3f147bad
3 changed files with 5 additions and 2 deletions

View File

@ -92,7 +92,9 @@ function mainAgentsAlerts()
$groups = users_get_groups();
$filter_groups .= '<b>'.__('Group').'</b>';
$filter_groups .= '<div class="w250px inline margin-left-2">';
$filter_groups .= html_print_select_groups(false, 'AR', true, 'group_id', $group_id, false, '', '', true, false, true, '', false, 'margin-right: 10px; margin-top: 5px;');
$filter_groups .= '</div>';
$check = '<b>'.__('Show modules without alerts').'</b>';
$check .= html_print_checkbox('slides_ids[]', $d['id'], $show_modules, true, false, '', true);

View File

@ -173,8 +173,9 @@ if (!$own_info['is_admin'] && !check_acl($config['id_user'], 0, 'AR') && !check_
$return_all_group = true;
}
echo '<div class="w250px inline">';
html_print_select_groups(false, 'AR', $return_all_group, 'ag_group', $ag_group, 'this.form.submit();', '', 0, false, false, true, '', false);
echo '</div>';
echo '<td>';
echo __('Show Agents').'&nbsp;';
$fields = [

View File

@ -306,7 +306,7 @@ $table->data[1][1] = html_print_select(
false
);
$table->data[1][1] .= '&nbsp;&nbsp;'.__('OR').'&nbsp;&nbsp;';
$table->data[1][1] .= '<div class="w250px">'.html_print_select_groups(
$table->data[1][1] .= '<div class="w250px inline">'.html_print_select_groups(
$config['id_user'],
'AR',
$return_all_groups,