1 <!-- $Id: common.mrc.in.dist,v 1.17 2002/07/23 05:51:46 ehood Exp $ -->
2 <!-- ================================================================== -->
3 <!-- MHonArc Resource File for Mail Archives -->
5 This is the main resource file for the mail archives.
6 it contains all the common formatting characteristics
7 used across archives. Archive specific settings can
8 be set via command-line options the bin/web-archive
11 <!-- ================================================================== -->
13 <!-- CONLEN should only be set of Content-Length is accurate for the
14 system. Mail delivery under Solaris sets it properly.
15 XXX: Should probably move this to command-line invocation.
19 <!-- Added POSIXSTRFTIME so that we can print out timezone specs for
20 archive generation (RT #244804) - baughj, 2005.06.16
24 <!-- Added for rt#106039 -- bernie -->
25 <!-- And #592561 and #592561, importantly also adding the html header line below in IdxPgBegin and MsgPgBegin -- ward -->
27 utf-8; MHonArc::UTF8::to_utf8; MHonArc/UTF8.pm
30 <-- With data translated to UTF-8, it simplifies CHARSETCONVERTERS -->
31 <CharsetConverters override>
32 default; mhonarc::htmlize
35 <-- Need to also register UTF-8-aware text clipping function -->
37 MHonArc::UTF8::clip; MHonArc/UTF8.pm
40 <!-- ================================================================== -->
41 <!-- Custom Variable Defintions -->
42 <!-- ================================================================== -->
44 The following variables defined by the web-archive program
46 $ALL-LISTS-URL$ URL to all archive listing.
47 $CUR-PERIOD$ Current period in YYYY or YYYY-MM format.
48 $LIST-NAME$ Archive/list name and search index name.
49 $LIST-TITLE$ Archive/list title: generally equals
50 $LIST-NAME$, but can be different like for
52 $PNAV-CGI$ URL to period navigation cgi program.
53 $SEARCH-CGI$ URL to search cgi program.
59 $_ = 'address@hidden';
62 <!-- Variables representing period links for index pages.
76 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev">$PREV-PERIOD-LABEL$</a>]
81 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next">$NEXT-PERIOD-LABEL$</a>]
86 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev&t=t">$PREV-PERIOD-LABEL$</a>]
91 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next&t=t">$NEXT-PERIOD-LABEL$</a>]
94 <!-- Variable representing markup of search form.
98 <form method="get" action="$SEARCH-CGI$">
99 <input type="text" name="query" size="30">
100 <input type="submit" name="submit" value="Search">
101 <input type="hidden" name="idxname" value="$LIST-NAME$">
102 <a href="$SEARCH-CGI$?idxname=$LIST-NAME$">Advanced</a>
108 [<b><a href="$TIDXFNAME$">Thread Index</a></b>]
113 [<b><a href="$IDXFNAME$">Date Index</a></b>]
116 <!-- Main index page nav links if MULTIPG is ever used.
117 This variable could be reference by list-specific resource files
118 if MULTIPG is activated.
123 <table width="100%" border=0 cellpadding=0 cellspacing=0>
125 <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
128 ><small>[<a href="$PG(FIRST)$">First Page</a>]</small></td>
129 <td align="right"><small>$PGLINK(PREV)$</small></td>
130 <td align="left"><small>$PGLINK(NEXT)$</small></td>
131 <td align="right"><small>[<a href="$PG(LAST)$">Last Page</a>]</small></td>
137 <!-- Thread index page nav links if MULTIPG ever used.
138 This variable could be reference by list-specific resource files
139 if MULTIPG is activated.
144 <table width="100%" border=0 cellpadding=0 cellspacing=0>
146 <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
149 ><small>[<a href="$PG(TFIRST)$">First Page</a>]</small></td>
150 <td align="right"><small>$PGLINK(TPREV)$</small></td>
151 <td align="left"><small>$PGLINK(TNEXT)$</small></td>
152 <td align="right"><small>[<a href="$PG(TLAST)$">Last Page</a>]</small></td>
158 <!-- ================================================================== -->
159 <!-- General Resources -->
160 <!-- ================================================================== -->
162 <!-- Since we specify resource settings everytime, no need to save
163 them in archive database.
167 <!-- Arguments to content filters.
168 CAUTION: Verify options against security concerns and make
169 any changes accordingly.
172 m2h_external::filter; inline useicon
173 m2h_text_plain::filter; attachcheck quote maxwidth=80
174 m2h_text_html::filter; notitle
177 <!-- Stricter MSGSEP. Not important if CONLEN active.
178 XXX: Should this strict setting exist or should we just use
179 MHonArc's default value for MSGSEP as the default?
182 ^From \S+\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+
185 <!-- Icons settings copied from documentation. Works with
186 Apache server. Icons not used in index, but attachment
187 filter is given useicon argument. If Apache is not used,
188 or the icon URLs are different, this resource needs to
189 be changed or the useicon argument removed from
190 m2h_external::filter.
193 application/*;[20x22]/icons/generic.png
194 application/msword;[20x22]/icons/layout.png
195 application/postscript;[20x22]/icons/ps.png
196 application/rtf;[20x22]/icons/layout.png
197 application/x-csh;[20x22]/icons/script.png
198 application/x-dvi;[20x22]/icons/dvi.png
199 application/x-gtar;[20x22]/icons/tar.png
200 application/x-gzip;[20x22]/icons/compressed.png
201 application/x-ksh;[20x22]/icons/script.png
202 application/x-latex;[20x22]/icons/tex.png
203 application/octet-stream;[20x22]/icons/binary.png
204 application/x-patch;[20x22]/icons/patch.png
205 application/pdf;[20x22]/icons/pdf.png
206 application/x-script;[20x22]/icons/script.png
207 application/x-sh;[20x22]/icons/script.png
208 application/x-tar;[20x22]/icons/tar.png
209 application/x-tex;[20x22]/icons/tex.png
210 application/x-zip-compressed;[20x22]/icons/compressed.png
211 application/zip;[20x22]/icons/compressed.png
212 audio/*;[20x22]/icons/sound1.png
213 chemical/*;[20x22]/icons/sphere2.png
214 image/*;[20x22]/icons/image2.png
215 message/external-body;[20x22]/icons/link.png
216 multipart/*;[20x22]/icons/layout.png
217 text/*;[20x22]/icons/text.png
218 video/*;[20x22]/icons/movie.png
219 */*;[20x22]/icons/generic.png
222 <!-- ================================================================== -->
224 <!-- ================================================================== -->
226 <!-- Set sorting order of main index pages: Reverse chronological. -->
230 <!-- Show dates in local time. -->
233 <!-- Make date index the default page for the archive. -->
243 <!doctype html public "-//W3C//DTD HTML//EN">
246 <title>$IDXTITLE$</title>
247 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
248 <style> .nowrap { white-space: nowrap } </style>
252 <em>Archives are refreshed every 15 minutes - for details, please visit
253 <a href="http://@@FSF_DOMAIN@@/archive/html/">the main index</a>.</em>
255 You can also <a href="https://@@FSF_DOMAIN@@/archive/mbox/$LIST-NAME$/">download the archives in mbox format</a>.
257 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
258 <tr><td><table border=0 bgcolor="#FFFFCC">
259 <tr><td><big><big><b>$IDXTITLE$</b></big></big></td></tr></table></tr></table>
261 <small>$THREAD-IDX-LINK$[<a href="../"
262 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>][<a
263 href="//@@FSF_DOMAIN@@/mailman/listinfo/$LIST-NAME$">$LIST-NAME$ info page</a>]</small>
272 <td align="left">$PREV-PERIOD-LINK$</td>
273 <td align="center"><small
274 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
275 Messages in reverse chronological order</small></td>
276 <td align="right">$NEXT-PERIOD-LINK$</td>
279 <hr size="1" noshade>
283 <!-- Date listing is done in day groups with the each day listed in bold
284 and messages for that date listed under it.
287 <li><strong>$MSGLOCALDATE$</strong>
296 <li>$SUBJECT$, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%H:%M)$</tt></li>
301 <hr size="1" noshade>
304 <td align="left">$PREV-PERIOD-LINK$</td>
305 <td align="right">$NEXT-PERIOD-LINK$</td>
310 <!-- ================================================================== -->
311 <!-- Thread Index -->
312 <!-- ================================================================== -->
314 <!-- Reverse thread order. -->
317 <!-- Show no indicator of subject-based thread detection since most
319 NOTE: The blank line is important!
326 <!doctype html public "-//W3C//DTD HTML//EN">
329 <title>$TIDXTITLE$</title>
330 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
334 <em>Archives are refreshed every 15 minutes - for details, please visit <a
335 href="http://@@FSF_DOMAIN@@/archive/html/">the main index</a>.</em>
337 You can also <a href="https://@@FSF_DOMAIN@@/archive/mbox/$LIST-NAME$/">download the archives in mbox format</a>.
339 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
340 <tr><td><table border=0 bgcolor="#FFFFCC">
341 <tr><td><big><big><b>$TIDXTITLE$</b></big></big></td></tr></table></tr></table>
344 >$DATE-IDX-LINK$[<a href="../"
345 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
354 <td align="left">$TPREV-PERIOD-LINK$</td>
355 <td align="center"><small
356 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
357 Threads in reverse chronological order</small></td>
358 <td align="right">$TNEXT-PERIOD-LINK$</td>
361 <hr size="1" noshade>
366 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
370 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
374 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
379 <hr size="1" noshade>
382 <td align="left">$TPREV-PERIOD-LINK$</td>
383 <td align="right">$TNEXT-PERIOD-LINK$</td>
388 <!-- ================================================================== -->
389 <!-- Message Pages -->
390 <!-- ================================================================== -->
394 <!-- We clip the subject title to 72 characters to prevent ugly pages
395 due to very long subject lines. The full subject text will still
396 be shown in the formatted message header.
399 <!doctype html public "-//W3C//DTD HTML//EN">
402 <title>$SUBJECTNA:72$</title>
403 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
407 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
408 <tr><td><table border=0 bgcolor="#FFFFCC">
409 <tr><td><big><b>$LIST-TITLE$</b></big></td></tr></table></tr></table>
411 <small>[<a href="../"
412 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
420 $BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
421 href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
422 href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>]
426 <h2>$SUBJECTNA:72$</h2>
431 <td align="right" valign="top">
438 <!-- Format message header in a table. -->
452 <td align="right" valign="top">
477 <!-- Disable explicit follow-up/references section and use $TSLICE$ instead.
481 <!-- Set TSLICE resource to represent default $TSLICE$ behavior and
482 mainly to set the maximum message page update ranges when messages
483 are added to the archive. I.e. The before and after values
484 should represent the largest before and after values we will use
491 <!-- We set up slice formatting so current message in thread is not
492 hyperlinked and "greyed out". We could probably use CSS to
493 do this, but <font> seems to still work with most popular
501 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
502 <em>$FROMNAME$</em></font> <b><=</b>
506 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
507 <em>$FROMNAME$</em></font> <b><=</b>
511 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
512 <em>$FROMNAME$</em></font> <b><=</b>
513 </TSliceSingleTxtCur>
519 <!-- Modify end of message body to include thread slice. We also
520 include convenient next/prev-in-thread links since scanning
521 slice can be inconvenient for simple thread reading.
525 <form method="post" action="/mp/yyz.py" enctype="multipart/form-data">
526 <input type="hidden" name="a" value="$FROMADDRNAME$">
527 <input type="hidden" name="b" value="$SUBJECTNA$">
528 <input type="hidden" name="d" value="$MSGID$">
529 <input type="hidden" name="c" value="$FROMADDRDOMAIN$">
530 <center>reply via email to<br><input type="submit" value=" $FROMNAME$ "></center>
534 <tr><td align="left">$BUTTON(TPREVIN)$</td>
535 <td align="center"><b>Current Thread</b></td>
536 <td align="right">$BUTTON(TNEXTIN)$</td></tr></table>