2011-09-05 Miguel de Dios <miguel.dedios@artica.es>

* godmode/gis_maps/configure_gis_map.php: fixed the form to create or
	update gis connections.
	
	Fixes: #3403160



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2011-09-05 09:54:46 +00:00
parent fe648cc47f
commit 68b786a598
2 changed files with 26 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2011-09-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php: fixed the form to create or
update gis connections.
Fixes: #3403160
2011-09-03 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_delete_alerts.php,

View File

@ -298,6 +298,7 @@ switch ($action) {
}
$table->width = '98%';
$table->data = array ();
$table->valign[0] = 'top';
@ -362,6 +363,24 @@ $table->data[8][1] = html_print_input_text ('map_default_latitude', $map_default
$table->data[9][0] = __('Default Altitude') . ':';
$table->data[9][1] = html_print_input_text ('map_default_altitude', $map_default_altitude, '', 4, 8, true);
echo '<div class="action-buttons" style="margin-top: 20px; width: '.$table->width.'">';
switch ($action) {
case 'save_new':
case 'edit_map':
case 'update_saved':
if (!empty($invalidFields)) {
html_print_submit_button(_('Save map'), 'save_button', false, 'class="sub wand"');
}
else {
html_print_submit_button(_('Update map'), 'update_button', false, 'class="sub upd"');
}
break;
case 'new_map':
html_print_submit_button(_('Save map'), 'save_button', false, 'class="sub wand"');
break;
}
echo '</div>';
html_print_table($table);
echo "<h3>" . __('Layers') . ui_print_help_tip (__('Each layer can show agents from one group or the agents added to that layer or both.'), true). "</h3>";