From 637a0188d1db77ae5b686a355522b6d5fc9f1ac6 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Tue, 24 Jan 2006 10:22:21 +0000
Subject: [PATCH] =?UTF-8?q?bug=20sur=20un=20title=3D"..."=20pas=20filtr?=
 =?UTF-8?q?=C3=A9=20par=20attribut=5Fhtml?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 ecrire/inc_statistiques_repartition.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecrire/inc_statistiques_repartition.php b/ecrire/inc_statistiques_repartition.php
index 2d469fe8e1..e3e5241e4f 100644
--- a/ecrire/inc_statistiques_repartition.php
+++ b/ecrire/inc_statistiques_repartition.php
@@ -62,7 +62,7 @@ function enfants_aff($id_parent,$decalage, $critere, $gauche=0) {
 	while($row = spip_fetch_array($result)){
 		$id_rubrique = $row['id_rubrique'];
 		$titre = typo($row['titre']);
-		$descriptif = typo($row['descriptif']);
+		$descriptif = attribut_html(couper(typo($row['descriptif']),80));
 
 		if ($nombre_vis[$id_rubrique]>0 OR $nombre_abs[$id_rubrique]>0){
 			$largeur_rouge = floor(($nombre_vis[$id_rubrique] - $nombre_abs[$id_rubrique]) * $taille / $abs_total);
@@ -94,7 +94,7 @@ function enfants_aff($id_parent,$decalage, $critere, $gauche=0) {
 				if ( $largeur_rouge > 2) echo bouton_block_invisible("stats$id_rubrique");
 				
 				echo "<span class='verdana1'>";	
-				echo "<A href='" . generer_url_ecrire("naviguer","id_rubrique=$id_rubrique") . "' style='color: black;' title='$descriptif'>$titre</A>";
+				echo "<A href='" . generer_url_ecrire("naviguer","id_rubrique=$id_rubrique") . "' style='color: black;' title=\"$descriptif\">$titre</A>";
 				
 				
 				echo "</span>";
-- 
GitLab