@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | //Game names can only be 40 chars long |
| 271 | 271 | if (strlen($sql_game_search['game_name']) > 40) { |
| 272 | 272 | $game_name = substr($sql_game_search['game_name'], 0, 40); |
| 273 | - $game_name = $game_name . '...'; |
|
| 273 | + $game_name = $game_name.'...'; |
|
| 274 | 274 | } else { |
| 275 | 275 | $game_name = $sql_game_search['game_name']; |
| 276 | 276 | } |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | //publishers can only be 18 chars long |
| 279 | 279 | if ($sql_game_search['publisher_name'] !== null && strlen($sql_game_search['publisher_name']) > 18) { |
| 280 | 280 | $pub_name = substr($sql_game_search['publisher_name'], 0, 18); |
| 281 | - $pub_name = $pub_name . '...'; |
|
| 281 | + $pub_name = $pub_name.'...'; |
|
| 282 | 282 | } else { |
| 283 | 283 | $pub_name = $sql_game_search['publisher_name']; |
| 284 | 284 | } |
@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | //developers can only be 18 chars long |
| 287 | 287 | if ($sql_game_search['developer_name'] !== null && strlen($sql_game_search['developer_name']) > 18) { |
| 288 | 288 | $dev_name = substr($sql_game_search['developer_name'], 0, 18); |
| 289 | - $dev_name = $dev_name . '...'; |
|
| 289 | + $dev_name = $dev_name.'...'; |
|
| 290 | 290 | } else { |
| 291 | 291 | $dev_name = $sql_game_search['developer_name']; |
| 292 | 292 | } |
@@ -312,10 +312,10 @@ discard block |
||
| 312 | 312 | $smarty->assign("user_id", $_SESSION['user_id']); |
| 313 | 313 | |
| 314 | 314 | //Send all smarty variables to the templates |
| 315 | - $smarty->display("file:" . $cpanel_template_folder . "games/ajax_game_search.html"); |
|
| 315 | + $smarty->display("file:".$cpanel_template_folder."games/ajax_game_search.html"); |
|
| 316 | 316 | } else { |
| 317 | 317 | // If there are no search results |
| 318 | 318 | $smarty->assign("nr_of_games", 'none'); |
| 319 | - $smarty->display("file:" . $cpanel_template_folder . "games/ajax_game_search.html"); |
|
| 319 | + $smarty->display("file:".$cpanel_template_folder."games/ajax_game_search.html"); |
|
| 320 | 320 | } |
| 321 | 321 | } |