From 15dee846a292a3ffb8595708fce3fb643eaf0ecd Mon Sep 17 00:00:00 2001
From: "real3t@gmail.com" <>
Date: Thu, 9 Nov 2017 16:54:40 +0000
Subject: [PATCH] =?UTF-8?q?Un=20bug=20de=20pr=C3=A9sentation=20sur=20la=20?=
 =?UTF-8?q?liste=20des=20documents=20et=20am=C3=A9lioration=20de=20la=20pr?=
 =?UTF-8?q?=C3=A9sentation=20des=20onglets=20sur=20cette=20m=C3=AAme=20pag?=
 =?UTF-8?q?e?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 noisettes/cartouchetitre/telecharger.html |  3 -
 noisettes/telecharger_tableau.html        | 78 +++++++++++------------
 paquet.xml                                |  2 +-
 stylessoyezcreateurs.css.html             |  7 +-
 4 files changed, 45 insertions(+), 45 deletions(-)

diff --git a/noisettes/cartouchetitre/telecharger.html b/noisettes/cartouchetitre/telecharger.html
index 4938c6a5..337ad3ee 100644
--- a/noisettes/cartouchetitre/telecharger.html
+++ b/noisettes/cartouchetitre/telecharger.html
@@ -1,7 +1,4 @@
 	<div class="cartouche">
 		<div class="titrepage"><h1><:medias:info_documents:></h1></div>
