Feature #623665, part 1
This commit is contained in:
@@ -11,6 +11,9 @@ $Source$
|
||||
* server_privileges.php3:
|
||||
- Fixed a broken link in the user overview table;
|
||||
- Fixed bug #539756 again.
|
||||
* lang/german-*.inc.php3: Updates.
|
||||
* tbl_properties_structure.php3, lang/*.inc.php3: Nicer output for MySQL 4.1
|
||||
(Feature #623665, part 1).
|
||||
|
||||
2003-04-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/common.lib.php3, config_import.lib.php3:
|
||||
|
@@ -77,6 +77,7 @@ $fields_cnt = mysql_num_rows($fields_rs);
|
||||
<td></td>
|
||||
<th> <?php echo $strField; ?> </th>
|
||||
<th><?php echo $strType; ?></th>
|
||||
<?php echo PMA_MYSQL_INT_VERSION >= 40100 ? ' <th>' . $strCharset . '</th>' . "\n" : ''; ?>
|
||||
<th><?php echo $strAttr; ?></th>
|
||||
<th><?php echo $strNull; ?></th>
|
||||
<th><?php echo $strDefault; ?></th>
|
||||
@@ -138,6 +139,11 @@ while ($row = PMA_mysql_fetch_array($fields_rs)) {
|
||||
$zerofill = eregi('ZEROFILL', $row['Type'], $test);
|
||||
}
|
||||
|
||||
// rabus: Devide charset from the rest of the type definition (MySQL >= 4.1)
|
||||
if (strpos($type, ' character set ')) {
|
||||
list($type, $field_charset) = explode(' character set ', $type);
|
||||
}
|
||||
|
||||
// garvin: Display basic mimetype [MIME]
|
||||
if ($cfgRelation['commwork'] && $cfgRelation['mimework'] && $cfg['BrowseMIME'] && isset($mime_map[$row['Field']]['mimetype'])) {
|
||||
$type_mime = '<br />MIME: ' . str_replace('_', '/', $mime_map[$row['Field']]['mimetype']);
|
||||
@@ -185,6 +191,7 @@ while ($row = PMA_mysql_fetch_array($fields_rs)) {
|
||||
</td>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"> <label for="checkbox_row_<?php echo $i; ?>"><?php echo $field_name; ?></label> </td>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>"<?php echo $type_nowrap; ?>><?php echo $type; echo $type_mime; ?><bdo dir="ltr"></bdo></td>
|
||||
<?php echo PMA_MYSQL_INT_VERSION >= 40100 ? ' <td bgcolor="' . $bgcolor . '">' . (empty($field_charset) ? '---' : $field_charset) . '</td>' . "\n" : '' ?>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php echo $strAttribute; ?></td>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>"><?php echo (($row['Null'] == '') ? $strNo : $strYes); ?> </td>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php if (isset($row['Default'])) echo $row['Default']; ?> </td>
|
||||
@@ -284,7 +291,7 @@ $checkall_url = 'tbl_properties_structure.php3?' . PMA_generate_common_url($db,$
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td colspan="<?php echo((PMA_MYSQL_INT_VERSION >= 32323) ? '13' : '12'); ?>">
|
||||
<td colspan="<?php echo PMA_MYSQL_INT_VERSION >= 40100 ? '14' : (PMA_MYSQL_INT_VERSION >= 32323 ? '13' : '12'); ?>">
|
||||
<img src="./images/arrow_<?php echo $text_dir; ?>.gif" border="0" width="38" height="22" alt="<?php echo $strWithChecked; ?>" />
|
||||
<a href="<?php echo $checkall_url; ?>&checkall=1" onclick="setCheckboxes('fieldsForm', true); return false;">
|
||||
<?php echo $strCheckAll; ?></a>
|
||||
|
Reference in New Issue
Block a user