Fix database_tables.phtml

Signed-off-by: Jason <jason.daurus@gmail.com>
This commit is contained in:
Jason 2015-05-20 21:39:27 +08:00
parent c6dfa49e60
commit c6cffd6ef9

View File

@ -102,18 +102,18 @@
if (strstr($tab_column[$t_n]["TYPE"][$j], 'char')
|| strstr($tab_column[$t_n]["TYPE"][$j], 'text')
) {
$type = '_char';
$type .= '_char';
} elseif (strstr($tab_column[$t_n]["TYPE"][$j], 'int')
|| strstr($tab_column[$t_n]["TYPE"][$j], 'float')
|| strstr($tab_column[$t_n]["TYPE"][$j], 'double')
|| strstr($tab_column[$t_n]["TYPE"][$j], 'decimal')
) {
$type = '_int';
$type .= '_int';
} elseif (strstr($tab_column[$t_n]["TYPE"][$j], 'date')
|| strstr($tab_column[$t_n]["TYPE"][$j], 'time')
|| strstr($tab_column[$t_n]["TYPE"][$j], 'year')
) {
$type = '_date';
$type .= '_date';
}
?>
<img src="<?php echo $_SESSION['PMA_Theme']->getImgPath($type); ?>.png" alt="*" />