diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 2dfa36fdf6..815d49b64d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,11 @@ +2011-11-23 Juan Manuel Ramon + + * godmode/agentes/agent_conf_gis.php + godmode/agentes/agent_manager.php: Fixed 'Ignore GIS data' and + change labels. + + Fixes: #3437659 + 2011-11-22 Juan Manuel Ramon * images/skin/skin_default/include/styles/tip.css diff --git a/pandora_console/godmode/agentes/agent_conf_gis.php b/pandora_console/godmode/agentes/agent_conf_gis.php index 3910cb9435..e2c31d562b 100644 --- a/pandora_console/godmode/agentes/agent_conf_gis.php +++ b/pandora_console/godmode/agentes/agent_conf_gis.php @@ -62,14 +62,14 @@ $table->data[3][1] = html_print_input_text_extended ('altitude', $agentData['sto $table->data[4][0] = __('Ignore new GIS data:'); $table->data[4][1] = __('Disabled').' '.html_print_radio_button_extended ("update_gis_data", 1, '', $updateGisData, false, '', 'style="margin-right: 40px;"', true); -$table->data[4][1] .= __('Active').' '.html_print_radio_button_extended ("update_gis_data", 0, '', $updateGisData, false, '', 'style="margin-right: 40px;"', true); +$table->data[4][1] .= __('Enabled').' '.html_print_radio_button_extended ("update_gis_data", 0, '', $updateGisData, false, '', 'style="margin-right: 40px;"', true); $url = 'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=gis&id_agente='.$id_agente; echo "
"; html_print_input_hidden('update_gis', 1); html_print_table($table); -echo '
'; +echo '
'; html_print_submit_button (__('Update'), '', false, 'class="sub upd"'); echo '
'; echo ""; diff --git a/pandora_console/godmode/agentes/agent_manager.php b/pandora_console/godmode/agentes/agent_manager.php index 91000d3123..534021e490 100644 --- a/pandora_console/godmode/agentes/agent_manager.php +++ b/pandora_console/godmode/agentes/agent_manager.php @@ -308,8 +308,8 @@ $table->data[4][1] = html_print_select($arraySelectIcon, "icon_path", $icon_path if ($config['activate_gis']) { $table->data[5][0] = __('Ignore new GIS data:'); - $table->data[5][1] = __('Disabled').' '.html_print_radio_button_extended ("update_gis_data", 0, '', $update_gis_data, false, '', 'style="margin-right: 40px;"', true); - $table->data[5][1] .= __('Active').' '.html_print_radio_button_extended ("update_gis_data", 1, '', $update_gis_data, false, '', 'style="margin-right: 40px;"', true); + $table->data[5][1] = __('Disabled').' '.html_print_radio_button_extended ("update_gis_data", 1, '', $update_gis_data, false, '', 'style="margin-right: 40px;"', true); + $table->data[5][1] .= __('Enabled').' '.html_print_radio_button_extended ("update_gis_data", 0, '', $update_gis_data, false, '', 'style="margin-right: 40px;"', true); } ui_toggle(html_print_table ($table, true), __('Advanced options'));