[MKDoc-commit] File extensions removed so that gif's can be served for IE

chris at mkdoc.demon.co.uk chris at mkdoc.demon.co.uk
Wed May 18 10:12:51 BST 2005


Log Message:
-----------
File extensions removed so that gif's can be served for IE

Tags:
----
mkdoc-1-6

Modified Files:
--------------
    mkd/templates/component/file:
        en.html

-------------- next part --------------
Index: en.html
===================================================================
RCS file: /var/spool/cvs/mkd/templates/component/file/Attic/en.html,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -Ltemplates/component/file/en.html -Ltemplates/component/file/en.html -u -r1.1.2.7 -r1.1.2.8
--- templates/component/file/en.html
+++ templates/component/file/en.html
@@ -16,70 +16,70 @@
     class="file-file"
   >
     <img
-      src="/.static/css/mime/doc.png"
+      src="/.static/css/mime/doc"
       width="48"
       height="48"
       alt="Microsoft Word Document" 
       petal:condition="true: self/extension_is --doc"
     />
     <img
-      src="/.static/css/mime/gif.png"
+      src="/.static/css/mime/gif"
       width="48"
       height="48"
       alt="GIF Image" 
       petal:condition="true: self/extension_is --gif"
     />
     <img
-      src="/.static/css/mime/jpg.png"
+      src="/.static/css/mime/jpg"
       width="48"
       height="48"
       alt="JPEG Image" 
       petal:condition="true: self/extension_is --jpg"
     />
     <img
-      src="/.static/css/mime/pdf.png"
+      src="/.static/css/mime/pdf"
       width="48"
       height="48"
       alt="PDF Document" 
       petal:condition="true: self/extension_is --pdf"
     />
     <img
-      src="/.static/css/mime/png.png"
+      src="/.static/css/mime"
       width="48"
       height="48"
       alt="Portable Network Graphic File" 
-      petal:condition="true: self/extension_is --png"
+      petal:condition="true: self/extension_is -"
     />
     <img
-      src="/.static/css/mime/ppt.png"
+      src="/.static/css/mime/ppt"
       width="48"
       height="48"
       alt="Microsoft Power Point File" 
       petal:condition="true: self/extension_is --ppt"
     />
     <img
-      src="/.static/css/mime/rtf.png"
+      src="/.static/css/mime/rtf"
       width="48"
       height="48"
       alt="Rich Text Format File" 
       petal:condition="true: self/extension_is --rtf"
     />
     <img
-      src="/.static/css/mime/txt.png"
+      src="/.static/css/mime/txt"
       width="48"
       height="48"
       alt="Plain Text File" 
       petal:condition="true: self/extension_is --txt"
     />
     <img
-      src="/.static/css/mime/xls.png"
+      src="/.static/css/mime/xls"
       width="48"
       height="48"
       alt="Microsoft Excel Document" 
       petal:condition="true: self/extension_is --xls"
     />
     <img
-      src="/.static/css/mime/zip.png"
+      src="/.static/css/mime/zip"
       width="48"
       height="48"
       alt="Zip Compressed Archive" 


More information about the MKDoc-commit mailing list