From 08c3856818236acd959733bcb5bc4751fedf0231 Mon Sep 17 00:00:00 2001 From: "real3t@gmail.com" <> Date: Thu, 26 Jul 2018 07:03:38 +0000 Subject: [PATCH] Extraire la partie CopyRight pour pouvoir l'appeler seule --- .gitattributes | 1 + noisettes/footer/footer_ours.html | 4 ++++ noisettes/footer/footer_pied.html | 4 +--- 3 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 noisettes/footer/footer_ours.html diff --git a/.gitattributes b/.gitattributes index 09f4becc..f5df5bf6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -566,6 +566,7 @@ noisettes/footer/footer_modeportail.html -text noisettes/footer/footer_modeportailagence.html -text noisettes/footer/footer_modeportailcognac.html -text noisettes/footer/footer_modeportailevenementiel.html -text +noisettes/footer/footer_ours.html -text noisettes/footer/footer_pied.html -text noisettes/footer/footer_typerubrique_membre.html -text noisettes/footer/participer.html -text diff --git a/noisettes/footer/footer_ours.html b/noisettes/footer/footer_ours.html new file mode 100644 index 00000000..2dd33d6c --- /dev/null +++ b/noisettes/footer/footer_ours.html @@ -0,0 +1,4 @@ + <div id="copymentions"><abbr lang="en" title="Copyright">©</abbr> [(#DATE|annee)][, (#NOM_SITE_SPIP*|sc_supprimer_slogan|propre|supprimer_tags)]<span class="navstuff"> <img src="#CHEMIN{images/1.gif}" alt="" width="1" height="1" /> <BOUCLE_mentionlegale(ARTICLES){titre_mot=MentionsLegales}{!par date}{0,1}{lang}><a href="#ARTICLE_URL">#TITRE</a></BOUCLE_mentionlegale><BOUCLE_mentionlegaleTraductionParDefaut(ARTICLES){titre_mot=MentionsLegales}{!par date}{0,1}{origine_traduction}><a href="#ARTICLE_URL">#TITRE</a></BOUCLE_mentionlegaleTraductionParDefaut><:soyezcreateurs:mentions_legales_obligatoires|propre|ptobr:><//B_mentionlegaleTraductionParDefaut><//B_mentionlegale></span></div> + <div id="droitsauteurs" class="navstuff"> <img src="#CHEMIN{images/1.gif}" alt="" width="1" height="1" /> </div> + <div id="w3cgohome" class="navstuff"><span class="#EDIT{meta-soyezcreateurs/realisation}"><:soyezcreateurs:copyright_realisation:>[(#CONFIG{soyezcreateurs/realisation}|trim|sinon{'<a href="https://www.pyrat.net/" title="Visiter le site du créateur de ce squelette">pyrat.net</a>'}|propre|ptobr)</span>] <img src="#CHEMIN{images/1.gif}" alt="" width="1" height="1" /> <:soyezcreateurs:copyright_spip:>[ <img src="#CHEMIN{images/1.gif}" alt="" width="1" height="1" /> <:soyezcreateurs:copyright_cnil:>(#CONFIG{soyezcreateurs/numero_cnil})]</div> +#FILTRE{mini_html} \ No newline at end of file diff --git a/noisettes/footer/footer_pied.html b/noisettes/footer/footer_pied.html index 9ad00ba8..db21971d 100644 --- a/noisettes/footer/footer_pied.html +++ b/noisettes/footer/footer_pied.html @@ -80,9 +80,7 @@ [<div id="qrcode" class="centrer_div">(#INCLURE{fond=noisettes/sc_qrcode,env})</div>] <div id="footerbas"> - <div id="copymentions"><abbr lang="en" title="Copyright">©</abbr> [(#DATE|annee)][, (#NOM_SITE_SPIP*|sc_supprimer_slogan|propre|supprimer_tags)]<span class="navstuff"> <img src="#CHEMIN{images/1.gif}" alt="" width="1" height="1" /> <BOUCLE_mentionlegale(ARTICLES){titre_mot=MentionsLegales}{!par date}{0,1}{lang}><a href="#ARTICLE_URL">#TITRE</a></BOUCLE_mentionlegale><BOUCLE_mentionlegaleTraductionParDefaut(ARTICLES){titre_mot=MentionsLegales}{!par date}{0,1}{origine_traduction}><a href="#ARTICLE_URL">#TITRE</a></BOUCLE_mentionlegaleTraductionParDefaut><:soyezcreateurs:mentions_legales_obligatoires|propre|ptobr:><//B_mentionlegaleTraductionParDefaut><//B_mentionlegale></span></div> - <div id="droitsauteurs" class="navstuff"> <img src="#CHEMIN{images/1.gif}" alt="" width="1" height="1" /> </div> - <div id="w3cgohome" class="navstuff"><span class="#EDIT{meta-soyezcreateurs/realisation}"><:soyezcreateurs:copyright_realisation:>[(#CONFIG{soyezcreateurs/realisation}|trim|sinon{'<a href="https://www.pyrat.net/" title="Visiter le site du créateur de ce squelette">pyrat.net</a>'}|propre|ptobr)</span>] <img src="#CHEMIN{images/1.gif}" alt="" width="1" height="1" /> <:soyezcreateurs:copyright_spip:>[ <img src="#CHEMIN{images/1.gif}" alt="" width="1" height="1" /> <:soyezcreateurs:copyright_cnil:>(#CONFIG{soyezcreateurs/numero_cnil})]</div> + <INCLURE{fond=noisettes/footer/footer_ours}> </div> [(#CONFIG{soyezcreateurs/positiondatemajsite,bottom}|=={bottom}|oui)<INCLURE{fond=noisettes/datemajsite,class=footer}>] </div><!-- id="footer_inner" --> -- GitLab