Revert "un lien déconnexion hors Menus en attendant la mise à jour du plugin"

This reverts commit 48a945d808.
This commit is contained in:
chankalan 2024-02-08 18:28:50 +01:00
parent c5166658cc
commit 88ede31afe

View File

@ -17,4 +17,17 @@
<div class="colophon">
<span class="april"><img src="#CHEMIN{images/logo_april_b.png}" alt="logo APRIL" /></span>
#INCLURE{fond=inclure/menu, env, identifiant=pied}
<?php
if (isset($GLOBALS['visiteur_session']['id_auteur']) AND $GLOBALS['visiteur_session']['id_auteur']) {
?><span class="sep"> | </span><a href="#URL_LOGOUT" rel="nofollow"><:icone_deconnecter:></a><?php
if (include_spip('inc/autoriser') AND autoriser('ecrire')){
?><span class="sep"> | </span><a href="#EVAL{_DIR_RESTREINT_ABS}"><:espace_prive:></a>
<span class="sep"> | </span><?php
}
}
else {
?><a href="[(#URL_PAGE{login}|parametre_url{url,#SELF|parametre_url{url,''}})]" rel="nofollow" class='login_modal'><:lien_connecter:></a>
<span class="sep"> | </span><?php
}
?>
</div>