From dd7e774c9f020ac957f39644b5bc37dfe7b0f949 Mon Sep 17 00:00:00 2001
From: Antoine Pitrou <pitrou@free.fr>
Date: Wed, 2 Oct 2002 23:03:20 +0000
Subject: [PATCH] ajout types openoffice

---
 ecrire/inc_base.php3 | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ecrire/inc_base.php3 b/ecrire/inc_base.php3
index 8d3f062ea1..ef49912961 100644
--- a/ecrire/inc_base.php3
+++ b/ecrire/inc_base.php3
@@ -482,7 +482,7 @@ function remplir_type_documents() {
 		"('psd', 'Photoshop', 'image'), ".
 		"('tif', 'TIFF', 'image')";
 	spip_query($query);
-	
+
 	$query = "INSERT IGNORE spip_types_documents (extension, titre, inclus) VALUES ".
 		"('aiff', 'AIFF', 'embed'), ".
 		"('asf', 'Windows Media', 'embed'), ".
@@ -505,6 +505,8 @@ function remplir_type_documents() {
 		"('ram', 'RealAudio', 'embed'), ".
 		"('rm', 'RealAudio', 'embed'), ".
 		"('rtf', 'RTF', 'non'), ".
+		"('sdd', 'OpenOffice', 'non'), ".
+		"('sdw', 'OpenOffice Impress', 'non'), ".
 		"('sit', 'Stuffit', 'non'), ".
 		"('swf', 'Flash', 'embed'), ".
 		"('tgz', 'TGZ', 'non'), ".
@@ -1044,4 +1046,4 @@ function maj_base() {
 	spip_query("REPLACE spip_meta (nom, valeur) VALUES ('version_installee', '$spip_version')");
 }
 
-?>
\ No newline at end of file
+?>
-- 
GitLab