From 619ae41f092ad425fd8db676c7a58d0434fe1d56 Mon Sep 17 00:00:00 2001
From: Antoine Pitrou <pitrou@free.fr>
Date: Fri, 15 Mar 2002 19:56:02 +0000
Subject: [PATCH] =?UTF-8?q?Les=20icones=20dans=20un=20r=C3=A9pertoire=20sp?=
 =?UTF-8?q?=C3=A9cifique=20(plus=20pratique=20pour=20le=20webmaster).?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitattributes                                 |   6 +++---
 IMG/{ => icones}/type_defaut-dist.png          | Bin
 IMG/{type_ram.png => icones/type_ram-dist.png} | Bin
 IMG/{type_rm.png => icones/type_rm-dist.png}   | Bin
 ecrire/inc_texte.php3                          |   4 ++--
 5 files changed, 5 insertions(+), 5 deletions(-)
 rename IMG/{ => icones}/type_defaut-dist.png (100%)
 rename IMG/{type_ram.png => icones/type_ram-dist.png} (100%)
 rename IMG/{type_rm.png => icones/type_rm-dist.png} (100%)

diff --git a/.gitattributes b/.gitattributes
index 0470abbe29..fd0718e817 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,8 +1,8 @@
 * text=auto !eol
 IMG/document-vierge.gif -text
-IMG/type_defaut-dist.png -text
-IMG/type_ram.png -text
-IMG/type_rm.png -text
+IMG/icones/type_defaut-dist.png -text
+IMG/icones/type_ram-dist.png -text
+IMG/icones/type_rm-dist.png -text
 NAVPICS/big-logo-spip.gif -text
 NAVPICS/logo-spip.gif -text
 NAVPICS/medium-logo-spip.gif -text
diff --git a/IMG/type_defaut-dist.png b/IMG/icones/type_defaut-dist.png
similarity index 100%
rename from IMG/type_defaut-dist.png
rename to IMG/icones/type_defaut-dist.png
diff --git a/IMG/type_ram.png b/IMG/icones/type_ram-dist.png
similarity index 100%
rename from IMG/type_ram.png
rename to IMG/icones/type_ram-dist.png
diff --git a/IMG/type_rm.png b/IMG/icones/type_rm-dist.png
similarity index 100%
rename from IMG/type_rm.png
rename to IMG/icones/type_rm-dist.png
diff --git a/ecrire/inc_texte.php3 b/ecrire/inc_texte.php3
index 03d1776f02..06bc8ac5f6 100644
--- a/ecrire/inc_texte.php3
+++ b/ecrire/inc_texte.php3
@@ -69,9 +69,9 @@ function ereg_remplace($cherche_tableau, $remplace_tableau, $texte) {
 //
 function vignette_par_defaut($type_extension, $align = '') {
 	if ($GLOBALS['flag_ecrire'])
-		$img = "../IMG";
+		$img = "../IMG/icones";
 	else
-		$img = "IMG";
+		$img = "IMG/icones";
 
 	$filename = "$img/type_$type_extension";
 
-- 
GitLab