rewriterules - ajout des pages de documentation
This commit is contained in:
parent
16889fb2e4
commit
2c44fe1e51
|
@ -128,7 +128,10 @@ if($currentArena == ""){
|
|||
default:
|
||||
//battle history for this arena
|
||||
$hist=get_battles_history($currentArena);
|
||||
echo '<aside id="history"><h2>Scores</h2>';
|
||||
echo '<aside id="history">
|
||||
<h2>infos:</h2>
|
||||
<a href="/'.$currentArena.'/doc">'.$lang['DEV_DOC_SPECS_LINKS'].'</a>
|
||||
<h2>Scores</h2>';
|
||||
foreach($hist as $sc){
|
||||
echo '<h3>'.$sc['bot1'].' VS '.$sc['bot2'].'</h3>
|
||||
<ul>
|
||||
|
|
|
@ -7,5 +7,6 @@ $lang=array(
|
|||
'VICTORIES' => 'victories',
|
||||
'DRAW' => 'drawn match',
|
||||
'MAKE_DUEL' => 'Organise a duel',
|
||||
'FIGHT' => 'Fight!'
|
||||
'FIGHT' => 'Fight!',
|
||||
'DEV_DOC_SPECS_LINKS' =>'Program your own bot, and send it on this arena. Read tle technicals specifications'
|
||||
);
|
|
@ -10,6 +10,7 @@ $lang=array(
|
|||
'VICTORIES' => 'victoires',
|
||||
'DRAW' => 'matchs nuls',
|
||||
'MAKE_DUEL' => 'Provoquer un duel',
|
||||
'FIGHT' => 'Baston!'
|
||||
'FIGHT' => 'Baston!',
|
||||
'DEV_DOC_SPECS_LINKS' =>'Devellopez votre bot et envoyez le dans cette arène. Voici les spécifications techniques'
|
||||
|
||||
);
|
Loading…
Reference in New Issue
Block a user