Skip to content

Commit

Permalink
Merge branch 'lgsl7' of https://github.com/tltneon/lgsl into lgsl7
Browse files Browse the repository at this point in the history
  • Loading branch information
tltneon committed Jan 25, 2025
2 parents b1fd44e + c6ec9b6 commit 6d8c75c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/languages/romanian.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
$lgsl_config['text']['mpg'] = "PAGINA PRINCIPALĂ";

/* admin section */
$lgsl_config['text']['tzn'] = "m/d/Y H:i:s";
$lgsl_config['text']['tzn'] = "d/m/Y H:i:s";
$lgsl_config['text']['umn'] = "UTILIZATOR";
$lgsl_config['text']['pwd'] = "PAROLA";
$lgsl_config['text']['lgn'] = "Conectare";
Expand Down
10 changes: 5 additions & 5 deletions userbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ function drawHistory(&$im, $x, $y, $w, $h, &$server) {

imagettftext($im, 10, 0, 62, 19, $color_nm, $font, /* name */ $server->getName(true));
imagettftext($im, 8, 0, 62, 32, $color_ip, $font, /* ip&port */ str_replace('https://', '', $link));
imagettftext($im, 7, 0, 154, 47, $color_mp, $font, /* map */ "{$lgsl_config['text']['map']}:{$server->getMap()}");
imagettftext($im, 7, 0, 62, 48, $color_pl, $font, /* players */ "{$lgsl_config['text']['plr']}:{$server->getPlayersCount()}{$max}");
imagettftext($im, 7, 0, 154, 47, $color_mp, $font, /* map */ "{$lgsl_config['text']['map']}: {$server->getMap()}");
imagettftext($im, 7, 0, 62, 48, $color_pl, $font, /* players */ "{$lgsl_config['text']['plr']}: {$server->getPlayersCount()}{$max}");
imagettftext($im, 7, 0, 62, 59, $color_tm, $font, /* game */ ucfirst($server->getGame()));
imagettftext($im, 7, 0, 238, 59, $color_tm, $font, /* updated */ "upd:{$time} /{$server->getGame()}");

Expand Down Expand Up @@ -212,11 +212,11 @@ function drawHistory(&$im, $x, $y, $w, $h, &$server) {
imagecopy($im, $on_id, 7, 2, 0, 0, 16, 16); // place status icon
imagecopy($im, $game_id, 25, 2, 0, 0, 16, 16); // place game icon

imagettftext($im, 7, 0, 43, 17, $color_mp, $font, /* map */ "{$lgsl_config['text']['map']}:{$map}");
imagettftext($im, 7, 0, 43, 17, $color_mp, $font, /* map */ "{$lgsl_config['text']['map']}: {$map}");
imagettftext($im, 7, 0, 43, 9, $color_ip, $font, /* ip&port */ str_replace('https://', '', $link));
imagettftext($im, 8, 0, 156, 9, $color_nm, $font, /* name */ $server->getName(false));
imagettftext($im, 7, 0, 156, 17, $color_pl, $font, /* players */ "{$lgsl_config['text']['plr']}:{$server->getPlayersCount()}{$max}");
imagettftext($im, 5, 0, 238, 18, $color_tm, $font, /* updated */ "upd:{$time} /{$server->getGame()}");
imagettftext($im, 7, 0, 156, 17, $color_pl, $font, /* players */ "{$lgsl_config['text']['plr']}: {$server->getPlayersCount()}{$max}");
imagettftext($im, 5, 0, 238, 18, $color_tm, $font, /* updated */ "upd: {$time} / {$server->getGame()}");
}
}

Expand Down

0 comments on commit 6d8c75c

Please sign in to comment.