ICONS
resource element in
the Resource File. The format of each line in the ICONS
element is as follows:
<content-type>:
<URL for icon>
<content-type> represents a MIME content-type. <URL for icon> is the URL to the
icon. The special content-type called "unknown
" may be defined to specify the
icon to use for non-recognized content-types. If unknown
is not defined, the
text/plain icon is used for unknown content types.
<icons> audio/basic:http://foo.org/gifs/gsound.gif image/gif:http://foo.org/gifs/gimage.gif image/jpeg:http://foo.org/gifs/gimage.gif image/tiff:http://foo.org/gifs/ggraphic.gif multipart/alternative:http://foo.org/gifs/gmulti.gif multipart/digest:http://foo.org/gifs/gtext.gif multipart/mixed:http://foo.org/gifs/gdoc2.gif multipart/parallel:http://foo.org/gifs/gdoc.gif text/richtext:http://foo.org/gifs/gdoc.gif text/html:http://foo.org/gifs/gdoc.gif text/plain:http://foo.org/gifs/gletter.gif unknown:http://foo.org/gifs/gunknown.gif video/mpeg:http://foo.org/gifs/gmovie.gif </icons>
$ICON$
variable into
the LITEMPLATE
resource element.
<litemplate> $ICONURL$<strong>$SUBJECT:40$</strong> ($NUMFOLUP$) <em>$FROMNAME$</em><br> </litemplate>The
$ICON$
variable expands to the IMG
HTML element with the appropriate
URL in the SRC
attribute to the icon. The ALT
attribute of the IMG
element contains
the content-type of the message, surrounded by []
's, for use with text based
browsers.
$ICONURL$
may also be used if you want redefine the format of the IMG
element.
<litemplate> <img src="$ICONURL$" alt="* "><strong>$SUBJECT:40$</strong> ($NUMFOLUP$) <em>$FROMNAME$</em><br> </litemplate>This example overrides what is normally used in the
ALT
attribute.