|
ICONSSyntax
DescriptionThe ICONS resource is used to specify the icons that represent the different content-types of messages. This resource is used to define the possible expanded values of the $ICON$ resource variable. The ICON resource can only be defined via the resource file element.
The format of each line in the content-type:url The definition of each item is a follows:
In order to have icons appear in your pages, use the $ICON$ resource variable. For example: <LiTemplate> $ICON$ <strong>$SUBJECT:40$</strong> <em>$FROMNAME$</em><br> </LiTemplate> The The $ICONURL$ resource
variable may be used if you want redefine the format of the
<LiTemplate> <img src="$ICONURL$" alt="*"> <strong>$SUBJECT:40$</strong> <em>$FROMNAME$</em><br> </LiTemplate> Default SettingNil. Resource VariablesN/A ExamplesThe following example works well if using the Apache HTTP server and the default set of icons that are provided with it: <Icons> application/*;[20x22]/icons/generic.gif application/msword;[20x22]/icons/layout.gif application/postscript;[20x22]/icons/ps.gif application/rtf;[20x22]/icons/layout.gif application/x-csh;[20x22]/icons/script.gif application/x-dvi;[20x22]/icons/dvi.gif application/x-gtar;[20x22]/icons/tar.gif application/x-gzip;[20x22]/icons/compressed.gif application/x-ksh;[20x22]/icons/script.gif application/x-latex;[20x22]/icons/tex.gif application/octet-stream;[20x22]/icons/binary.gif application/x-patch;[20x22]/icons/patch.gif application/pdf;[20x22]/icons/pdf.gif application/x-script;[20x22]/icons/script.gif application/x-sh;[20x22]/icons/script.gif application/x-tar;[20x22]/icons/tar.gif application/x-tex;[20x22]/icons/tex.gif application/x-zip-compressed;[20x22]/icons/compressed.gif application/zip;[20x22]/icons/compressed.gif audio/*;[20x22]/icons/sound1.gif chemical/*;[20x22]/icons/sphere2.gif image/*;[20x22]/icons/image2.gif message/external-body;[20x22]/icons/link.gif multipart/*;[20x22]/icons/layout.gif text/*;[20x22]/icons/text.gif video/*;[20x22]/icons/movie.gif */*;[20x22]/icons/generic.gif </Icons> Version1.0 See Also$ICON$, $ICONURL$, LITEMPLATE, TLITXT, TSINGLETXT, TTOPBEGIN The m2h_external::filter mime filter.
$Date: 2002/07/27 05:13:10 $ MHonArc Copyright © 1997-2001, Earl Hood, mhonarc@mhonarc.org |