diff --git a/.gitattributes b/.gitattributes index 672daf32518ac8720866847cf67139e6ccd2feb1..eca76f96d96336f0ccb1b90aa59f33ace9741a40 100644 --- a/.gitattributes +++ b/.gitattributes @@ -234,72 +234,72 @@ dist/puce_rtl.gif -text dist/spip.png -text dist/style_prive.html -text dist/style_prive_defaut.css -text -dist/vignettes/abw-dist.png -text -dist/vignettes/ai-dist.png -text -dist/vignettes/aiff-dist.png -text -dist/vignettes/asf-dist.png -text -dist/vignettes/avi-dist.png -text -dist/vignettes/blend-dist.png -text -dist/vignettes/bmp-dist.png -text -dist/vignettes/bz2-dist.png -text -dist/vignettes/css-dist.png -text -dist/vignettes/deb-dist.png -text -dist/vignettes/defaut-dist.png -text -dist/vignettes/doc-dist.png -text -dist/vignettes/dvi-dist.png -text -dist/vignettes/eps-dist.png -text -dist/vignettes/flv-dist.png -text -dist/vignettes/gif-dist.png -text -dist/vignettes/gz-dist.png -text -dist/vignettes/html-dist.png -text -dist/vignettes/jpg-dist.png -text -dist/vignettes/mid-dist.png -text -dist/vignettes/mov-dist.png -text -dist/vignettes/mp3-dist.png -text -dist/vignettes/mpg-dist.png -text -dist/vignettes/odb-dist.png -text -dist/vignettes/odc-dist.png -text -dist/vignettes/odf-dist.png -text -dist/vignettes/odi-dist.png -text -dist/vignettes/odm-dist.png -text -dist/vignettes/odp-dist.png -text -dist/vignettes/ods-dist.png -text -dist/vignettes/odt-dist.png -text -dist/vignettes/ogg-dist.png -text -dist/vignettes/otg-dist.png -text -dist/vignettes/otp-dist.png -text -dist/vignettes/ots-dist.png -text -dist/vignettes/ott-dist.png -text -dist/vignettes/pdf-dist.png -text -dist/vignettes/pgn-dist.png -text -dist/vignettes/png-dist.png -text -dist/vignettes/ppt-dist.png -text -dist/vignettes/ps-dist.png -text -dist/vignettes/psd-dist.png -text -dist/vignettes/qt-dist.png -text -dist/vignettes/ra-dist.png -text -dist/vignettes/ram-dist.png -text -dist/vignettes/rm-dist.png -text -dist/vignettes/rpm-dist.png -text -dist/vignettes/rtf-dist.png -text -dist/vignettes/sdd-dist.png -text -dist/vignettes/sdw-dist.png -text -dist/vignettes/sit-dist.png -text -dist/vignettes/svg-dist.png -text -dist/vignettes/sxc-dist.png -text -dist/vignettes/sxi-dist.png -text -dist/vignettes/sxw-dist.png -text -dist/vignettes/tex-dist.png -text -dist/vignettes/tgz-dist.png -text -dist/vignettes/tif-dist.png -text -dist/vignettes/torrent-dist.png -text -dist/vignettes/ttf-dist.png -text -dist/vignettes/txt-dist.png -text -dist/vignettes/wav-dist.png -text -dist/vignettes/xcf-dist.png -text -dist/vignettes/xls-dist.png -text -dist/vignettes/xml-dist.png -text -dist/vignettes/zip-dist.png -text +dist/vignettes/abw.png -text +dist/vignettes/ai.png -text +dist/vignettes/aiff.png -text +dist/vignettes/asf.png -text +dist/vignettes/avi.png -text +dist/vignettes/blend.png -text +dist/vignettes/bmp.png -text +dist/vignettes/bz2.png -text +dist/vignettes/css.png -text +dist/vignettes/deb.png -text +dist/vignettes/defaut.png -text +dist/vignettes/doc.png -text +dist/vignettes/dvi.png -text +dist/vignettes/eps.png -text +dist/vignettes/flv.png -text +dist/vignettes/gif.png -text +dist/vignettes/gz.png -text +dist/vignettes/html.png -text +dist/vignettes/jpg.png -text +dist/vignettes/mid.png -text +dist/vignettes/mov.png -text +dist/vignettes/mp3.png -text +dist/vignettes/mpg.png -text +dist/vignettes/odb.png -text +dist/vignettes/odc.png -text +dist/vignettes/odf.png -text +dist/vignettes/odi.png -text +dist/vignettes/odm.png -text +dist/vignettes/odp.png -text +dist/vignettes/ods.png -text +dist/vignettes/odt.png -text +dist/vignettes/ogg.png -text +dist/vignettes/otg.png -text +dist/vignettes/otp.png -text +dist/vignettes/ots.png -text +dist/vignettes/ott.png -text +dist/vignettes/pdf.png -text +dist/vignettes/pgn.png -text +dist/vignettes/png.png -text +dist/vignettes/ppt.png -text +dist/vignettes/ps.png -text +dist/vignettes/psd.png -text +dist/vignettes/qt.png -text +dist/vignettes/ra.png -text +dist/vignettes/ram.png -text +dist/vignettes/rm.png -text +dist/vignettes/rpm.png -text +dist/vignettes/rtf.png -text +dist/vignettes/sdd.png -text +dist/vignettes/sdw.png -text +dist/vignettes/sit.png -text +dist/vignettes/svg.png -text +dist/vignettes/sxc.png -text +dist/vignettes/sxi.png -text +dist/vignettes/sxw.png -text +dist/vignettes/tex.png -text +dist/vignettes/tgz.png -text +dist/vignettes/tif.png -text +dist/vignettes/torrent.png -text +dist/vignettes/ttf.png -text +dist/vignettes/txt.png -text +dist/vignettes/wav.png -text +dist/vignettes/xcf.png -text +dist/vignettes/xls.png -text +dist/vignettes/xml.png -text +dist/vignettes/zip.png -text dist/win_width.htc -text ecrire/action/autoriser.php -text ecrire/action/dater.php -text diff --git a/dist/vignettes/abw-dist.png b/dist/vignettes/abw.png similarity index 100% rename from dist/vignettes/abw-dist.png rename to dist/vignettes/abw.png diff --git a/dist/vignettes/ai-dist.png b/dist/vignettes/ai.png similarity index 100% rename from dist/vignettes/ai-dist.png rename to dist/vignettes/ai.png diff --git a/dist/vignettes/aiff-dist.png b/dist/vignettes/aiff.png similarity index 100% rename from dist/vignettes/aiff-dist.png rename to dist/vignettes/aiff.png diff --git a/dist/vignettes/asf-dist.png b/dist/vignettes/asf.png similarity index 100% rename from dist/vignettes/asf-dist.png rename to dist/vignettes/asf.png diff --git a/dist/vignettes/avi-dist.png b/dist/vignettes/avi.png similarity index 100% rename from dist/vignettes/avi-dist.png rename to dist/vignettes/avi.png diff --git a/dist/vignettes/blend-dist.png b/dist/vignettes/blend.png similarity index 100% rename from dist/vignettes/blend-dist.png rename to dist/vignettes/blend.png diff --git a/dist/vignettes/bmp-dist.png b/dist/vignettes/bmp.png similarity index 100% rename from dist/vignettes/bmp-dist.png rename to dist/vignettes/bmp.png diff --git a/dist/vignettes/bz2-dist.png b/dist/vignettes/bz2.png similarity index 100% rename from dist/vignettes/bz2-dist.png rename to dist/vignettes/bz2.png diff --git a/dist/vignettes/css-dist.png b/dist/vignettes/css.png similarity index 100% rename from dist/vignettes/css-dist.png rename to dist/vignettes/css.png diff --git a/dist/vignettes/deb-dist.png b/dist/vignettes/deb.png similarity index 100% rename from dist/vignettes/deb-dist.png rename to dist/vignettes/deb.png diff --git a/dist/vignettes/defaut-dist.png b/dist/vignettes/defaut.png similarity index 100% rename from dist/vignettes/defaut-dist.png rename to dist/vignettes/defaut.png diff --git a/dist/vignettes/doc-dist.png b/dist/vignettes/doc.png similarity index 100% rename from dist/vignettes/doc-dist.png rename to dist/vignettes/doc.png diff --git a/dist/vignettes/dvi-dist.png b/dist/vignettes/dvi.png similarity index 100% rename from dist/vignettes/dvi-dist.png rename to dist/vignettes/dvi.png diff --git a/dist/vignettes/eps-dist.png b/dist/vignettes/eps.png similarity index 100% rename from dist/vignettes/eps-dist.png rename to dist/vignettes/eps.png diff --git a/dist/vignettes/flv-dist.png b/dist/vignettes/flv.png similarity index 100% rename from dist/vignettes/flv-dist.png rename to dist/vignettes/flv.png diff --git a/dist/vignettes/gif-dist.png b/dist/vignettes/gif.png similarity index 100% rename from dist/vignettes/gif-dist.png rename to dist/vignettes/gif.png diff --git a/dist/vignettes/gz-dist.png b/dist/vignettes/gz.png similarity index 100% rename from dist/vignettes/gz-dist.png rename to dist/vignettes/gz.png diff --git a/dist/vignettes/html-dist.png b/dist/vignettes/html.png similarity index 100% rename from dist/vignettes/html-dist.png rename to dist/vignettes/html.png diff --git a/dist/vignettes/jpg-dist.png b/dist/vignettes/jpg.png similarity index 100% rename from dist/vignettes/jpg-dist.png rename to dist/vignettes/jpg.png diff --git a/dist/vignettes/mid-dist.png b/dist/vignettes/mid.png similarity index 100% rename from dist/vignettes/mid-dist.png rename to dist/vignettes/mid.png diff --git a/dist/vignettes/mov-dist.png b/dist/vignettes/mov.png similarity index 100% rename from dist/vignettes/mov-dist.png rename to dist/vignettes/mov.png diff --git a/dist/vignettes/mp3-dist.png b/dist/vignettes/mp3.png similarity index 100% rename from dist/vignettes/mp3-dist.png rename to dist/vignettes/mp3.png diff --git a/dist/vignettes/mpg-dist.png b/dist/vignettes/mpg.png similarity index 100% rename from dist/vignettes/mpg-dist.png rename to dist/vignettes/mpg.png diff --git a/dist/vignettes/odb-dist.png b/dist/vignettes/odb.png similarity index 100% rename from dist/vignettes/odb-dist.png rename to dist/vignettes/odb.png diff --git a/dist/vignettes/odc-dist.png b/dist/vignettes/odc.png similarity index 100% rename from dist/vignettes/odc-dist.png rename to dist/vignettes/odc.png diff --git a/dist/vignettes/odf-dist.png b/dist/vignettes/odf.png similarity index 100% rename from dist/vignettes/odf-dist.png rename to dist/vignettes/odf.png diff --git a/dist/vignettes/odi-dist.png b/dist/vignettes/odi.png similarity index 100% rename from dist/vignettes/odi-dist.png rename to dist/vignettes/odi.png diff --git a/dist/vignettes/odm-dist.png b/dist/vignettes/odm.png similarity index 100% rename from dist/vignettes/odm-dist.png rename to dist/vignettes/odm.png diff --git a/dist/vignettes/odp-dist.png b/dist/vignettes/odp.png similarity index 100% rename from dist/vignettes/odp-dist.png rename to dist/vignettes/odp.png diff --git a/dist/vignettes/ods-dist.png b/dist/vignettes/ods.png similarity index 100% rename from dist/vignettes/ods-dist.png rename to dist/vignettes/ods.png diff --git a/dist/vignettes/odt-dist.png b/dist/vignettes/odt.png similarity index 100% rename from dist/vignettes/odt-dist.png rename to dist/vignettes/odt.png diff --git a/dist/vignettes/ogg-dist.png b/dist/vignettes/ogg.png similarity index 100% rename from dist/vignettes/ogg-dist.png rename to dist/vignettes/ogg.png diff --git a/dist/vignettes/otg-dist.png b/dist/vignettes/otg.png similarity index 100% rename from dist/vignettes/otg-dist.png rename to dist/vignettes/otg.png diff --git a/dist/vignettes/otp-dist.png b/dist/vignettes/otp.png similarity index 100% rename from dist/vignettes/otp-dist.png rename to dist/vignettes/otp.png diff --git a/dist/vignettes/ots-dist.png b/dist/vignettes/ots.png similarity index 100% rename from dist/vignettes/ots-dist.png rename to dist/vignettes/ots.png diff --git a/dist/vignettes/ott-dist.png b/dist/vignettes/ott.png similarity index 100% rename from dist/vignettes/ott-dist.png rename to dist/vignettes/ott.png diff --git a/dist/vignettes/pdf-dist.png b/dist/vignettes/pdf.png similarity index 100% rename from dist/vignettes/pdf-dist.png rename to dist/vignettes/pdf.png diff --git a/dist/vignettes/pgn-dist.png b/dist/vignettes/pgn.png similarity index 100% rename from dist/vignettes/pgn-dist.png rename to dist/vignettes/pgn.png diff --git a/dist/vignettes/png-dist.png b/dist/vignettes/png.png similarity index 100% rename from dist/vignettes/png-dist.png rename to dist/vignettes/png.png diff --git a/dist/vignettes/ppt-dist.png b/dist/vignettes/ppt.png similarity index 100% rename from dist/vignettes/ppt-dist.png rename to dist/vignettes/ppt.png diff --git a/dist/vignettes/ps-dist.png b/dist/vignettes/ps.png similarity index 100% rename from dist/vignettes/ps-dist.png rename to dist/vignettes/ps.png diff --git a/dist/vignettes/psd-dist.png b/dist/vignettes/psd.png similarity index 100% rename from dist/vignettes/psd-dist.png rename to dist/vignettes/psd.png diff --git a/dist/vignettes/qt-dist.png b/dist/vignettes/qt.png similarity index 100% rename from dist/vignettes/qt-dist.png rename to dist/vignettes/qt.png diff --git a/dist/vignettes/ra-dist.png b/dist/vignettes/ra.png similarity index 100% rename from dist/vignettes/ra-dist.png rename to dist/vignettes/ra.png diff --git a/dist/vignettes/ram-dist.png b/dist/vignettes/ram.png similarity index 100% rename from dist/vignettes/ram-dist.png rename to dist/vignettes/ram.png diff --git a/dist/vignettes/rm-dist.png b/dist/vignettes/rm.png similarity index 100% rename from dist/vignettes/rm-dist.png rename to dist/vignettes/rm.png diff --git a/dist/vignettes/rpm-dist.png b/dist/vignettes/rpm.png similarity index 100% rename from dist/vignettes/rpm-dist.png rename to dist/vignettes/rpm.png diff --git a/dist/vignettes/rtf-dist.png b/dist/vignettes/rtf.png similarity index 100% rename from dist/vignettes/rtf-dist.png rename to dist/vignettes/rtf.png diff --git a/dist/vignettes/sdd-dist.png b/dist/vignettes/sdd.png similarity index 100% rename from dist/vignettes/sdd-dist.png rename to dist/vignettes/sdd.png diff --git a/dist/vignettes/sdw-dist.png b/dist/vignettes/sdw.png similarity index 100% rename from dist/vignettes/sdw-dist.png rename to dist/vignettes/sdw.png diff --git a/dist/vignettes/sit-dist.png b/dist/vignettes/sit.png similarity index 100% rename from dist/vignettes/sit-dist.png rename to dist/vignettes/sit.png diff --git a/dist/vignettes/svg-dist.png b/dist/vignettes/svg.png similarity index 100% rename from dist/vignettes/svg-dist.png rename to dist/vignettes/svg.png diff --git a/dist/vignettes/sxc-dist.png b/dist/vignettes/sxc.png similarity index 100% rename from dist/vignettes/sxc-dist.png rename to dist/vignettes/sxc.png diff --git a/dist/vignettes/sxi-dist.png b/dist/vignettes/sxi.png similarity index 100% rename from dist/vignettes/sxi-dist.png rename to dist/vignettes/sxi.png diff --git a/dist/vignettes/sxw-dist.png b/dist/vignettes/sxw.png similarity index 100% rename from dist/vignettes/sxw-dist.png rename to dist/vignettes/sxw.png diff --git a/dist/vignettes/tex-dist.png b/dist/vignettes/tex.png similarity index 100% rename from dist/vignettes/tex-dist.png rename to dist/vignettes/tex.png diff --git a/dist/vignettes/tgz-dist.png b/dist/vignettes/tgz.png similarity index 100% rename from dist/vignettes/tgz-dist.png rename to dist/vignettes/tgz.png diff --git a/dist/vignettes/tif-dist.png b/dist/vignettes/tif.png similarity index 100% rename from dist/vignettes/tif-dist.png rename to dist/vignettes/tif.png diff --git a/dist/vignettes/torrent-dist.png b/dist/vignettes/torrent.png similarity index 100% rename from dist/vignettes/torrent-dist.png rename to dist/vignettes/torrent.png diff --git a/dist/vignettes/ttf-dist.png b/dist/vignettes/ttf.png similarity index 100% rename from dist/vignettes/ttf-dist.png rename to dist/vignettes/ttf.png diff --git a/dist/vignettes/txt-dist.png b/dist/vignettes/txt.png similarity index 100% rename from dist/vignettes/txt-dist.png rename to dist/vignettes/txt.png diff --git a/dist/vignettes/wav-dist.png b/dist/vignettes/wav.png similarity index 100% rename from dist/vignettes/wav-dist.png rename to dist/vignettes/wav.png diff --git a/dist/vignettes/xcf-dist.png b/dist/vignettes/xcf.png similarity index 100% rename from dist/vignettes/xcf-dist.png rename to dist/vignettes/xcf.png diff --git a/dist/vignettes/xls-dist.png b/dist/vignettes/xls.png similarity index 100% rename from dist/vignettes/xls-dist.png rename to dist/vignettes/xls.png diff --git a/dist/vignettes/xml-dist.png b/dist/vignettes/xml.png similarity index 100% rename from dist/vignettes/xml-dist.png rename to dist/vignettes/xml.png diff --git a/dist/vignettes/zip-dist.png b/dist/vignettes/zip.png similarity index 100% rename from dist/vignettes/zip-dist.png rename to dist/vignettes/zip.png diff --git a/ecrire/inc/documents.php b/ecrire/inc/documents.php index 2b05a07db444a75dbe89f12c3dcc08b209d21d44..71c9e1a01536469541d64a4ba9b13df760b649f7 100644 --- a/ecrire/inc/documents.php +++ b/ecrire/inc/documents.php @@ -31,7 +31,7 @@ function vignette_par_defaut($ext, $size=true, $loop = true) { if (!@file_exists($v = _DIR_IMG_ICONES . $ext.'.png') AND !@file_exists($v = _DIR_IMG_ICONES . $ext.'.gif') # icones standard - AND !@file_exists($v = _DIR_IMG_ICONES_DIST . $ext.'-dist.png') + AND !@file_exists($v = _DIR_IMG_ICONES_DIST . $ext.'.png') # cas d'une install dans un repertoire "applicatif"... AND !@file_exists(_ROOT_IMG_ICONES_DIST . $v) )