diff --git a/.gitattributes b/.gitattributes index c9ec086e59159255f95574de497cd9252e332223..53e772dd2914b86930f00991fdafaa4db0b90747 100644 --- a/.gitattributes +++ b/.gitattributes @@ -11,7 +11,6 @@ dist/inc-rubriques.html -text dist/puce.gif -text dist/puce_rtl.gif -text dist/style_prive.html -text -dist/win_png.html -text dist/win_width.htc -text ecrire/action/autoriser.php -text ecrire/action/ical.php -text diff --git a/dist/win_png.html b/dist/win_png.html deleted file mode 100755 index 5a1c2c8295b85e9bdc2df752a43b73a576363b44..0000000000000000000000000000000000000000 --- a/dist/win_png.html +++ /dev/null @@ -1,50 +0,0 @@ -#CACHE{3600*24} -#HTTP_HEADER{Content-Type:text/x-component; charset=iso-8859-15} -#HTTP_HEADER{Vary: Accept-Encoding} -<public:component> -<public:attach event="onpropertychange" onevent="propertyChanged()" /> -<script> - -var supported = /MSIE (5\.5)|[6789]/.test(navigator.userAgent) && navigator.platform == "Win32"; -var realSrc; -var blankSrc = "[(#CHEMIN{rien.gif}|url_absolue)]"; - -if (supported) fixImage(); - -function propertyChanged() { - if (!supported) return; - - var pName = event.propertyName; - if (pName != "src") return; - // if not set to blank - if ( ! new RegExp(blankSrc).test(src)) - fixImage(); -}; - -function fixImage() { - // get src - var src = element.src; - - // check for real change - if (src == realSrc) { - element.src = blankSrc; - return; - } - - if ( ! new RegExp(blankSrc).test(src)) { - // backup old src - realSrc = src; - } - - // test for png - if ( /\.png$/.test( realSrc.toLowerCase() ) ) { - // set blank image - element.src = blankSrc; - // set filter - element.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + - src + "',sizingMethod='image')"; - } -} - -</script> -</public:component> \ No newline at end of file