rewriterules - ajout des pages de documentation

This commit is contained in:
gnieark 2015-11-29 20:22:12 +01:00
parent 16889fb2e4
commit 2c44fe1e51
3 changed files with 8 additions and 3 deletions

View File

@ -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>

View File

@ -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'
);

View File

@ -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'
);