diff --git a/.gitattributes b/.gitattributes
index 3431dedd8e2166e1450638d309afc6f02682569e..c4ff6b1541a9018d1da939836faeebbb1df5a2e6 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -21,6 +21,7 @@ IMG/icones/mp3-dist.png -text
 IMG/icones/mpg-dist.png -text
 IMG/icones/ogg-dist.png -text
 IMG/icones/pdf-dist.png -text
+IMG/icones/pgn.gif svneol=native#unset
 IMG/icones/png-dist.png -text
 IMG/icones/ppt-dist.png -text
 IMG/icones/ps-dist.png -text
diff --git a/IMG/icones/pgn.gif b/IMG/icones/pgn.gif
new file mode 100644
index 0000000000000000000000000000000000000000..9a6f40e4a6ade836dc32f5853a3ecfb6b622c86e
Binary files /dev/null and b/IMG/icones/pgn.gif differ
diff --git a/ecrire/inc_typebase.php3 b/ecrire/inc_typebase.php3
index fa91b5054c447cde56a3e54fcda025cccb16f727..2cca2cd2a5843d6ba2185d8430df67b1778b4eed 100644
--- a/ecrire/inc_typebase.php3
+++ b/ecrire/inc_typebase.php3
@@ -67,6 +67,7 @@ $tables_documents = array(
 			  'html' => 'HTML',
 			  'pas' => 'Pascal',
 			  'pdf' => 'PDF',
+			  'pgn' => 'Portable Game Notation',
 			  'ppt' => 'PowerPoint',
 			  'ps' => 'PostScript',
 			  'rpm' => 'RedHat/Mandrake/SuSE',
@@ -130,6 +131,7 @@ $tables_mime = array(
 		'html'=>'text/html',
 		'pas'=>'text/x-pascal',
 		'pdf'=>'application/pdf',
+		'pgn' =>'application/x-chess-pgn',
 		'ppt'=>'application/vnd.ms-powerpoint',
 		'ps' =>'application/postscript',
 		'rpm'=>'application/x-redhat-package-manager',