-		[(#VAL{masquerdocumentsvus}|in_any{#CONFIG{soyezcreateurs/affichagelistedocuments,#ARRAY{0,enbas}}}|oui)[(#SET{vu,non})]]
-			[(#INCLURE{fond=noisettes/telecharger_tableau,env,vu=#GET{vu}})]
-	</main>
 	</div><!-- Fin de .texte -->
 #FILTRE{mini_html}
\ No newline at end of file
diff --git a/noisettes/telecharger_tableau.html b/noisettes/telecharger_tableau.html
index 1292eded..ff23232c 100644
--- a/noisettes/telecharger_tableau.html
+++ b/noisettes/telecharger_tableau.html
@@ -1,3 +1,5 @@
+	<div id="letexte">
+		<B_AfficheDocuments>
 		<div class="onglets" id="listedocuments">
 			<ul>
 				[<li>(#URL_PAGE{telecharger}|parametre_url{media,''}|ancre_url{'#listedocuments'}|lien_ou_expose{<:medias:tous_les_medias:>,#ENV{media,''}|=={''}})</li>]
@@ -6,45 +8,41 @@
 				</BOUCLE_Medias>
 			</ul>
 		</div>
-		</div>
 		
-		<div id="letexte">
-
-<B_AfficheDocuments>
-				<div class="smallchild">
-					#ANCRE_PAGINATION
-					<table class="spip tableaudocs" cellspacing="0">
-						<thead>
-							<tr class="row_first">
-								<th scope="col"><strong>Type</strong></th>
-								<th scope="col"><strong>Titre</strong></th>
-								<th scope="col"><strong>Description</strong></th>
-								<th scope="col"><strong>Poids</strong></th>
-								<th scope="col"><strong>Rattach� �</strong></th>
-							</tr>
-						</thead>
-						<tbody>#SET{compteur_ligne,0}
-							<BOUCLE_AfficheDocuments(DOCUMENTS){media ?}{vu ?}{!par date}{par num titre,titre}{pagination 10}>
-							#SET{compteur_ligne,#GET{compteur_ligne}|plus{1}}[(#SET{lelogo,[(#LOGO_DOCUMENT|image_reduire{24,24})]})]
-							<tr class="[(#GET{compteur_ligne}|alterner{'row_odd','row_even'})]">
-								<td><a href="#URL_DOCUMENT" type="#MIME_TYPE" title="<:ecrire:ical_methode_http:>[: (#TITRE|textebrut|attribut_html|sinon{<:info_document:>})][ ((#TYPE_DOCUMENT)][, (#TAILLE|taille_en_octets))]"><img src="[(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)]" height="[(#GET{lelogo}|hauteur)]" width="[(#GET{lelogo}|largeur)]" alt="Format: #TYPE_DOCUMENT" title="Format: #TYPE_DOCUMENT" /></a></td>
-								<td class="#EDIT{titre}"><a href="#URL_DOCUMENT" type="#MIME_TYPE" title="<:ecrire:ical_methode_http:>[: (#TITRE|textebrut|attribut_html|sinon{<:info_document:>})][ ((#TYPE_DOCUMENT)][, (#TAILLE|taille_en_octets))]">[(#TITRE|sinon{<:ecrire:info_sans_titre:>})]</a></td>
-								<td class="#EDIT{descriptif}">[(#DESCRIPTIF|couper{80})]</td>
-								<td>[(#TAILLE|taille_en_octets)]</td>
-								<td><BOUCLE_liens(documents_liens){id_document}{'<br />'}>
-								[(#ID_OBJET|lien_objet{#OBJET})]
-								</BOUCLE_liens></td>
-							</tr>
-							</BOUCLE_AfficheDocuments>
-						</tbody>
-					</table>
-					<p class="pagination">#PAGINATION{page}</p>
-				</div>
-</B_AfficheDocuments>
-				<p><:soyezcreateurs:recherche_infructueuse:></p>
-<//B_AfficheDocuments>
-			[<div id="carto">
-			(#PLUGIN{GIS}|oui)[(#INCLURE{fond=json/gis_documents,media=#ENV{media},limit=1}|oui)[(#INCLURE{fond=modeles/carte_gis,objets=documents,media=#ENV{media},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 -->
+		<div class="smallchild">
+			#ANCRE_PAGINATION
+			<table class="spip tableaudocs" cellspacing="0">
+				<thead>
+					<tr class="row_first">
+						<th scope="col"><strong>Type</strong></th>
+						<th scope="col"><strong>Titre</strong></th>
+						<th scope="col"><strong>Description</strong></th>
+						<th scope="col"><strong>Poids</strong></th>
+						<th scope="col"><strong>Rattach� �</strong></th>
+					</tr>
+				</thead>
+				<tbody>#SET{compteur_ligne,0}
+					<BOUCLE_AfficheDocuments(DOCUMENTS){media ?}{vu ?}{!par date}{par num titre,titre}{pagination 10}>
+					#SET{compteur_ligne,#GET{compteur_ligne}|plus{1}}[(#SET{lelogo,[(#LOGO_DOCUMENT|image_reduire{24,24})]})]
+					<tr class="[(#GET{compteur_ligne}|alterner{'row_odd','row_even'})]">
+						<td><a href="#URL_DOCUMENT" type="#MIME_TYPE" title="<:ecrire:ical_methode_http:>[: (#TITRE|textebrut|attribut_html|sinon{<:info_document:>})][ ((#TYPE_DOCUMENT)][, (#TAILLE|taille_en_octets))]"><img src="[(#GET{lelogo}|extraire_attribut{src}|embarque_fichier)]" height="[(#GET{lelogo}|hauteur)]" width="[(#GET{lelogo}|largeur)]" alt="Format: #TYPE_DOCUMENT" title="Format: #TYPE_DOCUMENT" /></a></td>
+						<td class="#EDIT{titre}"><a href="#URL_DOCUMENT" type="#MIME_TYPE" title="<:ecrire:ical_methode_http:>[: (#TITRE|textebrut|attribut_html|sinon{<:info_document:>})][ ((#TYPE_DOCUMENT)][, (#TAILLE|taille_en_octets))]">[(#TITRE|sinon{<:ecrire:info_sans_titre:>})]</a></td>
+						<td class="#EDIT{descriptif}">[(#DESCRIPTIF|couper{80})]</td>
+						<td>[(#TAILLE|taille_en_octets)]</td>
+						<td><BOUCLE_liens(documents_liens){id_document}{'<br />'}>
+						[(#ID_OBJET|lien_objet{#OBJET})]
+						</BOUCLE_liens></td>
+					</tr>
+					</BOUCLE_AfficheDocuments>
+				</tbody>
+			</table>
+			<p class="pagination">#PAGINATION{page}</p>
+		</div>
+		</B_AfficheDocuments>
+		<p><:soyezcreateurs:recherche_infructueuse:></p>
+		<//B_AfficheDocuments>
+		[<div id="carto">
+		(#PLUGIN{GIS}|oui)[(#INCLURE{fond=json/gis_documents,media=#ENV{media},limit=1}|oui)[(#INCLURE{fond=modeles/carte_gis,objets=documents,media=#ENV{media},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 -->
 #FILTRE{mini_html}
diff --git a/paquet.xml b/paquet.xml
index 79d2e82a..da22f115 100644
--- a/paquet.xml
+++ b/paquet.xml
@@ -1,7 +1,7 @@
 <paquet
 	prefix="soyezcreateurs"
 	categorie="squelette"
-	version="4.2.5"
+	version="4.2.6"
 	etat="stable"
 	compatibilite="[3.0.25;3.2.*]"
 	logo="img_pack/soyezcreateurs_48.png"
diff --git a/stylessoyezcreateurs.css.html b/stylessoyezcreateurs.css.html
index c56488f7..5bcf3740 100644
--- a/stylessoyezcreateurs.css.html
+++ b/stylessoyezcreateurs.css.html
@@ -1014,7 +1014,7 @@ table.programmation caption { text-align: left; }
 .onglets ul { border-bottom:1px solid [#(#GET{c_cadrestexte_bk}|couleur_inverserluminosite{30})]; padding-bottom:5px; text-align:right; }
 .onglets li { display: inline; margin:0 5px;}
 .onglets li a, .onglets li strong { border:1px solid [#(#GET{c_cadrestexte_bk}|couleur_inverserluminosite{30})]; padding:5px 10px; }
-.onglets li strong { border-bottom-color: #GET{c_container_bk};}
+.onglets li strong { background: #GET{c_container_bk}; border-bottom-color: #GET{c_container_bk};}
 #telecharger .highlight_anchor {
   background: transparent;
   border: none;
@@ -1352,6 +1352,11 @@ strong.agendastatut { padding: .1em 1em; margin-right: 1em; border: 1px solid #F
 #galerie { margin: 3em 0; }
 #galerie dd { padding: 0.2em 1em; margin:0.5em 1em 0 1em; background-color: #GET{c_container_bk}; border: 1px solid [#(#GET{c_container_bk}|couleur_foncerluminosite)]; color: #GET{c_container}; text-align: left; }
 
+/*************** LISTE DOCUMENTS - CONTENT */
+#listedocuments ul { margin-top: 2em; }
+#listedocuments ul { margin-bottom:0; }
+#content table.tableaudocs, table.spip.tableaudocs { margin-top: 0; }
+
 /*************** SIGLES - CONTENT */
 #sigles dt { margin-top: 1em; font-size: 1.2em; font-weight: bold; }
 #sigles dd p { margin-top: 0; }
-- 
GitLab