<nav id="menu-principal" class="navbar navbar-expand-xl navbar-dark fixed-top ">
	<div class="container">
		<a class="navbar-brand" href="[(#URL_PAGE{sommaire})]">[(#LOGO_SITE_SPIP|inserer_attribut{alt, #NOM_SITE_SPIP})]</a>
		<button class="navbar-toggler collapsed" type="button" data-toggle="collapse" data-target="#liste-deroulante" aria-controls="liste-deroulante" aria-expanded="false" aria-label="Toggle navigation">
			<i class="fa fa-bars" aria-hidden="true"></i>
		</button>
		<div class="collapse navbar-collapse" id="liste-deroulante">
			<ul class="navbar-nav ml-auto">
				<li class="nav-item [(#SI_PAGE{sommaire}|oui) active]">
				<a class="nav-link" href="[(#URL_PAGE{sommaire})]">Accueil</a>
				</li>
				<li class="nav-item [(#SI_PAGE{methode}|oui) active]">
					<a class="nav-link" href="[(#URL_PAGE{methode})]">Méthode</a>
				</li>
				<li class="nav-item dropdown [(#SI_PAGE{seminaires}|oui) active]">
					<a class="nav-link dropdown-toggle" href="[(#URL_PAGE{seminaires})]" id="seminairesDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Séminaires</a>
					<div class="dropdown-menu" aria-labelledby="seminairesDropdown">
					<BOUCLE_menu_seminaires(ARTICLES){titre_mot=seminaires}{par rang}>
						<a class="dropdown-item" href="[(#URL_ARTICLE)]">#TITRE</a>
					</BOUCLE_menu_seminaires>
					</div>
				</li>
				<li class="nav-item dropdown [(#SI_PAGE{groupes}|oui) active]">
					<a class="nav-link dropdown-toggle" href="[(#URL_PAGE{groupes})]" id="groupesDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Groupes</a>
					<div class="dropdown-menu" aria-labelledby="groupesDropdown">
					<BOUCLE_menu_groupes(RUBRIQUES){id_parent=#CONFIG{balint/id_rub_groupes}}{par num titre}{tout}>
						<a class="dropdown-item" href="[(#URL_PAGE{groupes}|parametre_url{id_rubrique,#ID_RUBRIQUE})]">#TITRE</a>
					</BOUCLE_menu_groupes>
					</div>
				</li>
				<li class="nav-item dropdown [(#SI_PAGE{mediatheque}|oui) active]">
					<a class="nav-link dropdown-toggle" href="[(#URL_PAGE{mediatheque})]" id="mediasDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Médiathèque</a>
					<div class="dropdown-menu" aria-labelledby="mediasDropdown">
					<BOUCLE_menu_medias(MOTS){id_groupe=#CONFIG{balint/id_mots_medias}}{par id_mot}{tout}>
						<a class="dropdown-item" href="[(#URL_PAGE{mediatheque}|parametre_url{id_mot,#ID_MOT})]">#TITRE</a>
					</BOUCLE_menu_medias>
					</div>
				</li>
				<li class="nav-item [(#SI_PAGE{association}|oui) active]">
					<a class="nav-link" href="[(#URL_PAGE{association})]">L'association</a>
				</li>
				<?php
					if (!isset($GLOBALS['visiteur_session']['statut']) OR $GLOBALS['visiteur_session']['statut']=="6forum") {
				?>
				<li class="nav-item [(#SI_PAGE{forum_discussion}|oui) active]">
					<a class="nav-link" href="[(#URL_PAGE{espace_membre}|parametre_url{rub_forum,#CONFIG{balint/id_rub_forum}})]">Espace membre</a>
				</li>
				<?php
					}
					if (isset($GLOBALS['visiteur_session']['statut']) AND in_array($GLOBALS['visiteur_session']['statut'],['0minirezo','1comite'])) {
				?>
				<li class="nav-item dropdown [(#SI_PAGE{espace_membre}|oui) active]">
					<a class="nav-link dropdown-toggle" href="[(#URL_PAGE{espace_membre})]" id="membresDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Espace membre</a>
					<div class="dropdown-menu" aria-labelledby="membresDropdown">
						<a class="dropdown-item" href="[(#URL_PAGE{espace_membre}|parametre_url{rub_forum,#CONFIG{balint/id_rub_forum}})]">Forum</a>
					<BOUCLE_menu_prive(MOTS){id_groupe=#CONFIG{balint/id_mots_espace_membre}}{par rang}{tout}>
						<a class="dropdown-item" href="[(#URL_PAGE{espace_membre}|parametre_url{id_mot,#ID_MOT})]">#TITRE</a>
					</BOUCLE_menu_prive>
					[(#REM) AUTORISER{voir,forum,#CONFIG{balint/id_rub_forum_prive}}|oui)
						<a class="dropdown-item" href="[(#URL_PAGE{espace_membre}|parametre_url{rub_forum,#CONFIG{balint/id_rub_forum_prive}})]">Échanges entre membres du bureau</a>
					]
					</div>
				</li>	
				<?php } ?>
				<li class="nav-item [(#SI_PAGE{nous-contacter}|oui) active]">
					<a class="nav-link" href="[(#URL_PAGE{nous-contacter})]">Contact</a>
				</li>
			</ul>
		</div>
	</div>
</nav>