diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index cf1370e21d..8417e93346 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,13 @@ +2009-08-14 Miguel de Dios + + * godmode/agentes/agent_manager.php, godmode/agentes/massive_config.php, + godmode/alerts/alert_list.php, godmode/reporting/graph_builder.php, + godmode/reporting/map_builder.php, include/functions_db.php, + include/functions_html.php, operation/agentes/exportdata.php, + operation/agentes/ver_agente.php: very changes for add input text + autocomplete with ajax jquery for agent input in several forms. Add to form + this exportdata, graph_builder, map_builder. + 2009-08-14 Miguel de Dios * index.php: add another ob_start for html result is with good order. diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index 5e6032659c..192626352d 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -130,9 +130,9 @@ $groups = get_user_groups ($config["id_user"]); $agents = get_group_agents (array_keys ($groups)); $table->data[2][0] = __('Parent'); -$table->data[2][1] = print_input_text ('id_parent', get_agent_name ($id_parent), - '', 30, 100, true); - +$table->data[2][1] = print_input_text_extended ('id_parent', get_agent_name ($id_parent), 'text-id_parent', '', 30, 100, false, '', + array('style' => 'background: url(images/lightning.png) no-repeat right;'), true) + . ' ' . __("Type two chars at least for search") . ''; $table->data[3][0] = __('Group'); $table->data[3][1] = print_select_from_sql ('SELECT id_grupo, nombre FROM tgrupo WHERE id_grupo > 1 ORDER BY nombre', 'grupo', $grupo, '', '', 0, true); diff --git a/pandora_console/godmode/agentes/massive_config.php b/pandora_console/godmode/agentes/massive_config.php index 57f61ba1bd..22028f643a 100644 --- a/pandora_console/godmode/agentes/massive_config.php +++ b/pandora_console/godmode/agentes/massive_config.php @@ -67,6 +67,10 @@ $table->data[0][2] .= ''; $table->data[0][3] = print_select (get_group_agents ($source_id_group, false, "none"), 'source_id_agent', $source_id_agent, false, __('Select'), 0, true); +//$table->data[0][3] = print_input_text_extended ('id_agent', __('Select'), 'text-id_agent', '', 25, 100, false, '', +// array('style' => 'background: url(images/lightning.png) no-repeat right;'), true) +// . ' ' . __("Type two chars at least for search") . ''; + echo '
'; echo '
'; diff --git a/pandora_console/godmode/alerts/alert_list.php b/pandora_console/godmode/alerts/alert_list.php index 09023742fa..73e21546d3 100644 --- a/pandora_console/godmode/alerts/alert_list.php +++ b/pandora_console/godmode/alerts/alert_list.php @@ -219,9 +219,12 @@ echo "