diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index ade42e8439..ac661ac5d0 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,15 +1,23 @@ +2010-07-18 Raúl Mateos + + * operation/incidents/incident_detail.php: Change Add button to links. + + * godmode/alerts/alert_list.list.php: Centered images. + + * godmode/alerts/configure_alert_action: Added link to create command. + 2010-07-16 Sergio Martin * pandoradb_data.sql: Fixed the default data inserting the new colum of tgrupo "propagate" -2010-07-15 Miguel de Dios +2010-07-16 Miguel de Dios * operation/agentes/networkmap.php: fixed the pass to parameters between fullscreen and windowed mode. Fixes: #3013769 -2010-07-15 Miguel de Dios +2010-07-16 Miguel de Dios * godmode/reporting/reporting_builder.php: fixed lost name of report when delete any element of this element. diff --git a/pandora_console/godmode/alerts/alert_list.list.php b/pandora_console/godmode/alerts/alert_list.list.php index 921d49c645..2ea8e2a30b 100644 --- a/pandora_console/godmode/alerts/alert_list.list.php +++ b/pandora_console/godmode/alerts/alert_list.list.php @@ -169,7 +169,11 @@ if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK) { } $table->head[5] = __('Actions'); $table->head[6] = __('Status'); -$table->head[7] = ''; +$table->head[7] = __('Delete'); + +$table->valign[6] = 'middle'; +$table->align[6] = 'center'; +$table->align[7] = 'center'; $table->data = array (); @@ -304,7 +308,7 @@ foreach ($simple_alerts as $alert) { $title = __('Alert not fired'); } - $data[6] = "
" . print_status_image($status, $title, true) . "
"; + $data[6] = print_status_image($status, $title, true); $data[7] = '
'; diff --git a/pandora_console/godmode/alerts/configure_alert_action.php b/pandora_console/godmode/alerts/configure_alert_action.php index 9fa7046a75..968e69c5ef 100644 --- a/pandora_console/godmode/alerts/configure_alert_action.php +++ b/pandora_console/godmode/alerts/configure_alert_action.php @@ -65,6 +65,11 @@ $table->data[1][1] = print_select_groups(false, "AR", true, 'group', $group, '', $table->data[2][0] = __('Command'); $table->data[2][1] = print_select_from_sql ('SELECT id, name FROM talert_commands', 'id_command', $id_command, '', __('None'), 0, true); +$table->data[2][1] .= ' '; +$table->data[2][1] .= print_image ('images/add.png', true); +$table->data[2][1] .= ''; +$table->data[2][1] .= __('Create Command'); +$table->data[2][1] .= ''; $table->data[3][0] = __('Field 1'); $table->data[3][1] = print_input_text ('field1', $field1, '', 35, 255, true); diff --git a/pandora_console/operation/incidents/incident_detail.php b/pandora_console/operation/incidents/incident_detail.php index b4f729c241..3226cbac1a 100644 --- a/pandora_console/operation/incidents/incident_detail.php +++ b/pandora_console/operation/incidents/incident_detail.php @@ -187,13 +187,13 @@ echo "