mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
fixed visual error selects home view
This commit is contained in:
parent
87362d07f4
commit
0500b90101
@ -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 .= html_print_select($layouts_aux, 'visual_console', $user_info['data_section'], '', '', '', true);
|
||||||
$home_screen .= '</div>';
|
$home_screen .= '</div>';
|
||||||
$home_screen .= html_print_input_text('data_section', $user_info['data_section'], '', 60, 255, true, false);
|
$home_screen .= html_print_input_text('data_section', $user_info['data_section'], '', 60, 255, true, false);
|
||||||
@ -683,7 +683,7 @@ if (!is_metaconsole()) {
|
|||||||
</div>';
|
</div>';
|
||||||
|
|
||||||
if ($config['ehorus_enabled'] && $config['ehorus_user_level_conf']) {
|
if ($config['ehorus_enabled'] && $config['ehorus_user_level_conf']) {
|
||||||
// EHorus user remote login.
|
// eHorus user remote login
|
||||||
$table_remote = new StdClass();
|
$table_remote = new StdClass();
|
||||||
$table_remote->data = [];
|
$table_remote->data = [];
|
||||||
$table_remote->width = '100%';
|
$table_remote->width = '100%';
|
||||||
@ -693,12 +693,12 @@ if ($config['ehorus_enabled'] && $config['ehorus_user_level_conf']) {
|
|||||||
$table_remote->style['name'] = 'font-weight: bold';
|
$table_remote->style['name'] = 'font-weight: bold';
|
||||||
|
|
||||||
|
|
||||||
// Title.
|
// Title
|
||||||
$row = [];
|
$row = [];
|
||||||
$row['control'] = '<p class="edit_user_labels">'.__('eHorus user configuration').': </p>';
|
$row['control'] = '<p class="edit_user_labels">'.__('eHorus user configuration').': </p>';
|
||||||
$table_remote->data['ehorus_user_level_conf'] = $row;
|
$table_remote->data['ehorus_user_level_conf'] = $row;
|
||||||
|
|
||||||
// Enable/disable eHorus for this user.
|
// Enable/disable eHorus for this user
|
||||||
$row = [];
|
$row = [];
|
||||||
$row['name'] = __('eHorus user acces enabled');
|
$row['name'] = __('eHorus user acces enabled');
|
||||||
$row['control'] = html_print_checkbox_switch('ehorus_user_level_enabled', 1, $user_info['ehorus_user_level_enabled'], true);
|
$row['control'] = html_print_checkbox_switch('ehorus_user_level_enabled', 1, $user_info['ehorus_user_level_enabled'], true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user