languages url

This commit is contained in:
Gnieark 2015-11-28 18:24:49 +01:00
parent 0ab271fe17
commit 75456cd6bb

View File

@ -86,7 +86,8 @@ if($currentArena == ""){
<body> <body>
<header> <header>
<h1><?php echo $siteTitle; ?></h1> <h1><?php echo $siteTitle; ?></h1>
<nav id="languages"><a href="-fr">fr</a>&nbsp;<a href="-en">en</a></nav>
<nav id="languages"><a href="<?php echo $currentArena; ?>-fr">fr</a>&nbsp;<a href="<?php echo $currentArena; ?>-en">en</a></nav>
<nav id="menus"><a href="/"<?php if($currentArena == "") echo ' class="selected"'; ?>><?php echo $lang['HOME']; ?></a> <nav id="menus"><a href="/"<?php if($currentArena == "") echo ' class="selected"'; ?>><?php echo $lang['HOME']; ?></a>
<?php <?php
foreach($arenas as $arena){ foreach($arenas as $arena){