shorters titles

This commit is contained in:
gnieark 2015-12-10 22:45:59 +01:00
parent f6426bb7e2
commit 33e6798bca

View File

@ -44,7 +44,7 @@ if(isset($_GET['arena'])){
$hist=get_battles_history($currentArena); $hist=get_battles_history($currentArena);
$siteTitle=$currentArenaArr['title']." - bots Arena"; $siteTitle=$currentArenaArr['title'];
$siteDescription=$currentArenaArr['metaDescription']; $siteDescription=$currentArenaArr['metaDescription'];
$mainSectionScript="../src/arenas/".$currentArena."/public.php"; $mainSectionScript="../src/arenas/".$currentArena."/public.php";
$asideSectionContent='<h2>infos:</h2><p>'.$lang['DEV-YOUR-OWN-BOT'].'<br/> <a href="/'.$currentArena.'/doc">'.$lang['DOC_SPECS_LINKS'].'</a></p> $asideSectionContent='<h2>infos:</h2><p>'.$lang['DEV-YOUR-OWN-BOT'].'<br/> <a href="/'.$currentArena.'/doc">'.$lang['DOC_SPECS_LINKS'].'</a></p>
@ -85,7 +85,7 @@ if(isset($_GET['arena'])){
error(404,"Wrong parameter"); error(404,"Wrong parameter");
die; die;
} }
$siteTitle="Specifications ".$currentArenaArr['title']." - bots Arena"; $siteTitle="Specifications ".$currentArenaArr['title'];
$siteDescription="documentation, faites votre propre bot pour ".$currentArenaArr['metaDescription']; $siteDescription="documentation, faites votre propre bot pour ".$currentArenaArr['metaDescription'];
$mainSectionScript="../src/arenas/".$currentArenaArr['id']."/doc-".$lang['lang'].".html"; $mainSectionScript="../src/arenas/".$currentArenaArr['id']."/doc-".$lang['lang'].".html";
$asideSectionContent=''; //to do $asideSectionContent=''; //to do
@ -104,7 +104,7 @@ if(isset($_GET['arena'])){
$jsAdditionalScript=""; $jsAdditionalScript="";
break; break;
case "About": case "About":
$siteTitle="About - bots Arena"; $siteTitle="About";
$siteDescription="bots arena about page"; $siteDescription="bots arena about page";
$mainSectionScript="../src/about.html"; $mainSectionScript="../src/about.html";
$asideSectionContent=''; //to do or not to do $asideSectionContent=''; //to do or not to do
@ -112,7 +112,7 @@ if(isset($_GET['arena'])){
$jsAdditionalScript=""; $jsAdditionalScript="";
break; break;
case "addBot": case "addBot":
$siteTitle="Valider l'ajout d'une IA - bots Arena"; $siteTitle="Valider l'ajout d'une IA";
$siteDescription="bots arena about page"; $siteDescription="bots arena about page";
$permitIndex=false; $permitIndex=false;
$mainSectionScript="../src/addBot.php"; $mainSectionScript="../src/addBot.php";