code: private static String getSmallTypeIconHTML(String type, boolean isPageOverlay) {
  
          CmsExplorerTypeSettings typeSettings = OpenCms.getWorkplaceManager().getExplorerTypeSetting(type);
          if ((typeSettings == null) && LOG.isWarnEnabled()) {
              LOG.warn("Could not read explorer type settings for " + type);
          }
          String result = null;
          String overlayClass = isPageOverlay ? "o-page-icon-overlay" : "o-icon-overlay";
          if (typeSettings != null) {
              if (typeSettings.getSmallIconStyle() != null) {
                  result = "<span class=\"v-icon "
                      + overlayClass
                      + " "
                      + typeSettings.getSmallIconStyle()
                      + "\">&nbsp;</span>";
              } else if (typeSettings.getIcon() != null) {
                  result = "<img src=\""
                      + CmsWorkplace.getResourceUri(CmsWorkplace.RES_PATH_FILETYPES + typeSettings.getIcon())
                      + "\" class=\""
                      + overlayClass
                      + "\" />";
              } else {
                  result = "<span class=\"v-icon "
                      + overlayClass
                      + " "
                      + CmsExplorerTypeSettings.ICON_STYLE_DEFAULT_SMALL
                      + "\">&nbsp;</span>";
              }
          }
          return result;
      }
docs: Returns the URI of the small resource type icon for the given type.<p>
  
  @param type the resource type name
  @param isPageOverlay <code>true</code> in case this is a page overlay and not a folder overlay
  
  @return the icon URI