You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

48 lines
2.0 KiB

#SET{auteur_est_connecte, ''}
#SET{auteur_email, ''}
<BOUCLE_auteur_connecte(AUTEURS){id_auteur = #SESSION{id_auteur}}{statut !IN poubelle}{si #SESSION{id_auteur}}>
#SET{auteur_est_connecte, 'oui'}
#SET{auteur_email, #EMAIL}
<div class="menu-aside menu-aside--user">
<div class="user__shortdesc">
[<a href="#URL_AUTEUR">(#LOGO_AUTEUR|image_reduire{80})</a>]
<strong class="username">#NOM</strong>
</div>
<ul class="user__links list-reset">
<li>
<a href="#URL_AUTEUR"><:galactic_contrib:ma_page:></a>
</li>
<li>
<a href="#URL_LOGOUT" rel="nofollow"><:icone_deconnecter:></a>
</li>
<BOUCLE_admin(CONDITION){si #STATUT|=={0minirezo}}>
<li>
<a href="#URL_ECRIRE" rel="nofollow"><:espace_prive:></a>
</li>
</BOUCLE_admin>
</ul>
</div>
</BOUCLE_auteur_connecte>
<div class="menu-aside menu-aside--action block-link-parent">
<a class="block-link" href="[(#URL_PAGE{login}|parametre_url{url,#SELF}|parametre_url{lang,#LANG})]" onclick="if (jQuery.modalbox) {jQuery.modalbox('[(#URL_PAGE{login}|parametre_url{url,#SELF}|parametre_url{lang,#LANG}|parametre_url{var_zajax,content})]');return false;}">
<:lien_connecter:>
</a>
[(#CHEMIN{images/icone-login.svg}|generer_svg{28,18})]
</div>
<//B_auteur_connecte>
<div class="menu-aside menu-aside--action block-link-parent">
<a class="block-link" href="[(#URL_PAGE{identifiants,focus=nom_inscription}|parametre_url{mode,#URL_SITE_SPIP|tester_config{1comite}}|parametre_url{lang,#LANG})]">
<:contrib:contribution_sincrire|ucfirst:>
</a>
[(#CHEMIN{images/icone-inscrire.svg}|generer_svg{28,18})]
</div>
[<div class="menu-aside menu-aside--lien block-link-parent">
<a class="block-link" href="(#URL_RUBRIQUE{#ID_RUBRIQUE_CARNET})"><:galactic_contrib:wiki:></a>
[(#CHEMIN{images/icone-crayon.svg}|generer_svg{28,18})]
</div>]
<div class="menu-aside menu-aside--lien [ (#ENV{page}|=={auteurs}|oui)actif] block-link-parent">
<a class="block-link" href="#URL_PAGE{auteurs}"><:galactic_contrib:info_auteurs:></a>
[(#CHEMIN{images/icone-users.svg}|generer_svg{28,18})]
</div>