[Agora-commits] agora/ecrire inc_documents.php3,1.47,1.48

oliviermansour at adullact1.hosting.cri74.org oliviermansour at adullact1.hosting.cri74.org
Lun 5 Sep 11:36:01 CEST 2005


Update of /cvsroot/agora/agora/ecrire
In directory adullact1:/tmp/cvs-serv503/ecrire

Modified Files:
	inc_documents.php3 
Log Message:
The "align", "border", "hspace", and "vspace" attributes of the image element are not supported in XHTML 1.0 Strict DTD. (thomas said)

Index: inc_documents.php3
===================================================================
RCS file: /cvsroot/agora/agora/ecrire/inc_documents.php3,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- inc_documents.php3	5 Sep 2005 09:29:57 -0000	1.47
+++ inc_documents.php3	5 Sep 2005 09:35:59 -0000	1.48
@@ -1513,7 +1513,7 @@
 			$block = "doc_vignette $id_document";
 			list($icone, $largeur_icone, $hauteur_icone) = vignette_par_defaut($type_extension);
 			if ($icone) {
-				echo "<a href='$fichier'><img src='$icone' border='0' width='$largeur_icone' align='top' height='$hauteur_icone'></a>\n";
+				echo "<a href='$fichier'><img src='$icone' border='0' width='$largeur_icone'  height='$hauteur_icone'></a>\n";
 			}
 			echo "</div>\n";
 			echo "<font size='2'>\n";




Plus d'informations sur la liste de diffusion Agora-commits