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.
57 $_ = 'address@hidden';
60 <!-- Variables representing period links for index pages.
74 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev">$PREV-PERIOD-LABEL$</a>]
79 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next">$NEXT-PERIOD-LABEL$</a>]
84 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev&t=t">$PREV-PERIOD-LABEL$</a>]
89 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next&t=t">$NEXT-PERIOD-LABEL$</a>]
92 <!-- Variable representing markup of search form.
96 <form method="get" action="$SEARCH-CGI$">
97 <input type="text" name="query" size="30">
98 <input type="submit" name="submit" value="Search">
99 <input type="hidden" name="idxname" value="$LIST-NAME$">
100 <a href="$SEARCH-CGI$?idxname=$LIST-NAME$">Advanced</a>
106 [<b><a href="$TIDXFNAME$">Thread Index</a></b>]
111 [<b><a href="$IDXFNAME$">Date Index</a></b>]
114 <!-- Main index page nav links if MULTIPG is ever used.
115 This variable could be reference by list-specific resource files
116 if MULTIPG is activated.
121 <table width="100%" border=0 cellpadding=0 cellspacing=0>
123 <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
126 ><small>[<a href="$PG(FIRST)$">First Page</a>]</small></td>
127 <td align="right"><small>$PGLINK(PREV)$</small></td>
128 <td align="left"><small>$PGLINK(NEXT)$</small></td>
129 <td align="right"><small>[<a href="$PG(LAST)$">Last Page</a>]</small></td>
135 <!-- Thread index page nav links if MULTIPG ever used.
136 This variable could be reference by list-specific resource files
137 if MULTIPG is activated.
142 <table width="100%" border=0 cellpadding=0 cellspacing=0>
144 <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
147 ><small>[<a href="$PG(TFIRST)$">First Page</a>]</small></td>
148 <td align="right"><small>$PGLINK(TPREV)$</small></td>
149 <td align="left"><small>$PGLINK(TNEXT)$</small></td>
150 <td align="right"><small>[<a href="$PG(TLAST)$">Last Page</a>]</small></td>
156 <!-- ================================================================== -->
157 <!-- General Resources -->
158 <!-- ================================================================== -->
160 <!-- Since we specify resource settings everytime, no need to save
161 them in archive database.
165 <!-- Arguments to content filters.
166 CAUTION: Verify options against security concerns and make
167 any changes accordingly.
170 m2h_external::filter; inline useicon
171 m2h_text_plain::filter; attachcheck quote maxwidth=80
172 m2h_text_html::filter; notitle
175 <!-- Stricter MSGSEP. Not important if CONLEN active.
176 XXX: Should this strict setting exist or should we just use
177 MHonArc's default value for MSGSEP as the default?
180 ^From \S+\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+
183 <!-- Icons settings copied from documentation. Works with
184 Apache server. Icons not used in index, but attachment
185 filter is given useicon argument. If Apache is not used,
186 or the icon URLs are different, this resource needs to
187 be changed or the useicon argument removed from
188 m2h_external::filter.
191 application/*;[20x22]/icons/generic.png
192 application/msword;[20x22]/icons/layout.png
193 application/postscript;[20x22]/icons/ps.png
194 application/rtf;[20x22]/icons/layout.png
195 application/x-csh;[20x22]/icons/script.png
196 application/x-dvi;[20x22]/icons/dvi.png
197 application/x-gtar;[20x22]/icons/tar.png
198 application/x-gzip;[20x22]/icons/compressed.png
199 application/x-ksh;[20x22]/icons/script.png
200 application/x-latex;[20x22]/icons/tex.png
201 application/octet-stream;[20x22]/icons/binary.png
202 application/x-patch;[20x22]/icons/patch.png
203 application/pdf;[20x22]/icons/pdf.png
204 application/x-script;[20x22]/icons/script.png
205 application/x-sh;[20x22]/icons/script.png
206 application/x-tar;[20x22]/icons/tar.png
207 application/x-tex;[20x22]/icons/tex.png
208 application/x-zip-compressed;[20x22]/icons/compressed.png
209 application/zip;[20x22]/icons/compressed.png
210 audio/*;[20x22]/icons/sound1.png
211 chemical/*;[20x22]/icons/sphere2.png
212 image/*;[20x22]/icons/image2.png
213 message/external-body;[20x22]/icons/link.png
214 multipart/*;[20x22]/icons/layout.png
215 text/*;[20x22]/icons/text.png
216 video/*;[20x22]/icons/movie.png
217 */*;[20x22]/icons/generic.png
220 <!-- ================================================================== -->
222 <!-- ================================================================== -->
224 <!-- Set sorting order of main index pages: Reverse chronological. -->
228 <!-- Show dates in local time. -->
231 <!-- Make date index the default page for the archive. -->
241 <!doctype html public "-//W3C//DTD HTML//EN">
244 <title>$IDXTITLE$</title>
245 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
246 <style> .nowrap { white-space: nowrap } </style>
250 <em>Archives are refreshed every 15 minutes - for details, please visit
251 <a href="http://lists.fsf.org/archive/html/">the main index</a>.</em>
253 You can also <a href="https://lists.fsf.org/archive/mbox/$LIST-NAME$/">download the archives in mbox format</a>.
255 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
256 <tr><td><table border=0 bgcolor="#FFFFCC">
257 <tr><td><big><big><b>$IDXTITLE$</b></big></big></td></tr></table></tr></table>
259 <small>$THREAD-IDX-LINK$[<a href="../"
260 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>][<a
261 href="//lists.fsf.org/mailman/listinfo/$LIST-NAME$">$LIST-NAME$ info page</a>]</small>
270 <td align="left">$PREV-PERIOD-LINK$</td>
271 <td align="center"><small
272 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
273 Messages in reverse chronological order</small></td>
274 <td align="right">$NEXT-PERIOD-LINK$</td>
277 <hr size="1" noshade>
281 <!-- Date listing is done in day groups with the each day listed in bold
282 and messages for that date listed under it.
285 <li><strong>$MSGLOCALDATE$</strong>
294 <li>$SUBJECT$, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%H:%M)$</tt></li>
299 <hr size="1" noshade>
302 <td align="left">$PREV-PERIOD-LINK$</td>
303 <td align="right">$NEXT-PERIOD-LINK$</td>
308 <!-- ================================================================== -->
309 <!-- Thread Index -->
310 <!-- ================================================================== -->
312 <!-- Reverse thread order. -->
315 <!-- Show no indicator of subject-based thread detection since most
317 NOTE: The blank line is important!
324 <!doctype html public "-//W3C//DTD HTML//EN">
327 <title>$TIDXTITLE$</title>
328 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
332 <em>Archives are refreshed every 15 minutes - for details, please visit <a
333 href="http://lists.fsf.org/archive/html/">the main index</a>.</em>
335 You can also <a href="https://lists.fsf.org/archive/mbox/$LIST-NAME$/">download the archives in mbox format</a>.
337 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
338 <tr><td><table border=0 bgcolor="#FFFFCC">
339 <tr><td><big><big><b>$TIDXTITLE$</b></big></big></td></tr></table></tr></table>
342 >$DATE-IDX-LINK$[<a href="../"
343 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
352 <td align="left">$TPREV-PERIOD-LINK$</td>
353 <td align="center"><small
354 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
355 Threads in reverse chronological order</small></td>
356 <td align="right">$TNEXT-PERIOD-LINK$</td>
359 <hr size="1" noshade>
364 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
368 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
372 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
377 <hr size="1" noshade>
380 <td align="left">$TPREV-PERIOD-LINK$</td>
381 <td align="right">$TNEXT-PERIOD-LINK$</td>
386 <!-- ================================================================== -->
387 <!-- Message Pages -->
388 <!-- ================================================================== -->
392 <!-- We clip the subject title to 72 characters to prevent ugly pages
393 due to very long subject lines. The full subject text will still
394 be shown in the formatted message header.
397 <!doctype html public "-//W3C//DTD HTML//EN">
400 <title>$SUBJECTNA:72$</title>
401 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
405 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
406 <tr><td><table border=0 bgcolor="#FFFFCC">
407 <tr><td><big><b>$LIST-TITLE$</b></big></td></tr></table></tr></table>
409 <small>[<a href="../"
410 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
418 $BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
419 href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
420 href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>]
424 <h2>$SUBJECTNA:72$</h2>
429 <td align="right" valign="top">
436 <!-- Format message header in a table. -->
450 <td align="right" valign="top">
475 <!-- Disable explicit follow-up/references section and use $TSLICE$ instead.
479 <!-- Set TSLICE resource to represent default $TSLICE$ behavior and
480 mainly to set the maximum message page update ranges when messages
481 are added to the archive. I.e. The before and after values
482 should represent the largest before and after values we will use
489 <!-- We set up slice formatting so current message in thread is not
490 hyperlinked and "greyed out". We could probably use CSS to
491 do this, but <font> seems to still work with most popular
499 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
500 <em>$FROMNAME$</em></font> <b><=</b>
504 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
505 <em>$FROMNAME$</em></font> <b><=</b>
509 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
510 <em>$FROMNAME$</em></font> <b><=</b>
511 </TSliceSingleTxtCur>
517 <!-- Modify end of message body to include thread slice. We also
518 include convenient next/prev-in-thread links since scanning
519 slice can be inconvenient for simple thread reading.
523 <form method="post" action="/mp/yyz.py" enctype="multipart/form-data">
524 <input type="hidden" name="a" value="$FROMADDRNAME$">
525 <input type="hidden" name="b" value="$SUBJECTNA$">
526 <input type="hidden" name="d" value="$MSGID$">
527 <input type="hidden" name="c" value="$FROMADDRDOMAIN$">
528 <center>reply via email to<br><input type="submit" value=" $FROMNAME$ "></center>
532 <tr><td align="left">$BUTTON(TPREVIN)$</td>
533 <td align="center"><b>Current Thread</b></td>
534 <td align="right">$BUTTON(TNEXTIN)$</td></tr></table>