Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2005-03-31 19:24:58 +0400
committerMarc Delisle <marc@infomarc.info>2005-03-31 19:24:58 +0400
commitd567c19f1edeebd7d58aede2fe5f5bc8735dcb24 (patch)
treed29757c8bc7d6e8064560f855ec026a76c48b428
parentb08ec2c800b3748b1acd0eeade9a305fdf65b4d5 (diff)
TIMESTAMP options improved looks
-rwxr-xr-xChangeLog1
-rw-r--r--tbl_properties.inc.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fe76c4b8f..57b3459e8f 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -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('"', '&quot;', $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++;