root/trunk/language/en/mods/help_arcade.php

721746
114
		1 => 'The game scoretype is set incorrectly for that game.  If you view the arcade error log in the ACP you should see the game.  Look for an error type of
"Stored and submitted game type do not match". Here you will see the game scoretype (correct) and submitted game scoretype (wrong).  Edit the game to
set the correct game scoretype.',
114
		1 => 'The game scoretype is set incorrectly for that game.  If you view the arcade error log in the ACP you should see the game.  Look for an error type of
"Stored and submitted game type do not match". Here you will see the game scoretype (correct) and submitted game scoretype (wrong).  Edit the game to
set the correct game scoretype.',
115
	),
115
	),
116
	array(
116
	array(
117
		0 => 'Why can\'t guests submit scores when the have the correct permissions?',
117
		0 => 'Why can\'t guests submit scores even though they have the correct permissions?',
118
		1 => 'Even if you give the guest usergroup the correct permission they cannot submit scores to the arcade.  This is by design.',
118
		1 => 'Even if you give the guest usergroup the correct permission they cannot submit scores to the arcade.  This is by design.',
119
	),
119
	),
120
	array(
120
	array(
...
...
429
	// Start of Lastest highscores
429
	// Start of Lastest highscores
430
	foreach($arcade->latest_highscores as $latest_highscore)
430
	foreach($arcade->latest_highscores as $latest_highscore)
431
	{
431
	{
432
		$last_scoregame = \'<a href="\' . append_sid("arcade.$phpEx?mode=play&amp;g=" . $latest_highscore[\'game_id\']) . \'">\' . $latest_highscore[\'game_name\'] . \'</a>\';
432
		$latest_scoreuser = $arcade->get_username_string(\'full\', $latest_highscore[\'game_highuser\'], $latest_highscore[\'username\'], $latest_highscore[\'user_colour\']);
433
		$last_scoregame_fixed = \'<a href="\' . append_sid("arcade.$phpEx?mode=play&amp;g=" . $latest_highscore[\'game_id\']) . \'" class="tooltip">\' . $latest_highscore[\'game_name\'] . \'<span>\' . $user->format_date($latest_highscore[\'game_highdate\']) . \'</span></a>\'; 
433
		$latest_score = sprintf($user->lang[\'ARCADE_WELCOME_SCORE\'], $arcade->number_format($latest_highscore[\'game_highscore\']), $user->format_date($latest_highscore[\'game_highdate\']));
434
		$last_scoreuser = $arcade->get_username_string(\'full\', $latest_highscore[\'game_highuser\'], $latest_highscore[\'username\'], $latest_highscore[\'user_colour\']);
434
		$game_url = \'<a href="\' . append_sid("arcade.$phpEx?mode=play&amp;g=" . $latest_highscore[\'game_id\']) . \'">\' . $latest_highscore[\'game_name\'] . \'</a>\';
435
		$last_score = $arcade->number_format($latest_highscore[\'game_highscore\']);
435
		$game_url_tooltip = \'<a href="\' . append_sid("arcade.$phpEx?mode=play&amp;g=" . $latest_highscore[\'game_id\']) . \'" class="tooltip">\' . $latest_highscore[\'game_name\'] . \'<span class="aheader">\' . $latest_score . \'</span></a>\';
436
436
437
		$template->assign_block_vars(\'latest_scores\', array(
437
		$template->assign_block_vars(\'latest_scores\', array(
438
			\'HEADING_CHAMP\' 			=> sprintf($user->lang[\'ARCADE_WELCOME_CHAMP\'], $last_scoreuser, $last_scoregame, $last_score),
438
			\'HEADING_CHAMP\' 				=> sprintf($user->lang[\'ARCADE_WELCOME_CHAMP\'], $latest_scoreuser, $game_url),
439
			\'HEADING_CHAMP_FIXED\' 		=> sprintf($user->lang[\'ARCADE_WELCOME_CHAMP\'], $last_scoreuser, $last_scoregame_fixed, $last_score),
439
			\'HEADING_CHAMP_SCORE\'			=> $latest_score,
440
			\'HEADING_DATE\' 				=> $user->format_date($latest_highscore[\'game_highdate\']),
440
			\'HEADING_CHAMP_TOOLTIP\' 		=> sprintf($user->lang[\'ARCADE_WELCOME_CHAMP\'], $latest_scoreuser, $game_url_tooltip),
441
		));
441
		));
442
	}
442
	}
443
	// End Lastest Highscores
443
	// End Lastest Highscores
...
...
457
			<!-- IF .latest_scores -->
457
			<!-- IF .latest_scores -->
458
				<ul>
458
				<ul>
459
			<!-- BEGIN latest_scores -->
459
			<!-- BEGIN latest_scores -->
460
					<li><span style="float: right;">{latest_scores.HEADING_DATE}</span>{latest_scores.HEADING_CHAMP}</li>
460
					<li>{latest_scores.HEADING_CHAMP}</li>
461
			<!-- END latest_scores -->
461
			<!-- END latest_scores -->
462
				</ul>
462
				</ul>
463
			<!-- ELSE -->
463
			<!-- ELSE -->