Skip to content
Extraits de code Groupes Projets
site.html 6,83 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}
	{secteurencours=#ID_SECTEUR}
	{noindex=#GET{noindex}}
	{canonical=(#GET{noindex}|?{#URL_ARTICLE,''})}
>
</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)}
>
<//B_ArticleSyndiqueTitre>
	<nav id="miettesdepain">
		<h2 class="nocontent offscreen">Fil d'Ariane</h2>
		<ul>
			<li><a href="#URL_SITE_SPIP" title="<:soyezcreateurs:accueil_site|attribut_html:>"><:soyezcreateurs:accueil:></a></li>
			<BOUCLE_ariane(HIERARCHIE){id_syndic}{!titre_mot=PasDansFildAriane}><li><a href="#URL_RUBRIQUE" title="[(#DESCRIPTIF|attribut_html)]">[(#TITRE)]</a></li></BOUCLE_ariane><li><a href="#URL_PAGE{site}"><:sites_web:></a></li>
			<BOUCLE_UnArticleSyndique(SYNDIC_ARTICLES) {id_syndic_article}>
			<li><a href="[(#ID_SYNDIC|generer_url_entite{'site'})]">[(#NOM_SITE|typo)]</a></li>
			<li>[(#TITRE|typo)]</li>
			</BOUCLE_UnArticleSyndique>
			<li>[(#NOM_SITE|typo|couper{80})]</li>
			<//B_UnArticleSyndique>
		</ul>
	</nav>
	
<div class="texte">
<main id="main" role="main">
<!-- Contenu : corps du site syndiqu -->
<div class="cartouche">
				<div class="titrepage"><h1 class="titre">[<img src="(#LOGO_SITE_NORMAL|sinon{#LOGO_SITE}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}|extraire_attribut{src})" class="logo_site" alt="" width="[(#LOGO_SITE_NORMAL|sinon{#LOGO_SITE}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}|largeur)]" height="[(#LOGO_SITE_NORMAL|sinon{#LOGO_SITE}|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64},#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}|hauteur)]" />]
				<:sites_web:>&nbsp;: 
				<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">&rArr;&nbsp;<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>]