diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php
index 7707a2b944..e764a1280c 100644
--- a/pandora_console/godmode/agentes/agent_manager.php
+++ b/pandora_console/godmode/agentes/agent_manager.php
@@ -322,7 +322,21 @@ $table_primary_group .= '';
$table_interval = '
'.__('Interval').':
';
$table_interval .= '
';
-$table_interval .= html_print_extended_select_for_time('intervalo', $intervalo, '', '', '0', 10, true);
+$table_interval .= html_print_extended_select_for_time(
+ 'intervalo',
+ $intervalo,
+ '',
+ '',
+ '0',
+ 10,
+ true,
+ false,
+ true,
+ 'w40p'
+);
+
+
+
if ($intervalo < SECONDS_5MINUTES) {
$table_interval .= clippy_context_help('interval_agent_min');
}
diff --git a/pandora_console/godmode/wizards/Wizard.main.php b/pandora_console/godmode/wizards/Wizard.main.php
index f7f5e9a5c8..f76678ffb6 100644
--- a/pandora_console/godmode/wizards/Wizard.main.php
+++ b/pandora_console/godmode/wizards/Wizard.main.php
@@ -783,13 +783,17 @@ class Wizard
/**
* Print a form.
*
- * @param array $data Definition of target form to be printed.
- * @param boolean $return Return as string or direct output.
+ * @param array $data Definition of target form to be printed.
+ * @param boolean $return Return as string or direct output.
+ * @param boolean $print_white_box Print a white box.
*
* @return string HTML code.
*/
- public function printForm(array $data, bool $return=false, bool $print_white_box=false)
- {
+ public function printForm(
+ array $data,
+ bool $return=false,
+ bool $print_white_box=false
+ ) {
$form = $data['form'];
$inputs = $data['inputs'];
$js = $data['js'];
diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php
index 6ce6a5d57c..53ab0bbb75 100644
--- a/pandora_console/include/functions_html.php
+++ b/pandora_console/include/functions_html.php
@@ -1079,7 +1079,7 @@ function html_print_extended_select_for_time(
'class' => $uniq_name.'_toggler '.$class,
'alt' => __('Custom'),
'title' => __('Custom'),
- 'style' => 'width: 18px;'.$style_icon,
+ 'style' => 'width: 18px; margin-bottom: -5px;'.$style_icon,
],
false,
false,
@@ -1114,7 +1114,7 @@ function html_print_extended_select_for_time(
'class' => $uniq_name.'_toggler',
'alt' => __('List'),
'title' => __('List'),
- 'style' => 'width: 18px;'.$style_icon,
+ 'style' => 'width: 18px;margin-bottom: -5px;'.$style_icon,
]
).'';
echo '
';
diff --git a/pandora_console/include/functions_ui.php b/pandora_console/include/functions_ui.php
index ce7d182e53..2f0eeeea09 100755
--- a/pandora_console/include/functions_ui.php
+++ b/pandora_console/include/functions_ui.php
@@ -2795,7 +2795,31 @@ function ui_print_page_header(
$buffer = '
';
if (!empty($breadcrumbs)) {
- $buffer .= '
'.$breadcrumbs.'
';
+ if (is_array($breadcrumbs)) {
+ $bc = [];
+ $i = 0;
+ foreach ($breadcrumbs as $content) {
+ if ($content['selected'] == 1) {
+ $class = 'selected';
+ } else {
+ $class = '';
+ }
+
+ $bc[$i] = '';
+ $bc[$i] .= '
';
+ $bc[$i] .= $content['label'];
+ $bc[$i] .= '';
+ $bc[$i] .= '';
+ $i++;
+ }
+
+ $buffer .= implode(
+ '
 / ',
+ $this->breadcrum
+ );
+ } else {
+ $buffer .= '
'.$breadcrumbs.'
';
+ }
}
$buffer .= '