diff --git a/.gitattributes b/.gitattributes index e10f8b6314f79cc2e70b8db1ca6c2ac1296cf353..eb6f192aff45c09255afd22fe48e81db2a29e528 100644 --- a/.gitattributes +++ b/.gitattributes @@ -794,6 +794,7 @@ noisettes/navigation/ads_search.html -text noisettes/navigation/frmrechercheparmots.html -text noisettes/navigation/inc_frmabonnement_mailsubscriber.html -text noisettes/navigation/nuagedemotcle.html -text +noisettes/plan/inc_antichrono.html -text noisettes/plan/inc_antichrono_grid.html -text noisettes/plan/inc_plan_articles_liste.html -text noisettes/plan/plan.html -text diff --git a/antichrono.html b/antichrono.html index 30c6923d745a235889cf2702c36dd6c6607bdc38..373b35ed4e867fe3dd00fb413e3cf2264bc3c6a0 100644 --- a/antichrono.html +++ b/antichrono.html @@ -13,7 +13,13 @@ </div> ] <div id="letexte"> -<div class="chapo"><p><:soyezcreateurs:voirle:> <a href="#URL_PAGE{plan}" title="<:plan_site|attribut_html:>"><:plan_site:></a> ou <a href="#URL_PAGE{antichrono_grid}">[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})] (<:soyezcreateurs:actualite_toutes_blocs:>)</a></p></div> + <div class="onglets"> + <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> + </ul> + </div> <BOUCLE_ExclureRubriquesDuPlan(RUBRIQUES){titre_mot=PasDansPlan}><BOUCLE_ExclureArticlesDuPlan(ARTICLES){id_rubrique}{doublons articlesannees}{doublons articlesmois}{doublons articles}{lang} /><BOUCLE_ExclureBreveDuPlan(BREVES){id_rubrique}{doublons brevesannees}{doublons brevesmois}{doublons breves}{lang} /></BOUCLE_ExclureRubriquesDuPlan> <BOUCLE_ExclureArticlesDuPlan2(ARTICLES){titre_mot=PasDansPlan}{doublons articlesannees}{doublons articlesmois}{doublons articles}{lang} /> #SET{listeliens,#ARRAY} @@ -72,56 +78,12 @@ </BOUCLE_AnneeSites> </B_AnneeSites> -<BOUCLE_Min2anness(DATA) - {source table,#GET{listeliens}} - {!par date} - {fusion year} - {1,1} - > </BOUCLE_Min2anness> -<div id='sommaire'><h2><:soyezcreateurs:sommaire:></h2> - <B_Sommaire> - <ul> - <BOUCLE_Sommaire(DATA) - {source table,#GET{listeliens}} - {!par date} - {fusion year} - > - <li><a href="#annee_#YEAR">#YEAR</a></li> - </BOUCLE_Sommaire> - </ul> - </B_Sommaire> -</div> -</B_Min2anness> - - -<B_AnneeObjet> - <BOUCLE_AnneeObjet(DATA) - {source table,#GET{listeliens}} - {!par date} - {fusion year} - > - <B_ListeMois> - <h2 id="annee_#YEAR">[(#YEAR)]</h2> - <BOUCLE_ListeMois(DATA) - {liste 12,11,10,9,8,7,6,5,4,3,2,1} - > - <B_ObjetsDuMois> - <h3>[(#YEAR|concat{-,#_ListeMois:VALEUR#VAL,-01}|nom_mois|ucfirst)]</h3> - <ul class="spip"> - <BOUCLE_ObjetsDuMois(DATA) - {source table,#GET{listeliens}} - {year=#_AnneeObjet:YEAR} - {month=#_ListeMois:VALEUR} - {!par date} - > - <li[ class="(#CLASS)"]>[<span class="date">(#DATE|affdate)</span>] : <a href="#URL"[ title="(#DESCRIPTIF|attribut_html)"]>[(#TITRE)]</a>[ <span class="secondary-information">((#TYPE))</span>]</li> - </BOUCLE_ObjetsDuMois> - </ul> - </B_ObjetsDuMois> - </BOUCLE_ListeMois> - </B_ListeMois> - </BOUCLE_AnneeObjet> -</B_AnneeObjet> +<INCLURE{ + fond=noisettes/plan/inc_antichrono, + listeliens=#GET{listeliens}, + env, + ajax +} /> </div> </main> diff --git a/antichrono_grid.html b/antichrono_grid.html index 4686c4523f61aaccdf26bc095fa02a280dba3210..4d6430ac253faee1818283633e9df8eb16bb6534 100644 --- a/antichrono_grid.html +++ b/antichrono_grid.html @@ -13,7 +13,13 @@ </div> ] <div id="letexte"> -<div class="chapo"><p><:soyezcreateurs:voirle:> <a href="#URL_PAGE{plan}" title="<:plan_site|attribut_html:>"><:plan_site:></a> ou <a href="#URL_PAGE{antichrono}">[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})] (<:soyezcreateurs:actualite_toutes_arbo:>)</a></p></div> + <div class="onglets"> + <ul> + <li><a href="#URL_PAGE{plan}" title="<:plan_site|attribut_html:>"><:plan_site:></a></li> + <li><a href="#URL_PAGE{antichrono}">[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})] (<:soyezcreateurs:actualite_toutes_arbo:>)</a></li> + <li><strong>[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})] (<:soyezcreateurs:actualite_toutes_blocs:>)</strong></li> + </ul> + </div> <BOUCLE_ExclureRubriquesDuPlan(RUBRIQUES){titre_mot=PasDansPlan}><BOUCLE_ExclureArticlesDuPlan(ARTICLES){id_rubrique}{doublons articlesannees}{doublons articlesmois}{doublons articles}{lang} /><BOUCLE_ExclureBreveDuPlan(BREVES){id_rubrique}{doublons brevesannees}{doublons brevesmois}{doublons breves}{lang} /></BOUCLE_ExclureRubriquesDuPlan> <BOUCLE_ExclureArticlesDuPlan2(ARTICLES){titre_mot=PasDansPlan}{doublons articlesannees}{doublons articlesmois}{doublons articles}{lang} /> diff --git a/lang/soyezcreateurs_fr.php b/lang/soyezcreateurs_fr.php index 3edecae14bd913580ed8b48ae064ead8ea141682..6ea48ba642119d2e236bb64403a3179d4b347789 100644 --- a/lang/soyezcreateurs_fr.php +++ b/lang/soyezcreateurs_fr.php @@ -15,8 +15,8 @@ $GLOBALS[$GLOBALS['idx_lang']] = array( 'accueil' => 'Accueil', 'accueil_site' => 'Revenir à l’Accueil du site', 'actualite_toutes' => 'Derniers articles mis en ligne', - 'actualite_toutes_arbo' => 'arborescense', - 'actualite_toutes_blocs' => 'blocs', + 'actualite_toutes_arbo' => 'liste', + 'actualite_toutes_blocs' => 'visuels', 'agenda' => 'Agenda', 'agenda_exporter_ical' => 'Exporter au format iCal', 'agenda_fsd' => 'Du @djour_l@ @djour@ @dmois_l@ @dannee@ à @dheure@<html>:</html>@dminutes@ au @fjour_l@ @fjour@ @fmois_l@ @fannee@ à @fheure@<html>:</html>@fminutes@', diff --git a/noisettes/plan/inc_antichrono.html b/noisettes/plan/inc_antichrono.html new file mode 100644 index 0000000000000000000000000000000000000000..0b21a61a8b35771e2cd5b26e91a78b293d50952f --- /dev/null +++ b/noisettes/plan/inc_antichrono.html @@ -0,0 +1,58 @@ +<BOUCLE_FirstYear(DATA) + {source table,#ENV{listeliens}} + {!par date} + {fusion year} + {0,1} + >#SET{firstyear,#YEAR}</BOUCLE_FirstYear> +<BOUCLE_Min2anness(DATA) + {source table,#ENV{listeliens}} + {!par date} + {fusion year} + {1,1} + > </BOUCLE_Min2anness> +<div class="onglets"> + <B_Sommaire> + <ul> + <BOUCLE_Sommaire(DATA) + {source table,#ENV{listeliens}} + {!par date} + {fusion year} + > + <li>[(#ENV{year,#GET{firstyear}}|=={#YEAR}|?{<strong>,<a href="[(#SELF|parametre_url{'year',[(#YEAR|!={#GET{firstyear}}|?{#YEAR,''})]})]" class="ajax">})]#YEAR[(#ENV{year}|=={#YEAR}|?{</strong>,</a>})]</li> + </BOUCLE_Sommaire> + </ul> + </B_Sommaire> +</div> +</B_Min2anness> + + +<B_AnneeObjet> + <BOUCLE_AnneeObjet(DATA) + {source table,#ENV{listeliens}} + {year=#ENV{year,#GET{firstyear}}} + {!par date} + {fusion year} + > + <B_ListeMois> + <h2 id="annee_#YEAR">[(#YEAR)]</h2> + <BOUCLE_ListeMois(DATA) + {liste 12,11,10,9,8,7,6,5,4,3,2,1} + > + <B_ObjetsDuMois> + <h3>[(#YEAR|concat{-,#_ListeMois:VALEUR#VAL,-01}|nom_mois|ucfirst)]</h3> + <ul class="spip"> + <BOUCLE_ObjetsDuMois(DATA) + {source table,#ENV{listeliens}} + {year=#_AnneeObjet:YEAR} + {month=#_ListeMois:VALEUR} + {!par date} + > + <li[ class="(#CLASS)"]>[<span class="date">(#DATE|affdate)</span>] : <a href="#URL"[ title="(#DESCRIPTIF|attribut_html)"]>[(#TITRE)]</a>[ <span class="secondary-information">((#TYPE))</span>]</li> + </BOUCLE_ObjetsDuMois> + </ul> + </B_ObjetsDuMois> + </BOUCLE_ListeMois> + </B_ListeMois> + </BOUCLE_AnneeObjet> +</B_AnneeObjet> +#FILTRE{mini_html} \ No newline at end of file diff --git a/noisettes/plan/inc_antichrono_grid.html b/noisettes/plan/inc_antichrono_grid.html index 7437f1ab6e135ba5dc650cbeeedcc762e38b984c..72798bb7f63f7259009ea6111408162924010191 100644 --- a/noisettes/plan/inc_antichrono_grid.html +++ b/noisettes/plan/inc_antichrono_grid.html @@ -14,7 +14,7 @@ > </BOUCLE_Min2anness> <B_Sommaire> <div class="onglets"> - <ul id='liste_tabs'> + <ul> <BOUCLE_Sommaire(DATA) {source table,#ENV{listeliens}} {!par date} @@ -76,4 +76,5 @@ </B_ListeMois> </BOUCLE_AnneeObjet> </div> -</B_AnneeObjet> \ No newline at end of file +</B_AnneeObjet> +#FILTRE{mini_html} \ No newline at end of file diff --git a/noisettes/plan/plan.html b/noisettes/plan/plan.html index 196ac4bf46b4066e9035bf7141635f450a3938e0..ff3ff1d7ff26117735c033611f9f64c61f5902b5 100644 --- a/noisettes/plan/plan.html +++ b/noisettes/plan/plan.html @@ -1,6 +1,12 @@ <div id="letexte"> <B_Autres> - <div class="chapo"><p><:soyezcreateurs:voirarticlespar:> <a href="#URL_PAGE{#CONFIG{soyezcreateurs/page_antichrono,antichrono}}"><:soyezcreateurs:ordreantichronologique:></a></p></div> + <div class="onglets"> + <ul> + <li><strong><:plan_site:></strong></li> + <li><a href="#URL_PAGE{antichrono}">[(#CONFIG{soyezcreateurs/texte_actualite_toutes}|typo|sinon{<:soyezcreateurs:actualite_toutes:>})] (<:soyezcreateurs:actualite_toutes_arbo:>)</a></li> + <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_Min50Articles(ARTICLES){49,1}> </BOUCLE_Min50Articles> <div id='sommaire'><h2><:soyezcreateurs:sommaire:></h2> <B_Sommaire> diff --git a/paquet.xml b/paquet.xml index 1b80029ec2d8bb0daaf677a4c9e8c1cf120fe89f..ee5b33a659b05d606d7f6cc14d3aacb85729c612 100644 --- a/paquet.xml +++ b/paquet.xml @@ -1,7 +1,7 @@ <paquet prefix="soyezcreateurs" categorie="squelette" - version="5.0.54" + version="5.0.55" etat="stable" compatibilite="[3.1.8;3.2.*]" logo="img_pack/soyezcreateurs_48.png" diff --git a/stylessoyezcreateurs.css.html b/stylessoyezcreateurs.css.html index 81d8811e14b660fa1d41f3e7e4a5de2d6baa8e19..d97eafe989cdb1721ab2b19440a6efe813657505 100644 --- a/stylessoyezcreateurs.css.html +++ b/stylessoyezcreateurs.css.html @@ -979,6 +979,7 @@ table.programmation caption { text-align: left; } #sommaire h2 { width: auto; padding: 0 1em; margin-bottom: 0.6em; background-color: [(#GET{c_titraille_bk})]; color: [ (#GET{c_titraille})];} #sommaire > ul { margin-left: 3em; margin-bottom: 0;} #sommaire > ul > li { list-style-type: initial; } +#sommaire > ul ul { margin: 0; } /* menu en haut du contenu (onglets) */ #menuhaut { background-color: #GET{c_menuhaut_bk}; color: #GET{c_menuhaut}; @@ -2617,7 +2618,11 @@ a.button.triadeC:focus, .portailcognac #sommaire > ul { margin-left: 1.5rem; padding: 1rem; + columns: 2; + column-rule: 1px dotted #ccc; + column-gap: 4em; } +.portailcognac #letexte #sommaire > ul ul { margin: 0; } .portailcognac .cartouche .logo_article, .portailcognac .cartouche .logo_rubrique { float: right;