Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
G
gameauth
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
sucssite
gameauth
Commits
669dd77a
Commit
669dd77a
authored
Oct 08, 2015
by
Stuart John Watson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
php nows displays online correctlly with colouring
parent
f3e9e90a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
games/_manager.php
games/_manager.php
+7
-1
No files found.
games/_manager.php
View file @
669dd77a
...
...
@@ -21,7 +21,13 @@
$elem
=
$matches
[
1
];
$key
=
$matches
[
2
];
$val
=
$thisGame
[
$key
];
if
(
is_array
(
$val
)){
if
(
$key
==
"_online"
){
if
(
$val
){
$val
=
"<span style='color:green'>Online</span>"
;
}
else
{
$val
=
"<span style='color:red'>Offline</span>"
;
}
}
else
if
(
is_array
(
$val
)){
$nVal
=
""
;
foreach
(
$val
as
$e
){
$nVal
.=
"<li>
$e
</li>"
;
...
...
Write
Preview
Markdown
is supported
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