diff --git a/html/index.php b/html/index.php index 6683c23..d1ed15e 100644 --- a/html/index.php +++ b/html/index.php @@ -54,6 +54,14 @@ if (isset($_POST['xd_check'])){ } } +//title +if($currentArena == ""){ + $siteTitle = $lang['SITE_NAME']; + +}else{ + $siteTitle=$currentArenaArr['title']; +} + ?> @@ -62,15 +70,18 @@ if (isset($_POST['xd_check'])){ - - - - - + + + + <?php echo $siteTitle; ?> +
+

'Artificials Intelligences\' arena', + 'SITE_NAME' => 'bots\'arena', 'SITE_DESCRIPTION' => 'blah blah blah but english', 'HOME' => 'Home page' ); \ No newline at end of file diff --git a/lang/fr.php b/lang/fr.php index 26a686a..dc15bb5 100644 --- a/lang/fr.php +++ b/lang/fr.php @@ -1,6 +1,6 @@ 'Arène pour intelligences (ou persque) artificielles', + 'SITE_NAME' => 'Arène à bots', 'SITE_DESCRIPTION' => 'blah blah blah mais en francais', 'HOME' => 'accueil' ); \ No newline at end of file