TIMESTAMP options improved looks
This commit is contained in:
parent
b08ec2c800
commit
d567c19f1e
@ -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
|
||||
|
||||
@ -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++;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user