fixed visual error selects home view

This commit is contained in:
marcos 2021-04-13 16:29:28 +02:00
parent 87362d07f4
commit 0500b90101
1 changed files with 4 additions and 4 deletions

View File

@ -390,7 +390,7 @@ if (!$meta) {
}
}
$home_screen .= '<div id="show_vc" style="display: none; width: 605px;">';
$home_screen .= '<div id="show_vc" style="display: none; width: 100%;">';
$home_screen .= html_print_select($layouts_aux, 'visual_console', $user_info['data_section'], '', '', '', true);
$home_screen .= '</div>';
$home_screen .= html_print_input_text('data_section', $user_info['data_section'], '', 60, 255, true, false);
@ -683,7 +683,7 @@ if (!is_metaconsole()) {
</div>';
if ($config['ehorus_enabled'] && $config['ehorus_user_level_conf']) {
// EHorus user remote login.
// eHorus user remote login
$table_remote = new StdClass();
$table_remote->data = [];
$table_remote->width = '100%';
@ -693,12 +693,12 @@ if ($config['ehorus_enabled'] && $config['ehorus_user_level_conf']) {
$table_remote->style['name'] = 'font-weight: bold';
// Title.
// Title
$row = [];
$row['control'] = '<p class="edit_user_labels">'.__('eHorus user configuration').': </p>';
$table_remote->data['ehorus_user_level_conf'] = $row;
// Enable/disable eHorus for this user.
// Enable/disable eHorus for this user
$row = [];
$row['name'] = __('eHorus user acces enabled');
$row['control'] = html_print_checkbox_switch('ehorus_user_level_enabled', 1, $user_info['ehorus_user_level_enabled'], true);