feat: update game interface to support planet pictures

This commit is contained in:
Emmanuel BENOîT 2024-12-31 19:53:17 +01:00
parent 4d48fba21b
commit da42f6db52
Signed by: Emmanuel BENOîT
SSH key fingerprint: SHA256:l7PFUUF5TCDsvYeQC9OnTNz08dFY7Fvf4Hv3neIqYpg
10 changed files with 28 additions and 15 deletions
scripts/site/beta5

View file

@ -115,7 +115,8 @@ class page_layout {
// JavaScript variables (static access URL, color, etc...)
$jsConf = "var staticurl=\"".config::$main['staticurl']
. "\";\nvar color=\"$col\";\nvar ttFontSize = '" . ($fs + 9) . "px';\n"
. "var ttDelay = " . ($tt * 500) . ";\n";
. "var ttDelay = " . ($tt * 500) . ";\nvar gameId = \""
. input::$game->name . "\";\n";
// AJAX-specified initialization code
if (ajax::$init != "" || $tt) {