diff options
author | Marc Delisle <marc@infomarc.info> | 2005-03-31 19:24:58 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2005-03-31 19:24:58 +0400 |
commit | d567c19f1edeebd7d58aede2fe5f5bc8735dcb24 (patch) | |
tree | d29757c8bc7d6e8064560f855ec026a76c48b428 | |
parent | b08ec2c800b3748b1acd0eeade9a305fdf65b4d5 (diff) |
TIMESTAMP options improved looks
-rwxr-xr-x | ChangeLog | 1 | ||||
-rw-r--r-- | tbl_properties.inc.php | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -8,6 +8,7 @@ $Source$ 2005-03-31 Marc Delisle <lem9@users.sourceforge.net> * Documentation.html: added FAQ 5.17 about problem with Firefox when the Tabbrowser Extensions plugin is installed + * tbl_properties.inc.php: TIMESTAMP options improved looks, thanks to Garvin 2005-03-30 Alexander M. Turek <me@derrabus.de> * server_databases.php: Bug #1172782 (Don't allow to drop diff --git a/tbl_properties.inc.php b/tbl_properties.inc.php index 4bd288ed9c..56176a657e 100644 --- a/tbl_properties.inc.php +++ b/tbl_properties.inc.php @@ -390,11 +390,11 @@ for ($i = 0 ; $i < $num_fields; $i++) { $content_cells[$i][$ci] .= '<input id="field_' . $i . '_' . ($ci - $ci_offset) . '" type="text" name="field_default[]" size="12" value="' . (isset($row) && isset($row['Default']) ? str_replace('"', '"', $row['Default']) : '') . '" class="textfield" />'; if (PMA_MYSQL_INT_VERSION >= 40102 && $type_upper == 'TIMESTAMP') { - $content_cells[$i][$ci] .= '<br /><input id="field_' . $i . '_' . ($ci - $ci_offset) . 'a" type="checkbox" name="field_default_current_timestamp[' . $i . ']"'; + $content_cells[$i][$ci] .= '<br /><div style="white-space: nowrap;"><input id="field_' . $i . '_' . ($ci - $ci_offset) . 'a" type="checkbox" name="field_default_current_timestamp[' . $i . ']"'; if ($default_current_timestamp) { $content_cells[$i][$ci] .= ' checked="checked" '; } - $content_cells[$i][$ci] .= ' /><label for="field_' . $i . '_' . ($ci - $ci_offset) . 'a" style="font-size: ' . $font_smallest . ';">CURRENT_TIMESTAMP</label>'; + $content_cells[$i][$ci] .= ' /><label for="field_' . $i . '_' . ($ci - $ci_offset) . 'a" style="font-size: ' . $font_smallest . ';">CURRENT_TIMESTAMP</label></div>'; } $ci++; |