This commit is contained in:
gnieark 2015-11-29 18:49:45 +01:00
parent 9efe398b6d
commit 84cc05acc8
3 changed files with 5 additions and 3 deletions

View File

@ -5,5 +5,6 @@ $lang=array(
'HOME' => 'Home page',
'VICTORIES' => 'victories',
'DRAW' => 'drawn match',
'MAKE_DUEL' => 'Organise a duel'
'MAKE_DUEL' => 'Organise a duel',
'FIGHT' => 'Fight!'
);

View File

@ -8,6 +8,7 @@ $lang=array(
'HOME' => 'accueil',
'VICTORIES' => 'victoires',
'DRAW' => 'matchs nuls',
'MAKE_DUEL' => 'Provoquer un duel'
'MAKE_DUEL' => 'Provoquer un duel',
'FIGHT' => 'Baston!'
);

View File

@ -40,6 +40,6 @@ if(!$postParams){
?>
</select>
</p>
<p><input type="button" value="Fight!" onclick="tictactoe(document.getElementById('bot1').value,document.getElementById('bot2').value,'<?php echo xd_check_input(2); ?>');"></p>
<p><input type="button" value="<?php echo $lang['FIGHT']; ?>" onclick="tictactoe(document.getElementById('bot1').value,document.getElementById('bot2').value,'<?php echo xd_check_input(2); ?>');"></p>
</article>
<article id="fightResult"></article>