diff --git a/db_tables_search.php b/db_tables_search.php deleted file mode 100644 index cf8094ac2a..0000000000 --- a/db_tables_search.php +++ /dev/null @@ -1,72 +0,0 @@ - $table) { - if (strpos($key, $table_term) !== false) { - $link = '
  • '; - $attr = array( - 'id' => 'icon_' . htmlspecialchars($table_db . '.' . $table['Name']) - ); - if (PMA_Table::isView($table_db, $table['Name'])) { - $link .= PMA_Util::getImage( - 's_views.png', htmlspecialchars($link_title), $attr - ); - } else { - $link .= PMA_Util::getImage( - 'b_browse.png', htmlspecialchars($link_title), $attr - ); - } - $link .= ''; - // link for the table name itself - $href = $GLOBALS['cfg']['DefaultTabTable'] . '?' - . $common_url_query . '&table=' - . urlencode($table['Name']) . '&pos=0'; - $link .= '' - // preserve spaces in table name - . str_replace(' ', ' ', htmlspecialchars($table['disp_name'])) - . ''; - $link .= '
  • ' . "\n"; - $table['line'] = $link; - $tables_response[] = $table; - } -} - -$response = PMA_Response::getInstance(); -$response->addJSON('tables', $tables_response); -?>