-
real3t@gmail.com a rédigéreal3t@gmail.com a rédigé
site.html 6,42 Kio
<BOUCLE_site(SITES){id_syndic}>
[(#SET{titretop,<:sites_web|sc_nettoyer_marqueur:>_[(#NOM_SITE|typo|sc_nettoyer_marqueur)]})]
<BOUCLE_ArticleSyndiqueTitre(SYNDIC_ARTICLES) {id_syndic_article} >
[(#REM) Passer par SET et GET pour ne pas avoir de trim sur l'espace final ! ]
[(#SET{title,[(#TITRE|typo|supprimer_tags|texte_script) - ][(#NOM_SITE|typo|supprimer_tags|texte_script) ]})]
<BOUCLE_NoIndexSite(MOTS){id_syndic}{titre=NoIndex}>#SET{noindex,1}</BOUCLE_NoIndexSite>
<INCLURE{fond=noisettes/header/header}
{metadescription=(#DESCRIPTIF|couper{150}|supprimer_tags|attribut_html)}
{title=#GET{title}(<:sites_web:>)}
{titretop=#GET{titretop}}
{rubriqueencours=#ID_RUBRIQUE}
{id_secteur}
{id_rubrique}
{id_syndic}
{id_syndic_article}
{secteurencours=#ID_SECTEUR}
{noindex=#GET{noindex}}
{canonical=#URL_ARTICLE}
{type=site}
>
</BOUCLE_ArticleSyndiqueTitre>
[(#SET{title,[(#NOM_SITE|typo|supprimer_tags|texte_script) ]})]
<INCLURE{fond=noisettes/header/header}
{metadescription=(#DESCRIPTIF|couper{150}|supprimer_tags|attribut_html)}
{title=#GET{title}(<:sites_web:>)}
{titretop=#GET{titretop}}
{rubriqueencours=#ID_RUBRIQUE}
{id_secteur}
{id_rubrique}
{id_syndic}
{secteurencours=#ID_SECTEUR}
{canonical=(#ID_SYNDIC|generer_url_entite{site}|url_absolue)}
{type=site}
>
<//B_ArticleSyndiqueTitre>
<div class="texte">
<main id="main" role="main">
<!-- Contenu : corps du site syndiqu -->
[(#CONFIG{soyezcreateurs_layout/positioncartouchetitre,contenu}|=={contenu}|oui)
<div class="cartouche">
<div class="titrepage"><h1 class="titre">[<img src="(#LOGO_SITE_NORMAL|sinon{#LOGO_SITE}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64}},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}}|extraire_attribut{src})" class="logo_site" alt="" width="[(#LOGO_SITE_NORMAL|sinon{#LOGO_SITE}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64}},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}}|largeur)]" height="[(#LOGO_SITE_NORMAL|sinon{#LOGO_SITE}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64}},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuprincipal,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}}|hauteur)]" />]
<:sites_web:> :
<span class="#EDIT{nom_site}">[(#NOM_SITE|typo)]</span>
</h1></div>
<div class="datepublication"><span><:soyezcreateurs:publiele:> [(#DATE|nom_jour)] [(#DATE|affdate)]</span></div>
</div>
]
[(#NOTES|vide)]
<div id="letexte">
[<p class="urlsite">⇒ <a href="#URL_SITE" class="spip_out">(#URL_SITE|couper{80})</a></p>]
[<div class="#EDIT{descriptif} chapo">(#DESCRIPTIF)</div>]
[<div class="notes">(#NOTES)</div>]
[<div id="carto">(#PLUGIN{GIS}|oui)[(#INCLURE{fond=json/gis_sites,id_syndic,limit=1}|oui)[(#INCLURE{fond=modeles/carte_gis,id_syndic,autocenterandzoom=oui,objets=sites,hauteur=#CONFIG{soyezcreateurs_layout/hauteurgisarticles,400px},cluster=[(#PLUGIN{GISGEOM}|?{'non','oui'})],maxClusterRadius=40,clusterShowCoverageOnHover=oui,clusterSpiderfyOnMaxZoom=oui,fullscreen=oui,zoom_wheel=non})]]
</div>]
[(#REM) Affichage du dtail de la syndication si applicable ]
<B_ArticleSyndique>
<div class="syndic">
<BOUCLE_ArticleSyndique(SYNDIC_ARTICLES) {id_syndic_article} >
<h2 class="#EDIT{titre}">[(#TITRE|typo)]</h2>
[<div class="enclosures">(#TAGS|afficher_enclosures)</div>]
<small>[(#DATE|affdate_court)][, <:par_auteur:> (#LESAUTEURS)][ — <em>(#TAGS|afficher_tags|supprimer_tags)</em>]</small>
[<div class="#EDIT{descriptif}">(#DESCRIPTIF|propre|image_reduire{300})</div>]
[<p class="#EDIT{syndic_article_hyperlien} hyperlien">→ <a href="(#URL_ARTICLE)" class="spip_out" title="[<:soyezcreateurs:liresuitede|typo|texte_script|supprimer_tags|attribut_html:> (#TITRE|typo|texte_script|supprimer_tags|attribut_html)]"><:soyezcreateurs:liresuitesyndic|typo:></a></p><br class="nettoyeur" />]
</BOUCLE_ArticleSyndique>
</div>
</B_ArticleSyndique>
[(#REM) Articles issus de la syndication ]
<B_articles>
<div class="syndic">
#ANCRE_PAGINATION
<h2><:sites:titre_articles_syndiques:></h2>
<dl>
<BOUCLE_articles(SYNDIC_ARTICLES) {id_syndic} {!par date} {pagination}>
<dt class="#EDIT{titre}"><a href="[(#ID_SYNDIC|generer_url_entite{'site'}|parametre_url{'id_syndic_article',#ID_SYNDIC_ARTICLE})]">[(#TITRE|typo)]</a></dt>
<dd>
<small>[(#DATE|affdate_court)][, <:par_auteur:> (#LESAUTEURS)]</small>
[<div class="#EDIT{descriptif}">(#DESCRIPTIF|typo|couper{300}|image_reduire{300})
<br class="nettoyeur" /></div>]
</dd>
</BOUCLE_articles>
</dl>
[<p class="pagination">(#PAGINATION)</p>]
</div>
</B_articles>
<//B_ArticleSyndique>
[<div class="notes"><h2><:info_notes:></h2>(#NOTES)</div>]
</div><!-- Fin de .letexte -->
</main>
</div><!-- Fin de #texte -->
<INCLURE{fond=noisettes/footer/footer}
{rubriqueencours=#ID_RUBRIQUE}
{id_rubrique=#ID_RUBRIQUE}
{secteurencours=#ID_SECTEUR}
{titretop=#GET{titretop}}
{template=Sites}
{jp_site=#ID_SYNDIC}
{jp_syndication=#ENV{id_syndic_article}}
>
</BOUCLE_site>
[(#SET{titretop,<:sites_web|sc_nettoyer_marqueur:>})]
<INCLURE{fond=noisettes/header/header}
{title=<:sites_web:>}
{titretop=#GET{titretop}}
{type=site}
>
<div class="texte">
<main id="main" role="main">
<!-- Contenu : corps du site syndiqu -->
[(#CONFIG{soyezcreateurs_layout/positioncartouchetitre,contenu}|=={contenu}|oui)
<div class="cartouche">
<div class="titrepage"><h1 class="titre"><:sites_web:></h1></div>
</div>
]
<div id="letexte">
[(#INCLURE{fond=noisettes/sites_rubriques})]
[<div id="carto">
(#PLUGIN{GIS}|oui)[(#INCLURE{fond=json/gis_sites,limit=500}|oui)[(#INCLURE{fond=modeles/carte_gis,objets=sites,autocenterandzoom=oui,hauteur=#CONFIG{soyezcreateurs_layout/hauteurgisarticles,400px},cluster=[(#PLUGIN{GISGEOM}|?{'non','oui'})],maxClusterRadius=40,clusterShowCoverageOnHover=oui,clusterSpiderfyOnMaxZoom=oui,fullscreen=oui,zoom_wheel=non})]]
</div>]
</div><!-- Fin de .letexte -->
</main>
</div><!-- Fin de #texte -->
<INCLURE{fond=noisettes/footer/footer}
{secteurencours=#GET{secteurencours}}
{titretop=#GET{titretop}}
{template=Sites}
>
<//B_site>
#FILTRE{mini_html}