Add new TeX and SQL icons
authorJoey Schulze <joey@infodrom.org>
Sun, 19 May 2013 08:57:39 +0000 (10:57 +0200)
committerJoey Schulze <joey@infodrom.org>
Sun, 19 May 2013 09:02:59 +0000 (11:02 +0200)
images/icons/sql.png [new file with mode: 0644]
images/icons/tex.png [new file with mode: 0644]
masks/documents/files.php

diff --git a/images/icons/sql.png b/images/icons/sql.png
new file mode 100644 (file)
index 0000000..29afe09
Binary files /dev/null and b/images/icons/sql.png differ
diff --git a/images/icons/tex.png b/images/icons/tex.png
new file mode 100644 (file)
index 0000000..25a55e7
Binary files /dev/null and b/images/icons/tex.png differ
index 68ec927..17f9b5c 100644 (file)
@@ -15,7 +15,8 @@ WHEN substring(lower(path),length(path)-3+1) = 'ods' THEN '<img src=\"images/ico
 WHEN substring(lower(path),length(path)-6+1) = 'tar.gz' THEN '<img src=\"images/icons/zip.gif\" title=\"Download Tar\">'
 WHEN substring(lower(path),length(path)-7+1) = 'tar.bz2' THEN '<img src=\"images/icons/zip.gif\" title=\"Download Tar\">'
 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) = 'jpg' 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\">'
 ELSE '<img src=\"images/icons/download.gif\" title=\"download\">'
 END
 ";