From ed2e8f90a8674dd911141d6a7dfa92506e736262 Mon Sep 17 00:00:00 2001
From: "real3t@gmail.com" <>
Date: Tue, 16 Apr 2019 12:49:16 +0000
Subject: [PATCH] =?UTF-8?q?[SoyezCr=C3=A9ateurs]=20Liens=20de=20rubrique?=
 =?UTF-8?q?=20dans=20la=20page=20rubriques=20:=20aller=20directement=20?=
 =?UTF-8?q?=C3=A0=20l'article=20s'il=20n'y=20en=20a=20qu'un?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../rubriques/rubrique_automatique_rubrique_bloc.html    | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/noisettes/rubriques/rubrique_automatique_rubrique_bloc.html b/noisettes/rubriques/rubrique_automatique_rubrique_bloc.html
index d052668b..0e52a20e 100644
--- a/noisettes/rubriques/rubrique_automatique_rubrique_bloc.html
+++ b/noisettes/rubriques/rubrique_automatique_rubrique_bloc.html
@@ -1,6 +1,7 @@
 <BOUCLE_(RUBRIQUES){id_rubrique}>[(#CONFIG{soyezcreateurs_layout/cadragelogoarticlerubrique,#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}}|=={recadre}|oui)[(#SET{lelogo,[(#LOGO_RUBRIQUE_NORMAL|image_focus{#CONFIG{soyezcreateurs_layout/largeurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64}},#CONFIG{soyezcreateurs_layout/hauteurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}})]})]][(#CONFIG{soyezcreateurs_layout/cadragelogoarticlerubrique,#CONFIG{soyezcreateurs_layout/cadragelogocontenuautomatique,entier}}|=={entier}|oui)[(#SET{lelogo,[(#LOGO_RUBRIQUE_NORMAL|image_reduire{#CONFIG{soyezcreateurs_layout/largeurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/largeurlogocontenuautomatique,64}},#CONFIG{soyezcreateurs_layout/hauteurlogoarticlerubrique,#CONFIG{soyezcreateurs_layout/hauteurlogocontenuautomatique,64}}})]})]]
-	[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contenthauttitre}|oui)[<dt class="haslogo nogap[(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#URL_RUBRIQUE" title="[(#DESCRIPTIF|attribut_html)]"><img class="logo contenthauttitre" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" /></a></dt>]]
-	<dt class="#EDIT{titre} h2[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={content}|oui)haslogo][(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contentbastitre}|oui)nogap][(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#URL_RUBRIQUE" title="[(#DESCRIPTIF|attribut_html)]">[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={content}|oui)[<img class="logo logo_modenews" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" />]][(#TITRE)][ <span class="titrerubblog">#(#ENV{affrub}|?{#INFO_TITRE{rubrique,#ID_RUBRIQUE}})</span>]</a></dt>
-	[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contentbastitre}|oui)[<dt class="haslogo [(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#URL_RUBRIQUE" title="[(#DESCRIPTIF|attribut_html)]"><img class="logo contentbastitre" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" /></a></dt>]]
-	[<dd class="cursor-pointer[(#COMPTEUR_BOUCLE|alterner{'',' odd'})] #EDIT{introduction}" onclick="location.href='#URL_RUBRIQUE';" title="<:soyezcreateurs:liresuitede:>[ (#TITRE|attribut_html)]">(#DESCRIPTIF|sinon{[<p>(#TEXTE|couper{300})</p>]}|image_reduire{#CONFIG{soyezcreateurs_layout/maxlargeurimage,720}|mult{2}|div{3},0})</dd>]
+<BOUCLE_articles_unouplusieurs(ARTICLES) {id_rubrique} {0,2}{lang}{pagination 1}> [(#SET{article_url,[(#VIRTUEL|?{[(#VIRTUEL|sc_texte2urlspip|extraire_attribut{href}|entites_html)],#URL_ARTICLE})]})][(#SET{url,[(#GRAND_TOTAL|=={1}|?{#GET{article_url},#URL_RUBRIQUE})]})]</BOUCLE_articles_unouplusieurs>#SET{url,#URL_RUBRIQUE}<//B_articles_unouplusieurs>
+	[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contenthauttitre}|oui)[<dt class="haslogo nogap[(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#GET{url}" title="[(#DESCRIPTIF|attribut_html)]"><img class="logo contenthauttitre" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" /></a></dt>]]
+	<dt class="#EDIT{titre} h2[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={content}|oui)haslogo][(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contentbastitre}|oui)nogap][(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#GET{url}" title="[(#DESCRIPTIF|attribut_html)]">[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={content}|oui)[<img class="logo logo_modenews" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" />]][(#TITRE)][ <span class="titrerubblog">#(#ENV{affrub}|?{#INFO_TITRE{rubrique,#ID_RUBRIQUE}})</span>]</a></dt>
+	[(#CONFIG{soyezcreateurs_layout/logoarticlerubrique,[(#CONFIG{soyezcreateurs_layout/logoarticlenavigation,content})]}|=={contentbastitre}|oui)[<dt class="haslogo [(#COMPTEUR_BOUCLE|alterner{'',' odd'})]"><a href="#GET{url}" title="[(#DESCRIPTIF|attribut_html)]"><img class="logo contentbastitre" src="(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)" width="[(#GET{lelogo}|largeur)]" height="[(#GET{lelogo}|hauteur)]" alt="" /></a></dt>]]
+	[<dd class="cursor-pointer[(#COMPTEUR_BOUCLE|alterner{'',' odd'})] #EDIT{introduction}" onclick="location.href='#GET{url}';" title="<:soyezcreateurs:liresuitede:>[ (#TITRE|attribut_html)]">(#DESCRIPTIF|sinon{[<p>(#TEXTE|couper{300})</p>]}|image_reduire{#CONFIG{soyezcreateurs_layout/maxlargeurimage,720}|mult{2}|div{3},0})</dd>]
 </BOUCLE_>
\ No newline at end of file
-- 
GitLab