| 1 | <html> |
| 2 | <body> |
| 3 | <pre> |
| 4 | <!-- ================================================================== --> |
| 5 | <!-- $Id: icons.mrc,v 1.5 2002/05/04 04:52:52 ehood Exp $ |
| 6 | Earl Hood <earl@earlhood.com> |
| 7 | |
| 8 | This example file makes use of the icons feature of |
| 9 | MHonArc. The icon mappings used work with the |
| 10 | default set of icons provided with the Apache HTTP |
| 11 | server. |
| 12 | --> |
| 13 | <!-- ================================================================== --> |
| 14 | |
| 15 | <!-- In this example, we only do a chronological index. |
| 16 | --> |
| 17 | <b><a href="../resources/main.html"><Main></a></b> |
| 18 | <b><a href="../resources/sort.html"><Sort></a></b> |
| 19 | <b><a href="../resources/thread.html"><NoThread></a></b> |
| 20 | <b><a href="../resources/reverse.html"><NoReverse></a></b> |
| 21 | |
| 22 | <!-- Have LISTBEGIN contain last updated information |
| 23 | --> |
| 24 | <b><a href="../resources/listbegin.html"><ListBegin></a></b> |
| 25 | <address> |
| 26 | Last update: <b><a href="../rcvars.html#LOCALDATE">$LOCALDATE$</a></b><br> |
| 27 | <b><a href="../rcvars.html#NUMOFMSG">$NUMOFMSG$</a></b> messages<br> |
| 28 | </address> |
| 29 | <p> |
| 30 | Messages listed in chronological order. Listing format is the following: |
| 31 | <blockquote> |
| 32 | <img src="/icons/generic.gif" width="20" height="22" alt="* "> |
| 33 | <strong>Subject</strong><code> </code><em>From</em> |
| 34 | </blockquote> |
| 35 | <p> |
| 36 | <hr> |
| 37 | <b></ListBegin></b> |
| 38 | |
| 39 | <!-- A listing template with icon usage. We use <b><a href="../rcvars.html#ICONURL">$ICONURL$</a></b> so |
| 40 | we can customize the IMG element inorder to specify the |
| 41 | an alternate ALT attribute value from what <b><a href="../rcvars.html#ICON">$ICON$</a></b> would give us. |
| 42 | --> |
| 43 | <b><a href="../resources/litemplate.html"><LiTemplate></a></b> |
| 44 | <img src="<b><a href="../rcvars.html#ICONURL">$ICONURL$</a></b>" width="20" height="22" alt="* " |
| 45 | ><strong><b><a href="../rcvars.html#SUBJECT">$SUBJECT$</a></b></strong> <em><b><a href="../rcvars.html#FROMNAME">$FROMNAME$</a></b></em><br> |
| 46 | <b></LiTemplate></b> |
| 47 | |
| 48 | <b><a href="../resources/listend.html"><ListEnd></a></b> |
| 49 | |
| 50 | <b></ListEnd></b> |
| 51 | |
| 52 | <b><a href="../resources/labelstyles.html"><LabelStyles></a></b> |
| 53 | -default- |
| 54 | subject:strong |
| 55 | from:strong |
| 56 | <b></LabelStyles></b> |
| 57 | |
| 58 | <b><a href="../resources/fieldstyles.html"><FieldStyles></a></b> |
| 59 | -default- |
| 60 | subject:strong |
| 61 | from:strong |
| 62 | <b></FieldStyles></b> |
| 63 | |
| 64 | <!-- Specify icons for media-types |
| 65 | --> |
| 66 | <b><a href="../resources/icons.html"><Icons></a></b> |
| 67 | */*;[20x22]/icons/generic.gif |
| 68 | application/*;[20x22]/icons/generic.gif |
| 69 | application/msword;[20x22]/icons/layout.gif |
| 70 | application/octet-stream;[20x22]/icons/binary.gif |
| 71 | application/pdf;[20x22]/icons/pdf.gif |
| 72 | application/postscript;[20x22]/icons/ps.gif |
| 73 | application/rtf;[20x22]/icons/layout.gif |
| 74 | application/x-csh;[20x22]/icons/script.gif |
| 75 | application/x-dvi;[20x22]/icons/dvi.gif |
| 76 | application/x-gtar;[20x22]/icons/tar.gif |
| 77 | application/x-gzip;[20x22]/icons/compressed.gif |
| 78 | application/x-ksh;[20x22]/icons/script.gif |
| 79 | application/x-latex;[20x22]/icons/tex.gif |
| 80 | application/x-patch;[20x22]/icons/patch.gif |
| 81 | application/x-script;[20x22]/icons/script.gif |
| 82 | application/x-sh;[20x22]/icons/script.gif |
| 83 | application/x-tar;[20x22]/icons/tar.gif |
| 84 | application/x-tex;[20x22]/icons/tex.gif |
| 85 | application/x-zip-compressed;[20x22]/icons/compressed.gif |
| 86 | application/zip;[20x22]/icons/compressed.gif |
| 87 | audio/*;[20x22]/icons/sound1.gif |
| 88 | chemical/*;[20x22]/icons/sphere2.gif |
| 89 | image/*;[20x22]/icons/image2.gif |
| 90 | message/external-body;[20x22]/icons/link.gif |
| 91 | multipart/*;[20x22]/icons/layout.gif |
| 92 | text/*;[20x22]/icons/text.gif |
| 93 | video/*;[20x22]/icons/movie.gif |
| 94 | <b></Icons></b> |
| 95 | |
| 96 | <!-- Override MIMEArgs settings to specify external filter to |
| 97 | use icons as part of the link to attachments. |
| 98 | --> |
| 99 | <b><a href="../resources/mimeargs.html"><MIMEArgs override></a></b> |
| 100 | m2h_external::filter; useicon inline |
| 101 | <b></MIMEArgs></b> |
| 102 | </pre> |
| 103 | </body> |
| 104 | </html> |