This commit is contained in:
Alexander M. Turek
2002-08-04 15:21:21 +00:00
parent 53d111893f
commit 6d67d00373
2 changed files with 8 additions and 1 deletions

View File

@@ -20,6 +20,8 @@ $Source$
* lang/afrikaans-*.inc.php3: Tidied up a bit.
* Documentation.html, ANNOUNCE.txt: We now have 41 languages, don't we?
* Documentation.html: Beautified XHTML code.
* tbl_properties.inc.php3: Tried to work around bug #590481 (By default
radio button for primary key).
2002-08-03 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html: remove unneeded GRANT

View File

@@ -228,6 +228,11 @@ for ($i = 0 ; $i < $num_fields; $i++) {
} else {
$checked_unique = '';
}
if (empty($checked_primary)
&& empty($checked_index)
&& empty($checked_unique)) {
$checked_none = ' checked="checked"';
}
if (PMA_MYSQL_INT_VERSION >= 32323
&&(isset($row) && isset($row['Comment']) && $row['Comment'] == 'FULLTEXT')) {
$checked_fulltext = ' checked="checked"';
@@ -246,7 +251,7 @@ for ($i = 0 ; $i < $num_fields; $i++) {
<input type="radio" name="field_key_<?php echo $i; ?>" value="unique_<?php echo $i; ?>"<?php echo $checked_unique; ?> />
</td>
<td align="center" bgcolor="<?php echo $bgcolor; ?>">
<input type="radio" name="field_key_<?php echo $i; ?>" value="none_<?php echo $i; ?>" />
<input type="radio" name="field_key_<?php echo $i; ?>" value="none_<?php echo $i; ?>"<?php echo $checked_none; ?> />
</td>
<?php
if (PMA_MYSQL_INT_VERSION >= 32323) {