' . "\n"; ?> = 40100 ? ' ' . "\n" : ''; ?> ' . $strAction . '' . "\n"; ?> = 4.1) unset($field_charset); if (PMA_MYSQL_INT_VERSION >= 40100) { if ((substr($type, 0, 4) == 'char' || substr($type, 0, 7) == 'varchar' || substr($type, 0, 4) == 'text' || substr($type, 0, 8) == 'tinytext' || substr($type, 0, 10) == 'mediumtext' || substr($type, 0, 8) == 'longtext' || substr($type, 0, 3) == 'set' || substr($type, 0, 4) == 'enum' ) && !$binary) { if (strpos($type, ' character set ')) { $type = substr($type, 0, strpos($type, ' character set ')); } if (!empty($row['Collation'])) { $field_charset = $row['Collation']; } else { $field_charset = ''; } } else { $field_charset = ''; } } // garvin: Display basic mimetype [MIME] if ($cfgRelation['commwork'] && $cfgRelation['mimework'] && $cfg['BrowseMIME'] && isset($mime_map[$row['Field']]['mimetype'])) { $type_mime = '
MIME: ' . str_replace('_', '/', $mime_map[$row['Field']]['mimetype']); } else { $type_mime = ''; } $strAttribute = ' '; if ($binary) { $strAttribute = 'BINARY'; } if ($unsigned) { $strAttribute = 'UNSIGNED'; } if ($zerofill) { $strAttribute = 'UNSIGNED ZEROFILL'; } if (!isset($row['Default'])) { if ($row['Null'] != '') { $row['Default'] = 'NULL'; } } else { $row['Default'] = htmlspecialchars($row['Default']); } $field_encoded = urlencode($row['Field']); $field_name = htmlspecialchars($row['Field']); // garvin: underline commented fields and display a hover-title (CSS only) $comment_style = ''; if (isset($comments_map[$row['Field']])) { $field_name = '' . $field_name . ''; } if (isset($pk_array[$row['Field']])) { $field_name = '' . $field_name . ''; } echo "\n"; $titles = array(); if ($cfg['PropertiesIconic'] == true) { // We need to copy the value or else the == 'both' check will always return true $propicon = (string)$cfg['PropertiesIconic']; if ($propicon == 'both') { $iconic_spacer = '
'; } else { $iconic_spacer = ''; } // images replaced 2004-05-08 by mkkeck $titles['Change'] = $iconic_spacer . '' . $strChange . ''; $titles['Drop'] = $iconic_spacer . '' . $strDrop . ''; $titles['NoDrop'] = $iconic_spacer . '' . $strDrop . ''; $titles['Primary'] = $iconic_spacer . '' . $strPrimary . ''; $titles['Index'] = $iconic_spacer . '' . $strIndex . ''; $titles['Unique'] = $iconic_spacer . '' . $strUnique . ''; $titles['IdxFulltext'] = $iconic_spacer . '' . $strIdxFulltext . ''; $titles['NoPrimary'] = $iconic_spacer . '' . $strPrimary . ''; $titles['NoIndex'] = $iconic_spacer . '' . $strIndex . ''; $titles['NoUnique'] = $iconic_spacer . '' . $strUnique . ''; $titles['NoIdxFulltext'] = $iconic_spacer . '' . $strIdxFulltext . ''; if ($propicon == 'both') { $titles['Change'] .= ' ' . $strChange . '
'; $titles['Drop'] .= ' ' . $strDrop . ''; $titles['NoDrop'] .= ' ' . $strDrop . ''; $titles['Primary'] .= ' ' . $strPrimary . ''; $titles['Index'] .= ' ' . $strIndex . ''; $titles['Unique'] .= ' ' . $strUnique . ''; $titles['IdxFulltext' ] .= ' ' . $strIdxFulltext . ''; $titles['NoPrimary'] .= ' ' . $strPrimary . ''; $titles['NoIndex'] .= ' ' . $strIndex . ''; $titles['NoUnique'] .= ' ' . $strUnique . ''; $titles['NoIdxFulltext'] .= ' ' . $strIdxFulltext . ''; } } else { $titles['Change'] = $strChange; $titles['Drop'] = $strDrop; $titles['NoDrop'] = $strDrop; $titles['Primary'] = $strPrimary; $titles['Index'] = $strIndex; $titles['Unique'] = $strUnique; $titles['IdxFulltext'] = $strIdxFulltext; $titles['NoPrimary'] = $strPrimary; $titles['NoIndex'] = $strIndex; $titles['NoUnique'] = $strUnique; $titles['NoIdxFulltext'] = $strIdxFulltext; } ?> > = 40100 ? ' ' . "\n" : '' ?>
   ' . $strCollation . '
/> bgcolor="" nowrap="nowrap">   bgcolor=""> ' . (empty($field_charset) ? ' ' : '' . $field_charset . '') . ' bgcolor="" nowrap="nowrap"> bgcolor="">  bgcolor="" nowrap="nowrap">  bgcolor="" nowrap="nowrap">  1) { echo "\n"; ?>
<?php echo $strWithChecked; ?>  /         1) { PMA_buttonOrImage('submit_mult', 'mult_submit', 'submit_mult_drop', $strDrop, 'b_drop.png'); } PMA_buttonOrImage('submit_mult', 'mult_submit', 'submit_mult_primary', $strPrimary, 'b_primary.png'); PMA_buttonOrImage('submit_mult', 'mult_submit', 'submit_mult_index', $strIndex, 'b_index.png'); PMA_buttonOrImage('submit_mult', 'mult_submit', 'submit_mult_unique', $strUnique, 'b_unique.png'); if ((!empty($tbl_type) && $tbl_type == 'MYISAM')) { PMA_buttonOrImage('submit_mult', 'mult_submit', 'submit_mult_fulltext', $strIdxFulltext, 'b_ftext.png'); } } else { echo '' . "\n"; // Drop button if there is at least two fields if ($fields_cnt > 1) { echo ' ' . $strOr . ' ' . "\n" . '' . "\n"; } echo ' ' . $strOr . ' ' . "\n" . '' . "\n"; echo ' ' . $strOr . ' ' . "\n" . '' . "\n"; echo ' ' . $strOr . ' ' . "\n" . '' . "\n"; if ((!empty($tbl_type) && $tbl_type == 'MYISAM')) { echo ' ' . $strOr . ' ' . "\n" . '' . "\n"; } } ?>

'; } echo $strPrintView; ?>    '; } echo $strRelationView; ?>    '; } echo $strStructPropose; ?>
'; } echo sprintf($strAddFields, ''); ?>