Fix database_tables.phtml
Signed-off-by: Jason <jason.daurus@gmail.com>
This commit is contained in:
parent
c6dfa49e60
commit
c6cffd6ef9
@ -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="*" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user