'.__('Successfully updated').''; else echo '

'.__('Could not be updated').'

'; break; case 'save_map_connection': if(!$errorfill) echo '

'.__('Successfully created').'

'; else echo '

'.__('Could not be created').'

'; break; case 'delete_connection': $idConnectionMap = get_parameter('id_connection_map'); $result = deleteMapConnection($idConnectionMap); if($result === false) echo '

'.__('Could not be deleted').'

'; else echo '

'.__('Successfully deleted').'

'; break; } $table->width = '500px'; $table->head[0] = __('Map connection name'); $table->head[1] = __('Group'); $table->head[3] = __('Delete'); $table->align[1] = 'center'; $table->align[2] = 'center'; $table->align[3] = 'center'; $mapsConnections = get_db_all_rows_in_table ('tgis_map_connection','conection_name'); $table->data = array(); if ($mapsConnections !== false) { foreach ($mapsConnections as $mapsConnection) { $table->data[] = array('' . $mapsConnection['conection_name'] . '', print_group_icon ($mapsConnection['group_id'], true), '' . print_image ("images/cross.png", true).''); } } print_table($table); echo '
'; echo '
'; print_input_hidden ('action','create_connection_map'); print_submit_button (__('Create'), '', false, 'class="sub next"'); echo '
'; echo '
'; ?>