diff --git a/pandora_console/godmode/agentes/planned_downtime.editor.php b/pandora_console/godmode/agentes/planned_downtime.editor.php index 08688c623b..b0925a787a 100644 --- a/pandora_console/godmode/agentes/planned_downtime.editor.php +++ b/pandora_console/godmode/agentes/planned_downtime.editor.php @@ -15,7 +15,7 @@ * |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______| * * ============================================================================ - * Copyright (c) 2005-2021 Artica Soluciones Tecnologicas + * Copyright (c) 2005-2023 Artica Soluciones Tecnologicas * Please see http://pandorafms.org for full contribution list * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -54,23 +54,33 @@ require_once $config['homedir'].'/include/functions_cron.php'; // Buttons. $buttons = [ 'text' => "".html_print_image( - 'images/list.png', + 'images/logs@svg.svg', true, [ 'title' => __('List'), - 'class' => 'invert_filter', + 'class' => 'main_menu_icon invert_filter', ] ).'', ]; // Header. -ui_print_page_header( +ui_print_standard_header( __('Scheduled Downtime'), 'images/gm_monitoring.png', false, '', true, - $buttons + $buttons, + [ + [ + 'link' => '', + 'label' => __('Tools'), + ], + [ + 'link' => '', + 'label' => __('Scheduled Downtime'), + ], + ] ); // Recursion group filter. @@ -813,227 +823,7 @@ if (users_can_manage_group_all('AW') === true || $disabled) { $return_all_group = true; } -$table = new StdClass(); -$table->class = 'databox filters'; -$table->width = '100%'; -$table->data = []; -$table->data[0][0] = __('Name'); -$table->data[0][1] = html_print_input_text( - 'name', - $name, - '', - 25, - 40, - true, - $disabled_in_execution -); -$table->data[1][0] = __('Group'); -$table->data[1][1] = '