mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 09:29:25 +02:00
Script properly updates play date, not build date
Also fixed comments referring to build date.
This commit is contained in:
@@ -111,7 +111,7 @@ function timedRequest()
|
|||||||
" <th title=\"ip\">IPv4 address</th>\n" +
|
" <th title=\"ip\">IPv4 address</th>\n" +
|
||||||
" <th title=\"externalServerPort\">Game protocol port</th>\n" +
|
" <th title=\"externalServerPort\">Game protocol port</th>\n" +
|
||||||
" <th title=\"platform\">Platform</th>\n" +
|
" <th title=\"platform\">Platform</th>\n" +
|
||||||
" <th title=\"binaryCompileDate\">Build date</th>\n" +
|
" <th title=\"lasttime\">Play date</th>\n" +
|
||||||
"</tr>\n";
|
"</tr>\n";
|
||||||
|
|
||||||
// Loop through all json objects
|
// Loop through all json objects
|
||||||
@@ -215,8 +215,8 @@ function timedRequest()
|
|||||||
/// Platform
|
/// Platform
|
||||||
table += "<td>" + escapeHtml(jsonText[i].platform) + "</td>";
|
table += "<td>" + escapeHtml(jsonText[i].platform) + "</td>";
|
||||||
|
|
||||||
/// Binary compilation date
|
/// Play date
|
||||||
table += "<td>" + escapeHtml(jsonText[i].binaryCompileDate) + "</td>";
|
table += "<td>" + escapeHtml(jsonText[i].lasttime) + "</td>";
|
||||||
|
|
||||||
table += "</tr>";
|
table += "</tr>";
|
||||||
|
|
||||||
|
@@ -184,7 +184,7 @@
|
|||||||
// platform
|
// platform
|
||||||
printf( "\t\t\t\t<td>%s</td>%s", htmlspecialchars( $server['platform'], ENT_QUOTES ), PHP_EOL );
|
printf( "\t\t\t\t<td>%s</td>%s", htmlspecialchars( $server['platform'], ENT_QUOTES ), PHP_EOL );
|
||||||
|
|
||||||
// binaryCompileDate
|
// game play time
|
||||||
printf( "\t\t\t\t<td>%s</td>%s", htmlspecialchars( $server['lasttime'], ENT_QUOTES ), PHP_EOL );
|
printf( "\t\t\t\t<td>%s</td>%s", htmlspecialchars( $server['lasttime'], ENT_QUOTES ), PHP_EOL );
|
||||||
|
|
||||||
echo "\t\t\t" . '</tr>' . PHP_EOL;
|
echo "\t\t\t" . '</tr>' . PHP_EOL;
|
||||||
|
Reference in New Issue
Block a user