diff --git a/pandora_console/extensions/realtime_graphs.php b/pandora_console/extensions/realtime_graphs.php index d0b5ef5e95..b14ce6c8b8 100644 --- a/pandora_console/extensions/realtime_graphs.php +++ b/pandora_console/extensions/realtime_graphs.php @@ -224,7 +224,7 @@ function pandora_realtime_graphs() false, '', 'white-box-content', - 'box-flat white_table_graph fixed_filter_bar' + 'box-flat white_table_graph' ); $chart[time()]['graph'] = '0'; diff --git a/pandora_console/include/class/AuditLog.class.php b/pandora_console/include/class/AuditLog.class.php index 93f391ee73..c16628dd69 100644 --- a/pandora_console/include/class/AuditLog.class.php +++ b/pandora_console/include/class/AuditLog.class.php @@ -134,7 +134,7 @@ class AuditLog extends HTML ui_print_standard_header( __('%s audit', get_product_name()).' » '.__('Review Logs'), - 'images/gm_log.png', + 'images/gm_log@svg.svg', false, '', false, diff --git a/pandora_console/include/class/SnmpConsole.class.php b/pandora_console/include/class/SnmpConsole.class.php index 3f48eb2c22..5ff370d69c 100644 --- a/pandora_console/include/class/SnmpConsole.class.php +++ b/pandora_console/include/class/SnmpConsole.class.php @@ -1443,7 +1443,7 @@ class SnmpConsole extends HTML binding_vars.forEach(function(oid) { string += oid+'
'; }); - variableBindings = `${string}`; + variableBindings = `${string}`; } tr.after(`${labelBindings}${variableBindings}`); diff --git a/pandora_console/include/lib/ClusterViewer/ClusterWizard.php b/pandora_console/include/lib/ClusterViewer/ClusterWizard.php index 4cc04e2318..d44ece7256 100644 --- a/pandora_console/include/lib/ClusterViewer/ClusterWizard.php +++ b/pandora_console/include/lib/ClusterViewer/ClusterWizard.php @@ -764,6 +764,7 @@ class ClusterWizard extends \HTML 'action' => $target_url, 'method' => 'POST', 'extra' => 'autocomplete="false"', + 'id' => 'cluster-edit-'.($this->page + 1), ]; if ($load_success === false && $this->page !== 0) { @@ -1245,17 +1246,16 @@ class ClusterWizard extends \HTML } // Submit button. - $form['inputs'][] = [ - 'arguments' => [ - 'name' => 'next', - 'label' => $str, - 'type' => 'submit', - 'attributes' => [ - 'icon' => 'wand', - 'mode' => 'primary', - ], - 'return' => true, + $form['submit-external-input'] = [ + 'name' => 'next', + 'label' => $str, + 'type' => 'submit', + 'attributes' => [ + 'icon' => 'wand', + 'mode' => 'primary', + 'form' => 'cluster-edit-'.($this->page + 1), ], + 'return' => true, ]; return $form; diff --git a/pandora_console/include/styles/pandora.css b/pandora_console/include/styles/pandora.css index 96d2d09780..619ce85c7d 100644 --- a/pandora_console/include/styles/pandora.css +++ b/pandora_console/include/styles/pandora.css @@ -11895,3 +11895,7 @@ td[id^="table_info_box"] a { .info_table.events > tbody > tr > td { border-bottom: 1px solid #dedede !important; } + +.break-word { + word-wrap: break-word; +} diff --git a/pandora_console/operation/agentes/ver_agente.php b/pandora_console/operation/agentes/ver_agente.php index 19ac249753..2e2ee2e37a 100644 --- a/pandora_console/operation/agentes/ver_agente.php +++ b/pandora_console/operation/agentes/ver_agente.php @@ -1477,15 +1477,13 @@ if ($policyTab === ENTERPRISE_NOT_HOOK) { $policyTab = ''; } - // Omnishell. -if (function_exists('count_tasks_agent')) { - $tasks = count_tasks_agent($id_agente); - if ($tasks === true) { - $omnishellTab = enterprise_hook('omnishell_tab'); - if ($omnishellTab == -1) { - $omnishellTab = ''; - } +$tasks = enterprise_hook('count_tasks_agent', [$id_agente]); + +if ($tasks === true) { + $omnishellTab = enterprise_hook('omnishell_tab'); + if ($omnishellTab == -1) { + $omnishellTab = ''; } } diff --git a/pandora_console/views/cluster/edit.php b/pandora_console/views/cluster/edit.php index b3c062977e..4c93fbd253 100644 --- a/pandora_console/views/cluster/edit.php +++ b/pandora_console/views/cluster/edit.php @@ -120,42 +120,17 @@ if (empty($wizard->errMessages) === false) { } } +$buttons_input = ''; if (empty($form) === false) { // Print form (prepared in ClusterWizard). + $submit = $form['submit-external-input']; + unset($form['submit-external-input']); + HTML::printForm($form, false, ($wizard->page < 6)); + $buttons_input .= HTML::printInput($submit); } // Print always go back button. -HTML::printForm($wizard->getGoBackForm(), false); +$buttons_input .= HTML::printForm($wizard->getGoBackForm(), true); -html_print_action_buttons( - '', - [] -); - -?> - - \ No newline at end of file +html_print_action_buttons($buttons_input);