Revision daadfde6

b/src/gr/ebs/gss/client/FileList.java
635 635
		mimetype = mimetype.toLowerCase();
636 636
		if (mimetype.startsWith("application/pdf"))
637 637
			return shared ? images.pdfShared() : images.pdf();
638
		else if (mimetype.startsWith("application/vnd.ms-excel"))
638
		else if (mimetype.endsWith("excel"))
639 639
			return shared ? images.spreadsheetShared() : images.spreadsheet();
640
		else if (mimetype.startsWith("application/msword"))
640
		else if (mimetype.endsWith("msword"))
641 641
			return shared ? images.wordprocessorShared() : images.wordprocessor();
642
		else if (mimetype.startsWith("application/vnd.ms-powerpoint"))
642
		else if (mimetype.endsWith("powerpoint"))
643 643
			return shared ? images.presentationShared() : images.presentation();
644 644
		else if (mimetype.startsWith("application/zip") ||
645 645
					mimetype.startsWith("application/gzip") ||
b/src/gr/ebs/gss/server/ejb/indexer/IndexerMDBean.java
135 135
					type = "text";
136 136
				else if (mime.equals("text/html"))
137 137
					type = "html";
138
				else if (mime.equals("application/msword"))
138
				else if (mime.endsWith("msword"))
139 139
					type = "doc";
140
				else if (mime.equals("application/vnd.ms-excel"))
140
				else if (mime.endsWith("ms-excel"))
141 141
					type = "xls";
142
				else if (mime.equals("application/vnd.ms-powerpoint"))
142
				else if (mime.endsWith("powerpoint"))
143 143
					type = "ppt";
144 144
				else
145 145
					nofile = true;

Also available in: Unified diff