*Fixbug_sunjun_2583

This commit is contained in:
sunjun
2022-04-28 09:28:46 +00:00
parent ccb5ff6a2f
commit f31739714a
+4 -4
View File
@@ -10,9 +10,9 @@
<?php foreach($tables[$group] as $subTable => $table):?>
<?php
$active = ($table == $selectedTable) ? 'active' : '';
$tableName = zget($lang->dev->tableList, $subTable, $table);
$tableName = zget($lang->dev->tableList, $subTable, '');
?>
<?php echo html::a(inlink('db', "table=$table"), $tableName, '', "class='$active'");?>
<?php if(!empty($tableName)) echo html::a(inlink('db', "table=$table"), $tableName, '', "class='$active'");?>
<?php endforeach;?>
<?php endif;?>
<?php endforeach;?>
@@ -22,9 +22,9 @@
<?php foreach($tables[$group] as $subTable => $table):?>
<?php
$active = ($table == $selectedTable) ? 'active' : '';
$tableName = zget($lang->dev->tableList, $subTable, $table);
$tableName = zget($lang->dev->tableList, $subTable, '');
?>
<?php echo html::a(inlink('db', "table=$table"), $tableName, '', "class='$active'");?>
<?php if(!empty($tableName)) echo html::a(inlink('db', "table=$table"), $tableName, '', "class='$active'");?>
<?php endforeach;?>
<?php endif;?>
<?php endforeach;?>