Index: src/org/opencms/workplace/list/CmsListResourceTypeIconAction.java =================================================================== RCS file: /usr/local/cvs/opencms/src/org/opencms/workplace/list/CmsListResourceTypeIconAction.java,v retrieving revision 1.8 diff -u -r1.8 CmsListResourceTypeIconAction.java --- src/org/opencms/workplace/list/CmsListResourceTypeIconAction.java 18 Jan 2010 10:02:15 -0000 1.8 +++ src/org/opencms/workplace/list/CmsListResourceTypeIconAction.java 20 Jan 2010 18:17:41 -0000 @@ -31,7 +31,9 @@ package org.opencms.workplace.list; +import org.apache.commons.logging.Log; import org.opencms.i18n.CmsMessageContainer; +import org.opencms.main.CmsLog; import org.opencms.main.OpenCms; import org.opencms.util.CmsStringUtil; import org.opencms.workplace.CmsWorkplace; @@ -49,6 +51,9 @@ */ public class CmsListResourceTypeIconAction extends CmsListExplorerDirectAction { + /** The log object for this class. */ + private static final Log LOG = CmsLog.getLog(CmsListResourceTypeIconAction.class); + /** * Default Constructor.

* @@ -148,7 +153,7 @@ html.append(name); html.append("'"); html.append(" style='display: block; width: 20px; height: 20px;'>"); - if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(iconPath)) { + if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(iconPath) && hasFileExtension(iconPath)) { html.append("