Add table caption and move documentation link there.

Otherwise the separate documentation link looks little strange.
This commit is contained in:
Michal Čihař
2011-02-02 14:52:56 +01:00
parent f2ebfe1bd5
commit f11509d5b5

View File

@@ -631,6 +631,8 @@ if (is_array($content_cells) && is_array($header_cells)) {
//$empty_row = array_pop($content_cells);
echo '<table id="table_columns">';
echo '<caption class="tblHeaders">' . __('Structure') . PMA_showMySQLDocu('SQL-Syntax', 'CREATE_TABLE') . '</caption>';
if ($display_type == 'horizontal') {
?>
<tr>
@@ -787,8 +789,6 @@ if ($action == 'tbl_create.php') {
</form>
<center><?php echo PMA_showMySQLDocu('SQL-Syntax', 'CREATE_TABLE'); ?></center>
<div id="enum_editor">
<a class="close_enum_editor"><?php echo __('Close'); ?></a>
<h3><?php printf(__('Values for the column "%s"'), isset($row['Field']) ? htmlspecialchars($row['Field']) : ""); ?></h3>