diff --git a/pandora_console/godmode/users/configure_user.php b/pandora_console/godmode/users/configure_user.php index 8e36a0e262..43992eeae4 100644 --- a/pandora_console/godmode/users/configure_user.php +++ b/pandora_console/godmode/users/configure_user.php @@ -1143,7 +1143,7 @@ if ($meta) { $metaconsole_access_node .= html_print_checkbox('metaconsole_access_node', 1, $user_info['metaconsole_access_node'], true).''; } -echo '
'; +echo ''; if (!$id) { @@ -1200,23 +1200,36 @@ if ($config['admin_can_add_user']) { html_print_csrf_hidden(); if ($new_user) { html_print_input_hidden('create_user', 1); - html_print_submit_button(__('Create'), 'crtbutton', false, 'class="sub wand"'); } else { html_print_input_hidden('update_user', 1); - html_print_submit_button(__('Update'), 'uptbutton', false, 'class="sub upd"'); } } +echo ''; + html_print_input_hidden('json_profile', ''); echo '
'; profile_print_profile_table($id); -echo ''; echo '
'; +echo '
'; +if ($config['admin_can_add_user']) { + if ($new_user) { + html_print_submit_button(__('Create'), 'crtbutton', false, 'class="sub wand" form="user_profile_form"'); + } else { + html_print_submit_button(__('Update'), 'uptbutton', false, 'class="sub upd" form="user_profile_form"'); + } +} + +echo '
'; + + +echo ''; + enterprise_hook('close_meta_frame'); $delete_image = html_print_input_image('del', 'images/cross.png', 1, '', true, ['onclick' => 'delete_profile(event, this)']);