Browse Source

J'ai compris comment coder les fichiers de lang ! ;-D

master
cent20@gmail.com 4 years ago
parent
commit
95b70ca41e
  1. 1
      .gitattributes
  2. 18
      article.html
  3. 31
      inclure/footer.html
  4. 6
      lang/html5up_spectral_fr.php
  5. 18
      sommaire.html

1
.gitattributes vendored

@ -98,6 +98,7 @@ images/pic02.jpg -text
images/pic03.jpg -text
images/pic04.jpg -text
images/pic05.jpg -text
inclure/footer.html -text
inclure/head.html -text
/install.log -text
lang/html5up_spectral_fr.php -text

18
article.html

@ -1,9 +1,4 @@
<!DOCTYPE HTML>
<!--
Spectral by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<INCLURE{fond=inclure/head,id_article}>
@ -60,18 +55,7 @@
</article>
<!-- Footer -->
<footer id="footer">
<ul class="icons">
<li><a href="#" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon brands fa-facebook-f"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon brands fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon brands fa-dribbble"><span class="label">Dribbble</span></a></li>
<li><a href="#" class="icon solid fa-envelope"><span class="label">Email</span></a></li>
</ul>
<ul class="copyright">
<li>&copy; Untitled</li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</footer>
<INCLURE{fond=inclure/footer}>
</div>

31
inclure/footer.html

@ -0,0 +1,31 @@
<footer id="footer">
[(#PLUGIN{sociaux}|oui)<INCLURE{fond=inclure/sociaux}>]
<BOUCLE_annee(ARTICLES){par date}{0,1}>[(#DATE|annee|!={#VAL{Y}|date}|oui)[(#DATE|annee)]]</BOUCLE_annee>-</B_annee>
[(#DATE|annee) ] &mdash; #NOM_SITE_SPIP |
<a rel="contents" href="#URL_PAGE{plan}"><:plan_site:></a> |
<?php
if (isset($GLOBALS['visiteur_session']['id_auteur']) AND $GLOBALS['visiteur_session']['id_auteur']) {
?> <a href="#URL_LOGOUT" rel="nofollow"><:icone_deconnecter:></a> |
<?php
if (include_spip('inc/autoriser') AND autoriser('ecrire')) {
?> <a href="#EVAL{_DIR_RESTREINT_ABS}"><:espace_prive:></a>
<?php
}
} else {
?> <a href="[(#URL_PAGE{login}|parametre_url{url,#SELF|parametre_url{url,''}})]" rel="nofollow" class='login_modal'><:lien_connecter:></a>
<?php
}
?>
<br />
<:html5up_spectral:site_realise_avec|attribut_html:><a href="https://www.spip.net/" rel="generator" title="<:site_realise_avec_spip|attribut_html:>" class="spip_out"> SPIP</a>
| <a href="http://html5up.net" title="Spectral | HTML5 UP | by @ajlkn">Design</a> sous licence <a href="https://creativecommons.org/licenses/by/3.0/"> CC BY 3.0</a>
| Porté en <a href="https://contrib.spip.net/Spectral-HTML5UP" title="by cent20">Plugin SPIP</a> sous licence <a href="https://www.gnu.org/licenses/gpl-3.0.html">GNU / GPL</a>
</footer>

6
lang/html5up_spectral_fr.php

@ -15,6 +15,12 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
'cfg_exemple_explication' => 'Explication de cet exemple',
'cfg_titre_parametrages' => 'Paramétrages',
// S
'site_realise_avec' => 'Site réalisé avec',
// T
'titre_page_configurer_html5up_spectral' => 'Configuration du squelette Spectral ( HTML5UP ) pour SPIP',
'theme_graphique_par_html5up' => 'Thème graphique par HTML5 UP',
);

18
sommaire.html

@ -1,9 +1,4 @@
<!DOCTYPE HTML>
<!--
Spectral by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<INCLURE{fond=inclure/head,id_article}>
@ -126,18 +121,7 @@
</section>
<!-- Footer -->
<footer id="footer">
<ul class="icons">
<li><a href="#" class="icon brands fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon brands fa-facebook-f"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon brands fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon brands fa-dribbble"><span class="label">Dribbble</span></a></li>
<li><a href="#" class="icon solid fa-envelope"><span class="label">Email</span></a></li>
</ul>
<ul class="copyright">
<li>&copy; Untitled</li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li>
</ul>
</footer>
<INCLURE{fond=inclure/footer}>
</div>

Loading…
Cancel
Save