From fb10e25f03bc05b916145766359b5c159e1a39a0 Mon Sep 17 00:00:00 2001 From: "real3t@gmail.com" <> Date: Wed, 31 Jul 2019 11:05:43 +0000 Subject: [PATCH] =?UTF-8?q?[SoyezCr=C3=A9ateurs]=20Pouvoir=20d=C3=A9sactiv?= =?UTF-8?q?er=20le=20mode=20d'affichage=20du=20plan=20antichronologique=20?= =?UTF-8?q?dans=20sa=20version=20sous=20forme=20de=20blocs.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- antichrono.html | 2 +- formulaires/configurer_soyezcreateurs.html | 10 +++++++++- lang/soyezcreateursprive_fr.php | 7 +++++-- noisettes/cartouches/cartouche_nouveaute_branche.html | 2 +- noisettes/cartouches/sommaire_cartouche.html | 4 ++-- noisettes/header/cadre_outils.html | 4 ++-- noisettes/sommaire/sommaire_modeactualites.html | 2 +- .../sommaire/sommaire_modecommuniquant_quoi2neuf.html | 2 +- noisettes/sommaire/sommaire_modemairie.html | 2 +- noisettes/sommaire/sommaire_modenews.html | 2 +- noisettes/sommaire/sommaire_modeportail.html | 2 +- noisettes/sommaire_modeportailcognac_quoideneuf.html | 2 +- paquet.xml | 2 +- 13 files changed, 27 insertions(+), 16 deletions(-) diff --git a/antichrono.html b/antichrono.html index 86e2d4a5..c98ef60c 100644 --- a/antichrono.html +++ b/antichrono.html @@ -17,7 +17,7 @@ <ul> <li><a href="#URL_PAGE{plan}" title="<:plan_site|attribut_html:>"><:plan_site:></a></li> <li><strong>[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})] (<:soyezcreateurs:actualite_toutes_arbo:>)</strong></li> - <li><a href="#URL_PAGE{antichrono_grid}">[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})] (<:soyezcreateurs:actualite_toutes_blocs:>)</a></li> + [(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|oui)<li><a href="#URL_PAGE{antichrono_grid}">[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})] (<:soyezcreateurs:actualite_toutes_blocs:>)</a></li>] </ul> </div> <BOUCLE_ExclureRubriquesDuPlan(RUBRIQUES){titre_mot=PasDansPlan}><BOUCLE_ExclureArticlesDuPlan(ARTICLES){branche}{doublons articlesannees}{doublons articlesmois}{doublons articles}{lang} /><BOUCLE_ExclureSitesDuPlan(SITES){branche}{doublons sitesannees}{doublons sitesmois}{doublons sites} /><BOUCLE_ExclureBreveDuPlan(BREVES){id_rubrique}{doublons brevesannees}{doublons brevesmois}{doublons breves}{lang} /></BOUCLE_ExclureRubriquesDuPlan> diff --git a/formulaires/configurer_soyezcreateurs.html b/formulaires/configurer_soyezcreateurs.html index 58a73549..dff022e9 100755 --- a/formulaires/configurer_soyezcreateurs.html +++ b/formulaires/configurer_soyezcreateurs.html @@ -401,14 +401,22 @@ if (!function_exists('sc_ouinon_default')) { defaut=on, explication=<:soyezcreateursprive:cfg_affichage_plan_ex:>} )] + <?php sc_ouinon_default('soyezcreateurs/antichrono_grid_lien'); ?> + [(#SAISIE{oui_non,antichrono_grid_lien, + label=<:soyezcreateursprive:cfg_antichrono_grid_lien_label:>, + defaut=on, + explication=<:soyezcreateursprive:cfg_antichrono_grid_lien_ex:>} + )] + [(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|oui) [(#SAISIE{radio,page_antichrono, label=<:soyezcreateursprive:cfg_page_antichrono:>, datas=#ARRAY{ - antichrono,<:soyezcreateursprive:cfg_page_antichrono_arbo:>, + antichrono,<:soyezcreateursprive:cfg_page_antichrono_liste:>, antichrono_grid,<:soyezcreateursprive:cfg_page_antichrono_blocs:>, }, defaut=antichrono} )] + ] [(#SAISIE{oui_non,nouveauteparbranche, label=<:soyezcreateursprive:cfg_affichage_nouveautes_label:>, defaut=, diff --git a/lang/soyezcreateursprive_fr.php b/lang/soyezcreateursprive_fr.php index f5044e52..b287d7fc 100644 --- a/lang/soyezcreateursprive_fr.php +++ b/lang/soyezcreateursprive_fr.php @@ -51,6 +51,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_anonymatglobal' => 'Anonymat Global', 'cfg_anonymatglobal_ex' => 'Permet de ne pas faire apparaître le nom de l’auteur d’un article', 'cfg_anonymatglobal_label' => 'Anonymat global (peut être réactivé article par article avec le Mot-clef "DévoilerIdentite")', + 'cfg_antichrono_grid_lien_label' => 'Antichrono par bloc actif', + 'cfg_antichrono_grid_lien_ex' => 'Plan antichronologique sous forme de blocs actif ?', 'cfg_apparence_header' => 'Apparence du haut de page', 'cfg_bandeau_annonce' => 'Affichage du bandeau d’annonce', 'cfg_bandeau_contact' => 'Affichage du bandeau de contact', @@ -247,9 +249,10 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'cfg_ordre_quoideneuf_date_modif' => 'Par date inverse de modification', 'cfg_ordre_quoideneuf_label' => 'Classement', 'cfg_page' => 'Page', - 'cfg_page_antichrono' => 'Mode d’affichage du plan antichronologique', - 'cfg_page_antichrono_arbo' => 'Arborescence', + 'cfg_page_antichrono' => 'Mode d’affichage par défaut du plan antichronologique', + 'cfg_page_antichrono_liste' => 'En liste', 'cfg_page_antichrono_blocs' => 'Blocs en grille avec logos', + 'cfg_page_antichrono_listeseule' => 'Seulement en liste (sans lien vers blocs)', 'cfg_pagemargehaute_label' => 'Marge haute', 'cfg_pagemargebasse_label' => 'Marge basse', 'cfg_parametres_addthis' => 'Paramètres AddThis', diff --git a/noisettes/cartouches/cartouche_nouveaute_branche.html b/noisettes/cartouches/cartouche_nouveaute_branche.html index 08c025fd..9d27447f 100644 --- a/noisettes/cartouches/cartouche_nouveaute_branche.html +++ b/noisettes/cartouches/cartouche_nouveaute_branche.html @@ -18,7 +18,7 @@ </BOUCLE_articles_recentsSiUne> </ul> </B_articles_recentsSiUne> - [(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}"><:soyezcreateurs:tousarticlesantichrono:></a></p>] + [(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="[(#URL_PAGE{[(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|?{[(#CONFIG{soyezcreateurs/page_antichrono,antichrono})],antichrono})]})]"><:soyezcreateurs:tousarticlesantichrono:></a></p>] </B_articles_recentsAlaUne> <BOUCLE_Secteurs_Exclus2(RUBRIQUES){titre_mot=SecteurPasDansQuoiDeNeuf}><BOUCLE_Articles_Secteurs_Exclus2(ARTICLES){id_secteur}{doublons} /></BOUCLE_Secteurs_Exclus2> <BOUCLE_Rubriques_Exclues2(RUBRIQUES){titre_mot=PasDansQuoiDeNeuf}><BOUCLE_Articles_Exclus2(ARTICLES){id_rubrique}{doublons}{lang} /></BOUCLE_Rubriques_Exclues2> diff --git a/noisettes/cartouches/sommaire_cartouche.html b/noisettes/cartouches/sommaire_cartouche.html index bc4896bd..df2db1a9 100644 --- a/noisettes/cartouches/sommaire_cartouche.html +++ b/noisettes/cartouches/sommaire_cartouche.html @@ -17,7 +17,7 @@ </BOUCLE_articles_recentsSiUne> </ul> </B_articles_recentsSiUne> - [(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}"><:soyezcreateurs:tousarticlesantichrono:></a></p>] + [(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="[(#URL_PAGE{[(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|?{[(#CONFIG{soyezcreateurs/page_antichrono,antichrono})],antichrono})]})]"><:soyezcreateurs:tousarticlesantichrono:></a></p>] </div> </B_articles_recentsAlaUne> <BOUCLE_Secteurs_Exclus2(RUBRIQUES){titre_mot=SecteurPasDansQuoiDeNeuf}><BOUCLE_Articles_Secteurs_Exclus2(ARTICLES){id_secteur}{doublons} /></BOUCLE_Secteurs_Exclus2> @@ -31,7 +31,7 @@ <li class="#EDIT{titre}[ (#COMPTEUR_BOUCLE|alterner{'odd',''})]"><a href="#ARTICLE_URL" title="[(#DESCRIPTIF|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]">[(#TITRE)]</a></li> </BOUCLE_articles_recents> </ul> -[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}"><:soyezcreateurs:tousarticlesantichrono:></a></p>] +[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="[(#URL_PAGE{[(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|?{[(#CONFIG{soyezcreateurs/page_antichrono,antichrono})],antichrono})]})]"><:soyezcreateurs:tousarticlesantichrono:></a></p>] </div> </B_articles_recents> <//B_articles_recentsAlaUne> diff --git a/noisettes/header/cadre_outils.html b/noisettes/header/cadre_outils.html index 6482be0d..ebfae904 100644 --- a/noisettes/header/cadre_outils.html +++ b/noisettes/header/cadre_outils.html @@ -24,11 +24,11 @@ [ <li id="cadre_outil_instagram"><a href="(#IDENTITE_INSTAGRAM)" title="Instagram"><span class="icon icon-instagram icon-lg texte-blanc"></span><span class="hide">Instagram</span></a></li>] [ <li id="cadre_outil_pinterest"><a href="(#IDENTITE_PINTEREST)" title="Pinterest"><span class="icon icon-pinterest icon-lg texte-blanc"></span><span class="hide">Pinterest</span></a></li>] [ <li id="cadre_outil_viadeo"><a href="(#IDENTITE_VIADEO)" title="Viadeo"><span class="icon icon-viadeo icon-lg texte-blanc"></span><span class="hide">Viadeo</span></a></li>] -[(#PLUGIN{MLL}|oui)[(#CONFIG{soyezcreateurs_layout/pictochangementlangue,icone}|=={icone}|oui) <li id="cadre_outil_language"><a href="#menu_lang" title="Choisir la langue d'affichage du site" class="js-modal" data-modal-prefix-class="sombre" data-modal-focus-id="menu_lang > a:first" data-modal-content-id="cadre_lang" data-modal-close-text="<:ecrire:bouton_fermer:>" - data-modal-close-title="<:ecrire:bouton_fermer:>"><span class="icon icon-language icon-lg texte-blanc"></span><span class="hide">Langues</span></a></li>]] [(#VAL{}|sc_bandeau_contact|oui) <li id="cadre_outil_envelope"><a href="#bandeaucontact" title="<:contact:>"><span class="icon icon-envelope icon-lg texte-blanc"></span><span class="hide"><:contact:></span></a></li>] <li id="cadre_outil_search"><a href="#formulaire_recherche" title="<:soyezcreateurs:accessibilite_recherche:>" class="js-modal" data-modal-prefix-class="sombre" data-modal-focus-id="formulaire_recherche" data-modal-content-id="cadre_recherche" data-modal-close-text="<:ecrire:bouton_fermer:>" data-modal-close-title="<:ecrire:bouton_fermer:>"><span class="icon icon-search icon-lg texte-blanc"></span><span class="hide"><:soyezcreateurs:accessibilite_recherche:></span></a></li> +[(#PLUGIN{MLL}|oui)[(#CONFIG{soyezcreateurs_layout/pictochangementlangue,icone}|=={icone}|oui) <li id="cadre_outil_language"><a href="#menu_lang" title="Choisir la langue d'affichage du site" class="js-modal" data-modal-prefix-class="sombre" data-modal-focus-id="menu_lang > a:first" data-modal-content-id="cadre_lang" data-modal-close-text="<:ecrire:bouton_fermer:>" + data-modal-close-title="<:ecrire:bouton_fermer:>"><span class="icon icon-language icon-lg texte-blanc"></span><span class="hide">Langues</span></a></li>]] [(#PLUGIN{MLL}|oui)[(#CONFIG{soyezcreateurs_layout/pictochangementlangue,icone}|=={texte}|oui)#INCLURE{fond=formulaires/menu_lang,env}]] [(#PLUGIN{ACCESRESTREINT}|oui)<INCLURE{fond=noisettes/accesrestreint/login-logout,env}>] diff --git a/noisettes/sommaire/sommaire_modeactualites.html b/noisettes/sommaire/sommaire_modeactualites.html index 09934e3a..4fa79c8e 100644 --- a/noisettes/sommaire/sommaire_modeactualites.html +++ b/noisettes/sommaire/sommaire_modeactualites.html @@ -99,7 +99,7 @@ <li class="#EDIT{titre}[ (#COMPTEUR_BOUCLE|alterner{'odd',''})]"><a href="#ARTICLE_URL" title="[(#DESCRIPTIF|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]">[(#TITRE)]</a></li> </BOUCLE_articles_QuoideNeuf> </ul> - [(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}"><:soyezcreateurs:tousarticlesantichrono:></a></p>] + [(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="[(#URL_PAGE{[(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|?{[(#CONFIG{soyezcreateurs/page_antichrono,antichrono})],antichrono})]})]"><:soyezcreateurs:tousarticlesantichrono:></a></p>] </div> </B_articles_QuoideNeuf> </div><!-- /col2 --> diff --git a/noisettes/sommaire/sommaire_modecommuniquant_quoi2neuf.html b/noisettes/sommaire/sommaire_modecommuniquant_quoi2neuf.html index 8246d1b6..b3c19bea 100644 --- a/noisettes/sommaire/sommaire_modecommuniquant_quoi2neuf.html +++ b/noisettes/sommaire/sommaire_modecommuniquant_quoi2neuf.html @@ -4,7 +4,7 @@ <BOUCLE_exclus(ARTICLES){titre_mot=PasDansQuoiDeNeuf}{doublons}{lang} /> <B_articles_QuoideNeuf> <div id="homequoideneuf"> -<h2>[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<a href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}" title="<:soyezcreateurs:tousarticlesantichrono|attribut_html:>">][(#CONFIG{soyezcreateurs/texte_quoi2neuf}|sinon{<:soyezcreateurs:quoideneuf:>})][(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)</a>]</h2> +<h2>[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<a href="[(#URL_PAGE{[(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|?{[(#CONFIG{soyezcreateurs/page_antichrono,antichrono})],antichrono})]})]" title="<:soyezcreateurs:tousarticlesantichrono|attribut_html:>">][(#CONFIG{soyezcreateurs/texte_quoi2neuf}|sinon{<:soyezcreateurs:quoideneuf:>})][(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)</a>]</h2> <div class="fond"> <ul> <BOUCLE_articles_QuoideNeuf(ARTICLES) {!par #CONFIG{soyezcreateurs/ordre_quoideneuf,date_modif}}{0,(#CONFIG{soyezcreateurs/nombres_quoideneuf,5})}{doublons}{lang}> diff --git a/noisettes/sommaire/sommaire_modemairie.html b/noisettes/sommaire/sommaire_modemairie.html index 883de239..00827929 100644 --- a/noisettes/sommaire/sommaire_modemairie.html +++ b/noisettes/sommaire/sommaire_modemairie.html @@ -75,7 +75,7 @@ <BOUCLE_Rubriques_Exclues(RUBRIQUES){titre_mot=PasDansQuoiDeNeuf}><BOUCLE_Articles_Exclus(ARTICLES){id_rubrique}{doublons}{lang} /></BOUCLE_Rubriques_Exclues> <BOUCLE_exclus(ARTICLES){titre_mot=PasDansQuoiDeNeuf}{doublons} /> <B_articles_QuoideNeuf> -<h2>[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<a href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}" title="<:soyezcreateurs:tousarticlesantichrono|attribut_html:>">]<:soyezcreateurs:derniereactualites:>[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)</a>]</h2> +<h2>[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<a href="[(#URL_PAGE{[(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|?{[(#CONFIG{soyezcreateurs/page_antichrono,antichrono})],antichrono})]})]" title="<:soyezcreateurs:tousarticlesantichrono|attribut_html:>">]<:soyezcreateurs:derniereactualites:>[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)</a>]</h2> <div class="actualite"> <ul> <BOUCLE_articles_QuoideNeuf(ARTICLES) {!par #CONFIG{soyezcreateurs/ordre_quoideneuf,date_modif}}{0,(#CONFIG{soyezcreateurs/nombres_quoideneuf,5})}{doublons}{lang}> diff --git a/noisettes/sommaire/sommaire_modenews.html b/noisettes/sommaire/sommaire_modenews.html index c914c95e..990106c6 100644 --- a/noisettes/sommaire/sommaire_modenews.html +++ b/noisettes/sommaire/sommaire_modenews.html @@ -50,7 +50,7 @@ </BOUCLE_articles_recents> <//B_articles_recentsAlaUne> -[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}"><:soyezcreateurs:tousarticlesantichrono:></a></p>] +[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="[(#URL_PAGE{[(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|?{[(#CONFIG{soyezcreateurs/page_antichrono,antichrono})],antichrono})]})]"><:soyezcreateurs:tousarticlesantichrono:></a></p>] </div><!-- Fin de LeTexte --> </main> diff --git a/noisettes/sommaire/sommaire_modeportail.html b/noisettes/sommaire/sommaire_modeportail.html index 18f4a940..4f5e1116 100644 --- a/noisettes/sommaire/sommaire_modeportail.html +++ b/noisettes/sommaire/sommaire_modeportail.html @@ -100,7 +100,7 @@ <li[(#COMPTEUR_BOUCLE|alterner{' class="odd"',''})]><a href="#ARTICLE_URL" title="[(#DESCRIPTIF|supprimer_tags|attribut_html)][ ((#INCLURE{fond=noisettes/aff_datepublication,id_article}|supprimer_tags))]">[(#TITRE)]</a></li> </BOUCLE_articles_QuoideNeuf> </ul> -[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}"><:soyezcreateurs:tousarticlesantichrono:></a></p>] +[(#CONFIG{soyezcreateurs/affichage_lien_antichrono,on}|=={on}|oui)<p><a href="[(#URL_PAGE{[(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|?{[(#CONFIG{soyezcreateurs/page_antichrono,antichrono})],antichrono})]})]"><:soyezcreateurs:tousarticlesantichrono:></a></p>] </div> </B_articles_QuoideNeuf> diff --git a/noisettes/sommaire_modeportailcognac_quoideneuf.html b/noisettes/sommaire_modeportailcognac_quoideneuf.html index 4232dfae..6332c3fb 100644 --- a/noisettes/sommaire_modeportailcognac_quoideneuf.html +++ b/noisettes/sommaire_modeportailcognac_quoideneuf.html @@ -12,7 +12,7 @@ </div> </div> <div class="text-center avec-margin-top avec-margin-bottom"> - <a class="button texte-blanc triadeA" href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}">[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})]</a> + <a class="button texte-blanc triadeA" href="[(#URL_PAGE{[(#CONFIG{soyezcreateurs/antichrono_grid_lien,on}|=={on}|?{[(#CONFIG{soyezcreateurs/page_antichrono,antichrono})],antichrono})]})]">[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})]</a> </div> </div> <!-- fin ACTUS --> diff --git a/paquet.xml b/paquet.xml index 206ed6a3..66cb037d 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@ <paquet prefix="soyezcreateurs" categorie="squelette" - version="5.0.69" + version="5.0.70" etat="stable" compatibilite="[3.1.8;3.2.*]" logo="img_pack/soyezcreateurs_48.png" -- GitLab