diff --git a/js/functions.js b/js/functions.js index c9f6112dff..a075fdb3d4 100644 --- a/js/functions.js +++ b/js/functions.js @@ -1914,6 +1914,7 @@ $(document).ready(function() { $table.find("td[class='unique']").remove(); $table.find("td[class='index']").remove(); $table.find("td[class='fulltext']").remove(); + $table.find("td[class='spatial']").remove(); $table.find("th[class='action']").attr("colspan", 3); // Display the "more" text diff --git a/tbl_structure.php b/tbl_structure.php index b9690832ec..921ae31634 100644 --- a/tbl_structure.php +++ b/tbl_structure.php @@ -155,12 +155,12 @@ $titles['NoDrop'] = PMA_getIcon('b_drop.png', __('Drop'), true); $titles['Primary'] = PMA_getIcon('b_primary.png', __('Primary'), true); $titles['Index'] = PMA_getIcon('b_index.png', __('Index'), true); $titles['Unique'] = PMA_getIcon('b_unique.png', __('Unique'), true); -$titles['Spatial'] = PMA_getIcon('b_ftext.png', __('Spatial'), true); +$titles['Spatial'] = PMA_getIcon('b_spatial.png', __('Spatial'), true); $titles['IdxFulltext'] = PMA_getIcon('b_ftext.png', __('Fulltext'), true); $titles['NoPrimary'] = PMA_getIcon('bd_primary.png', __('Primary'), true); $titles['NoIndex'] = PMA_getIcon('bd_index.png', __('Index'), true); $titles['NoUnique'] = PMA_getIcon('bd_unique.png', __('Unique'), true); -$titles['NoSpatial'] = PMA_getIcon('bd_ftext.png', __('Spatial'), true); +$titles['NoSpatial'] = PMA_getIcon('bd_spatial.png', __('Spatial'), true); $titles['NoIdxFulltext'] = PMA_getIcon('bd_ftext.png', __('Fulltext'), true); $titles['BrowseDistinctValues'] = PMA_getIcon('b_browse.png', __('Browse distinct values'), true); @@ -173,8 +173,8 @@ $hidden_titles['Index'] = PMA_getIcon('b_index.png', __('Add inde $hidden_titles['NoIndex'] = PMA_getIcon('bd_index.png', __('Add index'), false, true); $hidden_titles['Unique'] = PMA_getIcon('b_unique.png', __('Add unique index'), false, true); $hidden_titles['NoUnique'] = PMA_getIcon('bd_unique.png', __('Add unique index'), false, true); -$hidden_titles['Spatial'] = PMA_getIcon('b_ftext.png', __('Add SPATIAL index'), false, true); -$hidden_titles['NoSpatial'] = PMA_getIcon('bd_ftext.png', __('Add SPATIAL index'), false, true); +$hidden_titles['Spatial'] = PMA_getIcon('b_spatial.png', __('Add SPATIAL index'), false, true); +$hidden_titles['NoSpatial'] = PMA_getIcon('bd_spatial.png', __('Add SPATIAL index'), false, true); $hidden_titles['IdxFulltext'] = PMA_getIcon('b_ftext.png', __('Add FULLTEXT index'), false, true); $hidden_titles['NoIdxFulltext'] = PMA_getIcon('bd_ftext.png', __('Add FULLTEXT index'), false, true); @@ -450,7 +450,7 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) { echo "\n"; ?> - +