Skip to content

Commit

Permalink
core lgsl fix - to be able to use userbar.php with sef-urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmi08 committed Jan 6, 2024
1 parent 20aa272 commit c7537a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lgsl_files/lgsl_details.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
$server = lgsl_sort_players($server);
$server = lgsl_sort_extras($server);
$misc = lgsl_server_misc($server);
$server = lgsl_server_html($server);
// $server = lgsl_server_html($server);

//------------------------------------------------------------------------------------------------------------+

Expand Down Expand Up @@ -94,7 +94,7 @@
$output .= "<div class='spacer'></div>";

//------------------------------------------------------------------------------------------------------------+

if (extension_loaded('gd')) {
$g = "ip={$server['b']['ip']}&port={$server['b']['c_port']}";
if ($lgsl_config['history']) {
Expand All @@ -109,13 +109,13 @@
{$lgsl_config['text']['cts']}
</summary>
<div>
<div style='overflow-x: auto;'><img src='userbar.php?{$g}' alt='{$server["s"]["name"]}'/></div>
<div style='overflow-x: auto;'><img src='{$p}userbar.php?{$g}' alt='{$server["s"]["name"]}'/></div>
<textarea onClick='this.select();'>[url={$p}?{$g}][img]{$p}userbar.php?{$g}[/img][/url]</textarea><br><br>
<div style='overflow-x: auto;'><img src='userbar.php?{$g}&t=2' alt='{$server["s"]["name"]}'/></div>
<div style='overflow-x: auto;'><img src='{$p}userbar.php?{$g}&t=2' alt='{$server["s"]["name"]}'/></div>
<textarea onClick='this.select();'>[url={$p}?{$g}][img]{$p}userbar.php?{$g}&t=2[/img][/url]</textarea><br><br>
<img src='userbar.php?{$g}&t=3' alt='{$server["s"]["name"]}'/><br>
<img src='{$p}userbar.php?{$g}&t=3' alt='{$server["s"]["name"]}'/><br>
<textarea onClick='this.select();'>[url={$p}?{$g}][img]{$p}userbar.php?{$g}&t=3[/img][/url]</textarea>
</div>
</details>
Expand Down

0 comments on commit c7537a2

Please sign in to comment.