* added player status to tibiacom top 5 highscores box

* fix when there are no changelogs or highscores yet
This commit is contained in:
slawkens1
2018-01-03 21:27:47 +01:00
parent e6d2e363d5
commit 3fcbd42445
4 changed files with 24 additions and 9 deletions

View File

@@ -228,8 +228,10 @@ echo '
$show_link_to_next_page = true;
}
if(!$i)
echo '<tr bgcolor="' . $config['darkborder'] . '"><td colspan="' . ($skill == POT::SKILL__LEVEL ? 5 : 4) . '">No records yet.</td></tr>';
if(!$i) {
$extra = ($config['highscores_outfit'] ? 1 : 0);
echo '<tr bgcolor="' . $config['darkborder'] . '"><td colspan="' . ($skill == POT::SKILL__LEVEL ? 5 + $extra : 4 + $extra) . '">No records yet.</td></tr>';
}
?>
</table>