We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -29,7 +29,7 @@ |
||
29 | 29 | |
30 | 30 | // Form to make planet changes |
31 | 31 | $container = create_container('1.6/universe_create_save_processing.php', |
32 | - '1.6/universe_create_sectors.php', $var); |
|
32 | + '1.6/universe_create_sectors.php', $var); |
|
33 | 33 | $template->assign('CreatePlanetsFormHREF', SmrSession::getNewHREF($container)); |
34 | 34 | |
35 | 35 | // HREF to cancel and return to the previous page |
@@ -87,7 +87,7 @@ |
||
87 | 87 | |
88 | 88 | // Form to make location changes |
89 | 89 | $container = create_container('1.6/universe_create_save_processing.php', |
90 | - '1.6/universe_create_sectors.php', $var); |
|
90 | + '1.6/universe_create_sectors.php', $var); |
|
91 | 91 | $template->assign('CreateLocationsFormHREF', SmrSession::getNewHREF($container)); |
92 | 92 | |
93 | 93 | // HREF to cancel and return to the previous page |
@@ -25,7 +25,7 @@ |
||
25 | 25 | $template->assign('SelectedPortRaceID', $selectedPortRaceID); |
26 | 26 | |
27 | 27 | $sectorLocationIDs = array_pad(array_keys($editSector->getLocations()), |
28 | - UNI_GEN_LOCATION_SLOTS, 0); |
|
28 | + UNI_GEN_LOCATION_SLOTS, 0); |
|
29 | 29 | $template->assign('SectorLocationIDs', $sectorLocationIDs); |
30 | 30 | |
31 | 31 | if ($editSector->hasWarp()) { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | // * C o l o r L e g e n d |
29 | 29 | // ********************************* |
30 | 30 | $avail_colors = array('#FFFFFF', '#00FF00', '#FF3377', '#0099FF', |
31 | - '#FF0000', '#0000FF'); |
|
31 | + '#FF0000', '#0000FF'); |
|
32 | 32 | |
33 | 33 | // now assign each account id a color |
34 | 34 | $colors = []; |
@@ -55,9 +55,9 @@ |
||
55 | 55 | function applyHofVisibilityMask($amount, $vis, $gameID, $accountID) { |
56 | 56 | global $account, $player; |
57 | 57 | if (($vis == HOF_PRIVATE && $account->getAccountID() != $accountID) || |
58 | - ($vis == HOF_ALLIANCE && isset($gameID) && |
|
59 | - !SmrGame::getGame($gameID)->hasEnded() && |
|
60 | - !SmrPlayer::getPlayer($accountID, $gameID)->sameAlliance($player))) |
|
58 | + ($vis == HOF_ALLIANCE && isset($gameID) && |
|
59 | + !SmrGame::getGame($gameID)->hasEnded() && |
|
60 | + !SmrPlayer::getPlayer($accountID, $gameID)->sameAlliance($player))) |
|
61 | 61 | { |
62 | 62 | return '-'; |
63 | 63 | } else { |
@@ -3,7 +3,7 @@ |
||
3 | 3 | // Get the dates ("|" sets hr/min/sec to 0) |
4 | 4 | $join = DateTime::createFromFormat('d/m/Y|', $_REQUEST['game_join']); |
5 | 5 | $start = empty($_REQUEST['game_start']) ? $join : |
6 | - DateTime::createFromFormat('d/m/Y|', $_REQUEST['game_start']); |
|
6 | + DateTime::createFromFormat('d/m/Y|', $_REQUEST['game_start']); |
|
7 | 7 | $end = DateTime::createFromFormat('d/m/Y|', $_REQUEST['game_end']); |
8 | 8 | |
9 | 9 | $game = SmrGame::getGame($var['game_id']); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | // Get the dates ("|" sets hr/min/sec to 0) |
19 | 19 | $join = DateTime::createFromFormat('d/m/Y|', $_REQUEST['game_join']); |
20 | 20 | $start = empty($_REQUEST['game_start']) ? $join : |
21 | - DateTime::createFromFormat('d/m/Y|', $_REQUEST['game_start']); |
|
21 | + DateTime::createFromFormat('d/m/Y|', $_REQUEST['game_start']); |
|
22 | 22 | $end = DateTime::createFromFormat('d/m/Y|', $_REQUEST['game_end']); |
23 | 23 | |
24 | 24 | $game = SmrGame::createGame($newID); |
@@ -7,7 +7,7 @@ discard block |
||
7 | 7 | $db->query('SELECT game_id, game_name FROM game WHERE game_type=' . $db->escapeNumber(SmrGame::GAME_TYPE_DRAFT) . ' AND join_time < ' . $db->escapeNumber(TIME) . ' AND end_time > ' . $db->escapeNumber(TIME) . ' ORDER BY start_time DESC'); |
8 | 8 | while ($db->nextRecord()) { |
9 | 9 | $activeGames[] = array('game_name' => $db->getField('game_name'), |
10 | - 'game_id' => $db->getInt('game_id')); |
|
10 | + 'game_id' => $db->getInt('game_id')); |
|
11 | 11 | } |
12 | 12 | $template->assign('ActiveGames', $activeGames); |
13 | 13 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | $db->query('SELECT account_id FROM draft_leaders WHERE game_id=' . $db->escapeNumber($var['selected_game_id'])); |
27 | 27 | while ($db->nextRecord()) { |
28 | 28 | $editor = SmrPlayer::getPlayer($db->getInt('account_id'), |
29 | - $var['selected_game_id']); |
|
29 | + $var['selected_game_id']); |
|
30 | 30 | $currentLeaders[] = $editor->getDisplayName(); |
31 | 31 | } |
32 | 32 | $template->assign('CurrentLeaders', $currentLeaders); |
@@ -7,7 +7,7 @@ |
||
7 | 7 | $db->query('SELECT game_id, game_name FROM game WHERE join_time < ' . $db->escapeNumber(TIME) . ' AND end_time > ' . $db->escapeNumber(TIME) . ' ORDER BY start_time DESC'); |
8 | 8 | while ($db->nextRecord()) { |
9 | 9 | $activeGames[] = array('game_name' => $db->getField('game_name'), |
10 | - 'game_id' => $db->getInt('game_id')); |
|
10 | + 'game_id' => $db->getInt('game_id')); |
|
11 | 11 | } |
12 | 12 | $template->assign('ActiveGames', $activeGames); |
13 | 13 |