|
|
|
@ -1,24 +1,21 @@
|
|
|
|
|
<BOUCLE_FirstYear(DATA)
|
|
|
|
|
{source table,#ENV{listeliens}}
|
|
|
|
|
{!par date}
|
|
|
|
|
{fusion year}
|
|
|
|
|
{source table,#ENV{listeannes}}
|
|
|
|
|
{!par year}
|
|
|
|
|
{0,1}
|
|
|
|
|
>#SET{firstyear,#YEAR}</BOUCLE_FirstYear>
|
|
|
|
|
[(#SET{logoyear,[(#CHEMIN{images/calendar-year.jpg}|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}})]})]
|
|
|
|
|
[(#SET{logomonth,[(#CHEMIN{images/calendar-month.jpg}|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}})]})]
|
|
|
|
|
<BOUCLE_Min2anness(DATA)
|
|
|
|
|
{source table,#ENV{listeliens}}
|
|
|
|
|
{!par date}
|
|
|
|
|
{fusion year}
|
|
|
|
|
{source table,#ENV{listeannes}}
|
|
|
|
|
{!par year}
|
|
|
|
|
{1,1}
|
|
|
|
|
> </BOUCLE_Min2anness>
|
|
|
|
|
<B_Sommaire>
|
|
|
|
|
<div class="onglets">
|
|
|
|
|
<ul>
|
|
|
|
|
<BOUCLE_Sommaire(DATA)
|
|
|
|
|
{source table,#ENV{listeliens}}
|
|
|
|
|
{!par date}
|
|
|
|
|
{fusion year}
|
|
|
|
|
{source table,#ENV{listeannes}}
|
|
|
|
|
{!par 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>
|
|
|
|
@ -27,14 +24,84 @@
|
|
|
|
|
</B_Sommaire>
|
|
|
|
|
</B_Min2anness>
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<BOUCLE_ExclureArticlesDuPlan2(ARTICLES){titre_mot=PasDansPlan}{doublons articlesannees}{doublons articlesmois}{doublons articles}{lang} />
|
|
|
|
|
|
|
|
|
|
#SET{listeliens,#ARRAY}
|
|
|
|
|
<B_Annee>
|
|
|
|
|
<BOUCLE_Annee(ARTICLES){!par date}{doublons articlesannees}{YEAR(date)=#ENV{year,#GET{firstyear}}}{lang}>
|
|
|
|
|
<B_Mois>
|
|
|
|
|
<BOUCLE_Mois(ARTICLES){annee_relatif=0}
|
|
|
|
|
{!par date}{lang}
|
|
|
|
|
{doublons articlesmois}
|
|
|
|
|
{fusion MONTH(date)}>
|
|
|
|
|
<B_ArticlesDuMois>
|
|
|
|
|
<BOUCLE_ArticlesDuMois(ARTICLES){doublons articles}{mois_relatif=0}
|
|
|
|
|
{!par date}{lang}>
|
|
|
|
|
#SET{couleurrubrique,''}
|
|
|
|
|
<BOUCLE_RubriqueColoreeArticles(HIERARCHIE){id_rubrique}{tout}{type_mot=_CouleurRubrique}{inverse} {0,1}><BOUCLE_CouleurRubriqueArticles(MOTS){id_rubrique}{type=_CouleurRubrique}{0,1}>#SET{couleurrubrique,couleurrubrique#ID_MOT}</BOUCLE_CouleurRubriqueArticles></BOUCLE_RubriqueColoreeArticles>
|
|
|
|
|
[(#SET{logo,[(#LOGO_ARTICLE_SURVOL|sinon{#LOGO_ARTICLE_NORMAL}|sinon{#LOGO_RUBRIQUE_NORMAL}|sinon{[(#CHEMIN{images/placeholder.jpg}|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}})]})]})]
|
|
|
|
|
#SET{listeliens, #GET{listeliens}|push{#ARRAY{year,(#DATE|annee),month,(#DATE|mois),lemois,(#DATE|nom_mois),date,#DATE,url,#ARTICLE_URL,descriptif,#DESCRIPTIF,titre,#TITRE,class,'',type,'',logo,#GET{logo},couleurrubrique,#GET{couleurrubrique}}}}
|
|
|
|
|
</BOUCLE_ArticlesDuMois>
|
|
|
|
|
</B_ArticlesDuMois>
|
|
|
|
|
</BOUCLE_Mois>
|
|
|
|
|
</B_Mois>
|
|
|
|
|
</BOUCLE_Annee>
|
|
|
|
|
</B_Annee>
|
|
|
|
|
|
|
|
|
|
[(#SET{breve,<:breves:breve|lcfirst:>})]
|
|
|
|
|
<B_AnneeBreves>
|
|
|
|
|
<BOUCLE_AnneeBreves(BREVES?){!par date}{doublons brevesannees}{YEAR(date_heure)=#ENV{year,#GET{firstyear}}}{lang}>
|
|
|
|
|
<B_MoisBreves>
|
|
|
|
|
<BOUCLE_MoisBreves(BREVES?){annee_relatif=0}
|
|
|
|
|
{!par date}{lang}
|
|
|
|
|
{doublons brevesmois}
|
|
|
|
|
{fusion MONTH(date_heure)}>
|
|
|
|
|
<B_BrevesDuMois>
|
|
|
|
|
<BOUCLE_BrevesDuMois(BREVES?){doublons breves}{mois_relatif=0}
|
|
|
|
|
{!par date}{lang}>
|
|
|
|
|
#SET{couleurrubrique,''}
|
|
|
|
|
<BOUCLE_RubriqueColoreeBreves(HIERARCHIE){id_rubrique}{tout}{type_mot=_CouleurRubrique}{inverse} {0,1}><BOUCLE_CouleurRubriqueBreves(MOTS){id_rubrique}{type=_CouleurRubrique}{0,1}>#SET{couleurrubrique,couleurrubrique#ID_MOT}</BOUCLE_CouleurRubriqueBreves></BOUCLE_RubriqueColoreeBreves>
|
|
|
|
|
[(#SET{logo,[(#LOGO_BREVE_SURVOL|sinon{#LOGO_BREVE_NORMAL}|sinon{[(#CHEMIN{images/placeholder.jpg}|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}})]})]})]
|
|
|
|
|
#SET{listeliens, #GET{listeliens}|push{#ARRAY{year,(#DATE|annee),month,(#DATE|mois),lemois,(#DATE|nom_mois),date,#DATE,url,#URL_BREVE,descriptif,#DESCRIPTIF,titre,#TITRE,class,iconbreves,type,#GET{breve},logo,#GET{logo},couleurrubrique,#GET{couleurrubrique}}}}
|
|
|
|
|
</BOUCLE_BrevesDuMois>
|
|
|
|
|
</B_BrevesDuMois>
|
|
|
|
|
</BOUCLE_MoisBreves>
|
|
|
|
|
</B_MoisBreves>
|
|
|
|
|
</BOUCLE_AnneeBreves>
|
|
|
|
|
</B_AnneeBreves>
|
|
|
|
|
|
|
|
|
|
[(#SET{site,<:sites:site:>})]
|
|
|
|
|
<B_AnneeSites>
|
|
|
|
|
<BOUCLE_AnneeSites(SITES){!par date}{doublons sitesannees}{YEAR(date)=#ENV{year,#GET{firstyear}}}>
|
|
|
|
|
<B_MoisSites>
|
|
|
|
|
<BOUCLE_MoisSites(SITES){annee_relatif=0}
|
|
|
|
|
{!par date}
|
|
|
|
|
{doublons sitesmois}
|
|
|
|
|
{fusion MONTH(date)}>
|
|
|
|
|
<B_SitesDuMois>
|
|
|
|
|
<BOUCLE_SitesDuMois(SITES){doublons sites}{mois_relatif=0}
|
|
|
|
|
{!par date}>
|
|
|
|
|
#SET{couleurrubrique,''}
|
|
|
|
|
<BOUCLE_RubriqueColoreeSites(HIERARCHIE){id_rubrique}{tout}{type_mot=_CouleurRubrique}{inverse} {0,1}><BOUCLE_CouleurRubriqueSites(MOTS){id_rubrique}{type=_CouleurRubrique}{0,1}>#SET{couleurrubrique,couleurrubrique#ID_MOT}</BOUCLE_CouleurRubriqueSites></BOUCLE_RubriqueColoreeSites>
|
|
|
|
|
[(#SET{logo,[(#LOGO_SITE_SURVOL|sinon{#LOGO_SITE_NORMAL}|sinon{[(#CHEMIN{images/placeholder.jpg}|image_focus{308,#CONFIG{soyezcreateurs/hauteur_quoi2neuf,340}})]})]})]
|
|
|
|
|
#SET{listeliens, #GET{listeliens}|push{#ARRAY{year,(#DATE|annee),month,(#DATE|mois),lemois,(#DATE|nom_mois),date,#DATE,url,(#ID_SYNDIC|generer_url_entite{'site'}),descriptif,#DESCRIPTIF,titre,#NOM_SITE,class,iconsites,type,#GET{site},logo,#GET{logo},couleurrubrique,#GET{couleurrubrique}}}}
|
|
|
|
|
</BOUCLE_SitesDuMois>
|
|
|
|
|
</B_SitesDuMois>
|
|
|
|
|
</BOUCLE_MoisSites>
|
|
|
|
|
</B_MoisSites>
|
|
|
|
|
</BOUCLE_AnneeSites>
|
|
|
|
|
</B_AnneeSites>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<B_AnneeObjet>
|
|
|
|
|
<div class="masonry petitestuiles">
|
|
|
|
|
<BOUCLE_AnneeObjet(DATA)
|
|
|
|
|
{source table,#ENV{listeliens}}
|
|
|
|
|
{source table,#ENV{listeannes}}
|
|
|
|
|
{year=#ENV{year,#GET{firstyear}}}
|
|
|
|
|
{!par date}
|
|
|
|
|
{fusion year}
|
|
|
|
|
{!par year}
|
|
|
|
|
>
|
|
|
|
|
<B_ListeMois>
|
|
|
|
|
<div id="annee_#YEAR" class="grid-item masonry-brick">
|
|
|
|
@ -55,7 +122,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<BOUCLE_ObjetsDuMois(DATA)
|
|
|
|
|
{source table,#ENV{listeliens}}
|
|
|
|
|
{source table,#GET{listeliens}}
|
|
|
|
|
{year=#_AnneeObjet:YEAR}
|
|
|
|
|
{month=#_ListeMois:VALEUR}
|
|
|
|
|
{!par date}
|
|
|
|
|