Add icon for text files
authorJoey Schulze <joey@infodrom.org>
Sun, 26 May 2013 08:43:09 +0000 (10:43 +0200)
committerJoey Schulze <joey@infodrom.org>
Sun, 26 May 2013 08:45:38 +0000 (10:45 +0200)
images/icons/text.png [new file with mode: 0644]
masks/documents/files.php

diff --git a/images/icons/text.png b/images/icons/text.png
new file mode 100644 (file)
index 0000000..280fd44
Binary files /dev/null and b/images/icons/text.png differ
index 17f9b5c..8cf91e6 100644 (file)
@@ -17,6 +17,7 @@ WHEN substring(lower(path),length(path)-7+1) = 'tar.bz2' THEN '<img src=\"images
 WHEN substring(lower(path),length(path)-3+1) = 'gif' THEN '<img src=\"images/icons/image.gif\" title=\"Download image\">'
 WHEN substring(lower(path),length(path)-3+1) = 'tex' THEN '<img src=\"images/icons/tex.png\" title=\"Download TeX file\">'
 WHEN substring(lower(path),length(path)-3+1) = 'sql' THEN '<img src=\"images/icons/sql.png\" title=\"Download SQL file\">'
+WHEN substring(lower(path),length(path)-3+1) = 'txt' THEN '<img src=\"images/icons/text.png\" title=\"Download text file\">'
 ELSE '<img src=\"images/icons/download.gif\" title=\"download\">'
 END
 ";