Expolibre-3-www/htdocs/en/banniere.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">What is Free/Libre Software?</a></li>
<li><a href="enjeux-du-logiciel-libre.php">What is at stake with Free Software</a></li>
<li><a href="logiciel-libre-au-quotidien.php">Free/Libre Software in daily life</a></li>
<li><a href="formats-ouverts.php">Open Formats</a></li>
<li><a href="logiciels-libres-pour-education.php">The advantages of Free Software in education</a></li>
<li><a href="licences-logiciels-libres.php">Free licenses, the legal framework of Free Software</a></li>
<li><a href="modeles-libres.php">Beyond Free Software</a></li>
<li><a href="a-propos-april-et-expolibre.php">About April and LibreExpo</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="">Language</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>