deselect onglet accueil si non selectionné

This commit is contained in:
gnieark 2015-11-30 00:21:17 +01:00
parent 3bf8d8ce55
commit b97e7aa014

View File

@ -88,7 +88,7 @@ if($currentArena == ""){
<h1><?php echo $siteTitle; ?></h1>
<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 == "") && (!isset($_GET['doc']))) echo ' class="selected"'; ?>><?php echo $lang['HOME']; ?></a>
<?php
foreach($arenas as $arena){
if( $arena['id'] == $currentArena){