Skip to content

Commit

Permalink
Merge pull request #921 from Rushaway/space-search
Browse files Browse the repository at this point in the history
Add space between the numbers of ban/comms and the search text
  • Loading branch information
Hackmastr committed Aug 29, 2023
2 parents d07c923 + e6c8703 commit c97cf4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/pages/page.banlist.php
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ function setPostKey()
$data['mod_icon'] = '<img src="images/games/' . $modicon . '" alt="MOD" border="0" align="absmiddle" />&nbsp;' . $data['country'];

if ($res->fields['history_count'] > 1) {
$data['prevoff_link'] = $res->fields['history_count'] . " " . CreateLinkR("(search)", "index.php?p=banlist&searchText=" . ($data['type'] == 0 ? $data['steamid'] : $res->fields['ban_ip']) . "&Submit");
$data['prevoff_link'] = $res->fields['history_count'] . " " . CreateLinkR("&nbsp;(search)", "index.php?p=banlist&searchText=" . ($data['type'] == 0 ? $data['steamid'] : $res->fields['ban_ip']) . "&Submit");
} else {
$data['prevoff_link'] = "No previous bans";
}
Expand Down
2 changes: 1 addition & 1 deletion web/pages/page.commslist.php
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ function setPostKey()
$data['mod_icon'] = '<img src="images/games/' . $modicon . '" alt="MOD" border="0" align="absmiddle" />&nbsp;' . $data['type_icon'];

if ($history_count > 1) {
$data['prevoff_link'] = $history_count . " " . CreateLinkR("(search)", "index.php?p=commslist&searchText=" . $data['steamid'] . "&Submit");
$data['prevoff_link'] = $history_count . " " . CreateLinkR("&nbsp;(search)", "index.php?p=commslist&searchText=" . $data['steamid'] . "&Submit");
} else {
$data['prevoff_link'] = "No previous blocks";
}
Expand Down

0 comments on commit c97cf4a

Please sign in to comment.