$response->addHTML('<tr class="' . ($odd_row ? 'odd' : 'even') . '">');
    $odd_row = !$odd_row;
    $isInCentralColumns = in_array($row['Field'], $central_list) ? true : false;
    $response->addHTML(PMA_getHtmlTableStructureRow($row, $rownum, $displayed_field_name, $type_nowrap, $extracted_columnspec, $type_mime, $field_charset, $attribute, $tbl_is_view, $db_is_system_schema, $url_query, $field_encoded, $titles, $table));
    if (!$tbl_is_view && !$db_is_system_schema) {
        $response->addHTML(PMA_getHtmlForActionsInTableStructure($type, $tbl_storage_engine, $primary, $field_name, $url_query, $titles, $row, $rownum, $columns_with_unique_index, $isInCentralColumns));
    }
    // end if (! $tbl_is_view && ! $db_is_system_schema)
    $response->addHTML('</tr>');
    unset($field_charset);
}
// end foreach
$response->addHTML('</tbody></table>');
$response->addHTML(PMA_getHtmlForCheckAllTableColumn($pmaThemeImage, $text_dir, $tbl_is_view, $db_is_system_schema, $tbl_storage_engine));
$response->addHTML('</form><hr class="print_ignore"/>');
$response->addHTML(PMA_getHtmlDivForMoveColumnsDialog());
/**
 * Work on the table
 */
$response->addHTML('<div id="structure-action-links">');
if ($tbl_is_view) {
    $response->addHTML(PMA_getHtmlForEditView($url_params));
}
$response->addHTML(PMA_getHtmlForOptionalActionLinks($url_query, $tbl_is_view, $db_is_system_schema));
$response->addHTML('</div>');
if (!$tbl_is_view && !$db_is_system_schema) {
    $response->addHTML('<br />');
    $response->addHTML(PMA_getHtmlForAddColumn($columns_list));
}
/**
 * Displays indexes
示例#2
0
} // end foreach

$response->addHTML('</tbody>' . "\n" .'</table>' . "\n");

$response->addHTML(
    PMA_getHtmlForCheckAllTableColumn(
        $pmaThemeImage, $text_dir, $tbl_is_view,
        $db_is_information_schema, $tbl_storage_engine
    )
);

$response->addHTML(
    '</form><hr />'
);
$response->addHTML(
    PMA_getHtmlDivForMoveColumnsDialog()
);

/**
 * Work on the table
 */

if ($tbl_is_view) {
    $response->addHTML(PMA_getHtmlForEditView($url_params));
}
$response->addHTML(
    PMA_getHtmlForOptionalActionLinks(
        $url_query, $tbl_is_view, $db_is_information_schema,
        $tbl_storage_engine, $cfgRelation
    )
);