diff --git a/pandora_console/godmode/agentes/configure_field.php b/pandora_console/godmode/agentes/configure_field.php index 3e38e5af2b..33aac95ccf 100755 --- a/pandora_console/godmode/agentes/configure_field.php +++ b/pandora_console/godmode/agentes/configure_field.php @@ -57,14 +57,33 @@ if ($id_field) { $combo_values = $field['combo_values'] ? $field['combo_values'] : ''; $is_combo_enable = $config['is_combo_enable']; $is_link_enabled = $field['is_link_enabled']; - ui_print_page_header(__('Update agent custom field'), 'images/custom_field.png', false, '', true, ''); + $header_title = __('Update agent custom field'); } else { - ui_print_page_header(__('Create agent custom field'), 'images/custom_field.png', false, '', true, ''); + $header_title = __('Create agent custom field'); } -$table = new stdClass(); -$table->class = 'databox'; -$table->id = 'configure_field'; +ui_print_standard_header( + $header_title, + 'images/custom_field.png', + false, + '', + true, + [], + [ + [ + 'link' => 'index.php?sec=gagente&sec2=godmode/agentes/fields_manager', + 'label' => __('Resources'), + ], + [ + 'link' => 'index.php?sec=gagente&sec2=godmode/agentes/fields_manager', + 'label' => __('Custom field'), + ], + [ + 'link' => '', + 'label' => __('Edit'), + ], + ] +); echo "