diff --git a/libraries/tbl_select.lib.php b/libraries/tbl_select.lib.php
index f30b9daa6e..ae94346cde 100644
--- a/libraries/tbl_select.lib.php
+++ b/libraries/tbl_select.lib.php
@@ -555,14 +555,14 @@ $geom_types, $column_index)
}
/**
- * Generates formatted HTML for extra search options (slider) in table search form
+ * Generates formatted HTML for extra search options in table search form
*
* @param array $columnNames Array containing types of all columns in the table
* @param integer $columnCount Number of columns in the table
*
* @return string the generated HTML
*/
-function PMA_tblSearchGetSliderOptions($columnNames, $columnCount)
+function PMA_tblSearchGetOptions($columnNames, $columnCount)
{
$html_output = '';
$html_output .= PMA_getDivForSliderEffect('searchoptions', __('Options'));
@@ -664,7 +664,7 @@ $foreigners, $db, $table)
$geomColumnFlag, $columnTypes, $geom_types, $i
);
/**
- * Displays column's name, type, collation
+ * Displays column's name, type and collation
*/
$html_output .= '
' . htmlspecialchars($columnNames[$i]) . ' | ';
$html_output .= '' . htmlspecialchars($columnTypes[$i]) . ' | ';
@@ -677,10 +677,11 @@ $foreigners, $db, $table)
preg_replace('@\(.*@s', '', $columnTypes[$i]),
$columnNullFlags[$i]
);
- $html_output .= '';
+ $html_output .= ' | ';
/**
* Displays column's foreign relations if any
*/
+ $html_output .= '';
$field = $columnNames[$i];
$foreignData = PMA_getForeignData($foreigners, $field, false, '', '');
$html_output .= PMA_getForeignFields_Values(
@@ -688,9 +689,10 @@ $foreigners, $db, $table)
$titles, $GLOBALS['cfg']['ForeignKeyMaxLimit'], '', true
);
- $html_output .= ''
+ $html_output .= ''
+ . ''
. ' | ';
} // end for
@@ -743,13 +745,14 @@ $foreigners, $db, $table)
$geomColumnFlag, $columnCount, $foreigners, $db, $table
);
- $html_output .= ''
+ $html_output .= ''
+ . ''
. '';
/**
* Displays slider options form
*/
- $html_output .= PMA_tblSearchGetSliderOptions($columnNames, $columnCount);
+ $html_output .= PMA_tblSearchGetOptions($columnNames, $columnCount);
/**
* Displays selection form's footer elements