$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_getImage( 's_views.png', htmlspecialchars($link_title), $attr ); } else { $link .= PMA_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; } } PMA_ajaxResponse('', true, array('tables' => $tables_response)); ?>