Browse Source

Strcutre ZCore : on n'oublie pas le footer

master
jeanmarie 1 year ago
parent
commit
11edfcbc97
2 changed files with 38 additions and 3 deletions
  1. +1
    -3
      body.html
  2. +37
    -0
      footer/dist.html

+ 1
- 3
body.html View File

@ -17,9 +17,7 @@
<!-- Footer -->
<footer id="footer" class="wrapper style1-alt">
<div class="inner">
<ul class="menu">
<li>&copy; Untitled. All rights reserved.</li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
<INCLURE{fond=footer/#ENV{type-page},env} />
</div>
</footer>


+ 37
- 0
footer/dist.html View File

@ -0,0 +1,37 @@
<footer id="footer" class="wrapper style1-alt">
<div class="inner">
[(#PLUGIN{menus}|oui)<INCLURE{fond=inclure/menu, env, identifiant=pied} />]
<ul class="menu-liste menu-items menu">
<li class="menu-entree item">
<BOUCLE_annee(ARTICLES){par date}{0,1}>[(#DATE|annee|!={#VAL{Y}|date}|oui)[(#DATE|annee)]]</BOUCLE_annee>-</B_annee>
<span>[(#DATE|annee) ] &mdash; #NOM_SITE_SPIP</span>
</li>
<li class="menu-entree item"><a rel="contents" href="#URL_PAGE{plan}"><:plan_site:></a></li>
<?php
if (isset($GLOBALS['visiteur_session']['id_auteur']) AND $GLOBALS['visiteur_session']['id_auteur']) {
?>
<li class="menu-entree item"><a href="#URL_LOGOUT" rel="nofollow"><:icone_deconnecter:></a></li>
<?php
if (include_spip('inc/autoriser') AND autoriser('ecrire')) {
?>
<li class="menu-entree item"><a href="#EVAL{_DIR_RESTREINT_ABS}"><:espace_prive:></a></li>
<?php
}
} else {
?>
<li class="menu-entree item"><a href="[(#URL_PAGE{login}|parametre_url{url,#SELF|parametre_url{url,''}})]" rel="nofollow" class='login_modal'><:lien_connecter:></a></li>
<?php
}
?>
<li class="menu-entree item"><a href="https://html5up.net/" title="<:html5up_forty:theme_graphique_par_html5up|attribut_html:>" class="spip_out">HTML5 UP</a></li>
<li class="menu-entree item">
<small class="generator">
<a href="https://www.spip.net/" rel="generator" title="<:site_realise_avec_spip|attribut_html:>" class="spip_out">
[<img src="(#CHEMIN{images/spip.svg})" alt="SPIP" width="16" height="16" />]
</a>
</small>
</li>
</ul>
</nav>
</footer>

Loading…
Cancel
Save