2011-11-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* godmode/agentes/agent_conf_gis.php
	godmode/agentes/agent_manager.php: Fixed 'Ignore GIS data' and
	change labels.
	
	Fixes: #3437659



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5156 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-11-23 13:38:27 +00:00
parent db6fddeef4
commit cc82b64a86
3 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2011-11-23 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* 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 <juanmanuel.ramon@artica.es> 2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* images/skin/skin_default/include/styles/tip.css * images/skin/skin_default/include/styles/tip.css

View File

@ -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][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] = __('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; $url = 'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=gis&id_agente='.$id_agente;
echo "<form method='post' action='" . $url . "' onsubmit ='return validateFormFields();'>"; echo "<form method='post' action='" . $url . "' onsubmit ='return validateFormFields();'>";
html_print_input_hidden('update_gis', 1); html_print_input_hidden('update_gis', 1);
html_print_table($table); html_print_table($table);
echo '<div class="action-buttons" style="clear: left; width: ' . $table->width . '; float: left;">'; echo '<div class="action-buttons" style="width: ' . $table->width . '; float: left;">';
html_print_submit_button (__('Update'), '', false, 'class="sub upd"'); html_print_submit_button (__('Update'), '', false, 'class="sub upd"');
echo '</div>'; echo '</div>';
echo "</form>"; echo "</form>";

View File

@ -308,8 +308,8 @@ $table->data[4][1] = html_print_select($arraySelectIcon, "icon_path", $icon_path
if ($config['activate_gis']) { if ($config['activate_gis']) {
$table->data[5][0] = __('Ignore new GIS data:'); $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] = __('Disabled').' '.html_print_radio_button_extended ("update_gis_data", 1, '', $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] .= __('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')); ui_toggle(html_print_table ($table, true), __('Advanced options'));