50 lines
2.1 KiB
PHP
50 lines
2.1 KiB
PHP
<div class="fixed">
|
||
<nav class="top-bar" data-topbar role="navigation">
|
||
<ul class="title-area">
|
||
<li class="name">
|
||
<h1><a href="index.php">LibreExpo</a></h1>
|
||
</li>
|
||
<!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
|
||
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
|
||
</ul>
|
||
<!-- menu droit -->
|
||
<section class="top-bar-section">
|
||
<!-- Right Nav Section -->
|
||
<ul class="right">
|
||
<li class="active"><a href="index.php">Home</a></li>
|
||
<li class="has-dropdown"><a href="exposition.php">The Exhibit</a>
|
||
<ul class="dropdown">
|
||
<li><a href="logiciel-libre.php">Qu'est-ce que le logiciel libre ?</a></li>
|
||
<li><a href="enjeux-du-logiciel-libre.php">Les enjeux du Logiciel Libre</a></li>
|
||
<li><a href="logiciel-libre-au-quotidien.php">Les logiciels libres au quotidien</a></li>
|
||
<li><a href="formats-ouverts.php">Les Formats ouverts</a></li>
|
||
<li><a href="logiciels-libres-pour-education.php">Les atouts pour l'éducation</a></li>
|
||
<li><a href="licences-logiciels-libres.php">Licences et cadre juridique</a></li>
|
||
<li><a href="modeles-libres.php">Au-delà du logiciel libre</a></li>
|
||
<li><a href="a-propos-april-et-expolibre.php">À propos de l'April et de l'Expolibre</a></li>
|
||
</ul></li>
|
||
<li><a href="telecharger.php">Download</a></li>
|
||
<li><a href="exposer.php">Exhibit</a></li>
|
||
<li><a href="contact.php">Contact</a></li>
|
||
<li class="has-dropdown"><a href="">Langue</a>
|
||
<ul class="dropdown">
|
||
<?php foreach ($registered_languages as $lang) { ?>
|
||
<?php
|
||
$current_dir= basename (getcwd ());
|
||
if ($current_dir == "htdocs")
|
||
$len= 1;
|
||
else
|
||
$len= 4;
|
||
$link= substr_replace ($_SERVER['REQUEST_URI'], $lang['loc'], 0, $len);
|
||
?>
|
||
<li><a href="<?php echo $link; ?>"><?php echo $lang['name']; ?></a></li>
|
||
<?php } ?>
|
||
</ul>
|
||
</li>
|
||
</ul>
|
||
</section>
|
||
|
||
<!-- fin menu droit -->
|
||
</nav>
|
||
</div>
|