From 5e35ae2a19fba9e79a1b71d951d7f322b864c001 Mon Sep 17 00:00:00 2001
From: Andreas Gohr <andi@splitbrain.org>
Date: Fri, 14 Oct 2005 21:32:52 +0200
Subject: [PATCH] added missing file icon #589

darcs-hash:20051014193252-7ad00-8f7fdf928fb5a48085749ad2cb923a5cebf701fb.gz
---
 file.png             | Bin 0 -> 377 bytes
 inc/parser/xhtml.php |   4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 create mode 100644 file.png

diff --git a/file.png b/file.png
new file mode 100644
index 0000000000000000000000000000000000000000..a723c74f0c2aff4fce0c82ca00de679fe2b08204
GIT binary patch
literal 377
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<w6XvX4FM)i?64!{5
z;QX|b^2DN42FH~Aq*MjZ+{E<Mpwz^a%EFVWHb6xN0X`wFE6@GE^6WnlghzBl&AHaI
z`sUlO|1+{@PM9#^@SXo<jT^rG`d?nX^!fAWPu_!+nJDR`0`&@%1o;Jn_(*`^fpV-Q
zP;RrQi(^Q|t)vI(iK(fqiF$EybqWj|3T$;@Y8(%e7`qu*1ST=4N3bX~2r#{Q^Cm{-
z&mRWHBL~hii9Se9dBDg8l#gLGmv&)LXh>kXbEijuv4O#fgCTSSGb;lVM-rR4u(Y(i
zdIV5fL2Jj&9X}hG&Nu*-FmW<W-E3%7<irA0rNQu|=_g1d6W52vN&_&%-~gisP?N-u
onG+cTz>J@k6Bz969U2%Jj-Fx{YYVh}2y{M!r>mdKI;Vst005ziPyhe`

literal 0
HcmV?d00001

diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index fb833cc4e..037bb24d6 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -723,7 +723,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
              }elseif(@file_exists(DOKU_INC.'lib/images/fileicons/'.$ext.'.gif')){
                  $link['style']='background-image: url('.DOKU_BASE.'lib/images/fileicons/'.$ext.'.gif)';
              }else{
-                 $link['style']='background-image: url('.DOKU_BASE.'lib/images/fileicons/file.gif)';
+                 $link['style']='background-image: url('.DOKU_BASE.'lib/images/fileicons/file.png)';
              }
              $link['url'] = ml($src,array('id'=>$ID,'cache'=>$cache),true);
          }
@@ -769,7 +769,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
              }elseif(@file_exists(DOKU_INC.'lib/images/fileicons/'.$ext.'.gif')){
                  $link['style']='background-image: url('.DOKU_BASE.'lib/images/fileicons/'.$ext.'.gif)';
              }else{
-                 $link['style']='background-image: url('.DOKU_BASE.'lib/images/fileicons/file.gif)';
+                 $link['style']='background-image: url('.DOKU_BASE.'lib/images/fileicons/file.png)';
              }
          }
 
-- 
GitLab