Unverified Commit f75c9180 authored by Amin.MasterkinG's avatar Amin.MasterkinG Committed by GitHub
Browse files

Correct text when no players are online for Icecrown template.

parent 0c0d4d5c
......@@ -323,7 +323,7 @@ require_once 'header.php'; ?>
echo "<p><span style='color: #005cbf;font-weight: bold;'>{$onerealm['realmname']}</span> <span style='font-size: 12px;'>(Limited to show 49 player - Online players : " . user::get_online_players_count($onerealm['realmid']) . ")</span></p><hr>";
$online_chars = user::get_online_players($onerealm['realmid']);
if (!is_array($online_chars)) {
echo "<span style='color: #0d99e5;'>No have Online player.</span>";
echo "<span style='color: #0d99e5;'>No players are currently online.</span>";
} else {
echo '<table class="table table-dark"><thead><tr><th scope="col">Name</th><th scope="col">Race</th> <th scope="col">Class</th><th scope="col">Level</th></tr></thead><tbody>';
foreach ($online_chars as $one_char) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment