fixed enabling/disabling links for index generating
This commit is contained in:
@@ -17,6 +17,8 @@ $Source$
|
||||
caused HTML entities to be quoted twice.
|
||||
* tbl_indexes.php3: Fixed editing of index with HTML entities.
|
||||
* lang/czech: Updated.
|
||||
* tbl_properties_structure.php3: Fix enabling/disabling links to index
|
||||
creating (it requires type, but there was also MIME type added).
|
||||
|
||||
2003-03-23 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/sqlparser.lib.php3, libraries/config_import.lib.php3,
|
||||
|
@@ -133,7 +133,9 @@ while ($row = PMA_mysql_fetch_array($fields_rs)) {
|
||||
|
||||
// garvin: Display basic mimetype [MIME]
|
||||
if ($cfgRelation['commwork'] && $cfgRelation['mimework'] && $cfg['BrowseMIME'] && isset($mime_map[$row['Field']]['mimetype'])) {
|
||||
$type .= '<br />MIME: ' . str_replace('_', '/', $mime_map[$row['Field']]['mimetype']);
|
||||
$type_mime = '<br />MIME: ' . str_replace('_', '/', $mime_map[$row['Field']]['mimetype']);
|
||||
} else {
|
||||
$type_mime = '';
|
||||
}
|
||||
|
||||
$strAttribute = ' ';
|
||||
@@ -175,7 +177,7 @@ while ($row = PMA_mysql_fetch_array($fields_rs)) {
|
||||
<input type="checkbox" name="selected_fld[]" value="<?php echo $field_encoded; ?>" id="checkbox_row_<?php echo $i; ?>" <?php echo $checked; ?> />
|
||||
</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; ?><bdo dir="ltr"></bdo></td>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>"<?php echo $type_nowrap; ?>><?php echo $type; echo $type_mime; ?><bdo dir="ltr"></bdo></td>
|
||||
<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>
|
||||
|
Reference in New Issue
Block a user