fix languages links
This commit is contained in:
parent
24b3fe490b
commit
6109d9513e
|
@ -245,7 +245,12 @@ if (isset($_POST['xd_check'])){
|
|||
<body>
|
||||
<header>
|
||||
<h1><?php echo $siteTitle; ?></h1>
|
||||
<nav id="languages"><a href="<?php echo $currentArena; ?>-fr">fr</a> <a href="<?php echo $currentArena; ?>-en">en</a></nav>
|
||||
<?php
|
||||
if(isset($_GET['doc'])){
|
||||
echo '<nav id="languages"><a href="/'.$currentArena.'/doc-fr">fr</a> <a href="/'.$currentArena.'/doc-en">en</a></nav>';
|
||||
}else{
|
||||
echo '<nav id="languages"><a href="/'. $currentArena.'-fr">fr</a> <a href="/'.$currentArena.'-en">en</a></nav>';
|
||||
}
|
||||
<nav id="menus"><a href="/"<?php if(($currentArena == "") && (!isset($_GET['doc']))) echo ' class="selected"'; ?>><?php echo $lang['HOME']; ?></a>
|
||||
<?php
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user