rewriterules - ajout des pages de documentation
This commit is contained in:
parent
16889fb2e4
commit
2c44fe1e51
|
@ -128,7 +128,10 @@ if($currentArena == ""){
|
||||||
default:
|
default:
|
||||||
//battle history for this arena
|
//battle history for this arena
|
||||||
$hist=get_battles_history($currentArena);
|
$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){
|
foreach($hist as $sc){
|
||||||
echo '<h3>'.$sc['bot1'].' VS '.$sc['bot2'].'</h3>
|
echo '<h3>'.$sc['bot1'].' VS '.$sc['bot2'].'</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
@ -7,5 +7,6 @@ $lang=array(
|
||||||
'VICTORIES' => 'victories',
|
'VICTORIES' => 'victories',
|
||||||
'DRAW' => 'drawn match',
|
'DRAW' => 'drawn match',
|
||||||
'MAKE_DUEL' => 'Organise a duel',
|
'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',
|
'VICTORIES' => 'victoires',
|
||||||
'DRAW' => 'matchs nuls',
|
'DRAW' => 'matchs nuls',
|
||||||
'MAKE_DUEL' => 'Provoquer un duel',
|
'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