Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
entrix
WoWSimpleRegistration
Commits
0c0d4d5c
Unverified
Commit
0c0d4d5c
authored
Jun 28, 2020
by
Amin.MasterkinG
Committed by
GitHub
Jun 28, 2020
Browse files
Correct text when no players are online for Kaelthas theme
parent
5dd8777e
Changes
1
Hide whitespace changes
Inline
Side-by-side
template/kaelthas/tpl/main.php
View file @
0c0d4d5c
...
...
@@ -308,7 +308,7 @@ require_once 'header.php'; ?>
echo
"<p><span style='color: #F1A40F;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: #F1A40F;'>No
have Online player
.</span>"
;
echo
"<span style='color: #F1A40F;'>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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment