RFE #7000385: Export AUTO_INCREMENT field.
Display Create/Update/Check_time in PDF-Pages, printview, DB/Table structure and table dumps, if information is available (gathered by 'SHOW TABLE STATUS' for MySQL 3.23.XX).
This commit is contained in:
@@ -207,6 +207,52 @@ else if (PMA_MYSQL_INT_VERSION >= 32303) {
|
||||
?>
|
||||
<td bgcolor="<?php echo $bgcolor; ?>">
|
||||
<?php echo $sts_data['Comment']; ?>
|
||||
<?php
|
||||
if (!empty($sts_data['Comment'])) {
|
||||
$needs_break = '<br />';
|
||||
} else {
|
||||
$needs_break = '';
|
||||
}
|
||||
|
||||
if ((isset($sts_data['Create_time']) && !empty($sts_data['Create_time']))
|
||||
|| (isset($sts_data['Update_time']) && !empty($sts_data['Update_time']))
|
||||
|| (isset($sts_data['Check_time']) && !empty($sts_data['Check_time']))) {
|
||||
echo $needs_break;
|
||||
?>
|
||||
<table border="0" cellpadding="1" cellspacing="1" width="100%">
|
||||
<?php
|
||||
|
||||
if (isset($sts_data['Create_time']) && !empty($sts_data['Create_time'])) {
|
||||
?>
|
||||
<tr>
|
||||
<td style="font-size: <?php echo $font_smaller; ?>" align="right"><?php echo $strStatCreateTime . ': '; ?></td>
|
||||
<td style="font-size: <?php echo $font_smaller; ?>" align="right"><?php echo PMA_localisedDate(strtotime($sts_data['Create_time'])); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if (isset($sts_data['Update_time']) && !empty($sts_data['Update_time'])) {
|
||||
?>
|
||||
<tr>
|
||||
<td style="font-size: <?php echo $font_smaller; ?>" align="right"><?php echo $strStatUpdateTime . ': '; ?></td>
|
||||
<td style="font-size: <?php echo $font_smaller; ?>" align="right"><?php echo PMA_localisedDate(strtotime($sts_data['Update_time'])); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if (isset($sts_data['Check_time']) && !empty($sts_data['Check_time'])) {
|
||||
?>
|
||||
<tr>
|
||||
<td style="font-size: <?php echo $font_smaller; ?>" align="right"><?php echo $strStatCheckTime . ': '; ?></td>
|
||||
<td style="font-size: <?php echo $font_smaller; ?>" align="right"><?php echo PMA_localisedDate(strtotime($sts_data['Check_time'])); ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
|
Reference in New Issue
Block a user