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 -->
26 utf-8; MHonArc::UTF8::to_utf8; MHonArc/UTF8.pm
29 <-- With data translated to UTF-8, it simplifies CHARSETCONVERTERS -->
30 <CharsetConverters override>
31 default; mhonarc::htmlize
34 <-- Need to also register UTF-8-aware text clipping function -->
36 MHonArc::UTF8::clip; MHonArc/UTF8.pm
39 <!-- ================================================================== -->
40 <!-- Custom Variable Defintions -->
41 <!-- ================================================================== -->
43 The following variables defined by the web-archive program
45 $ALL-LISTS-URL$ URL to all archive listing.
46 $CUR-PERIOD$ Current period in YYYY or YYYY-MM format.
47 $LIST-NAME$ Archive/list name and search index name.
48 $LIST-TITLE$ Archive/list title: generally equals
49 $LIST-NAME$, but can be different like for
51 $PNAV-CGI$ URL to period navigation cgi program.
52 $SEARCH-CGI$ URL to search cgi program.
58 $_ = 'address@hidden';
61 <!-- Variables representing period links for index pages.
75 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev">$PREV-PERIOD-LABEL$</a>]
80 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next">$NEXT-PERIOD-LABEL$</a>]
85 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev&t=t">$PREV-PERIOD-LABEL$</a>]
90 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next&t=t">$NEXT-PERIOD-LABEL$</a>]
93 <!-- Variable representing markup of search form.
97 <form method="get" action="$SEARCH-CGI$">
98 <input type="text" name="query" size="30">
99 <input type="submit" name="submit" value="Search">
100 <input type="hidden" name="idxname" value="$LIST-NAME$">
101 <a href="$SEARCH-CGI$?idxname=$LIST-NAME$">Advanced</a>
107 [<b><a href="$TIDXFNAME$">Thread Index</a></b>]
112 [<b><a href="$IDXFNAME$">Date Index</a></b>]
115 <!-- Main index page nav links if MULTIPG is ever used.
116 This variable could be reference by list-specific resource files
117 if MULTIPG is activated.
122 <table width="100%" border=0 cellpadding=0 cellspacing=0>
124 <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
127 ><small>[<a href="$PG(FIRST)$">First Page</a>]</small></td>
128 <td align="right"><small>$PGLINK(PREV)$</small></td>
129 <td align="left"><small>$PGLINK(NEXT)$</small></td>
130 <td align="right"><small>[<a href="$PG(LAST)$">Last Page</a>]</small></td>
136 <!-- Thread index page nav links if MULTIPG ever used.
137 This variable could be reference by list-specific resource files
138 if MULTIPG is activated.
143 <table width="100%" border=0 cellpadding=0 cellspacing=0>
145 <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
148 ><small>[<a href="$PG(TFIRST)$">First Page</a>]</small></td>
149 <td align="right"><small>$PGLINK(TPREV)$</small></td>
150 <td align="left"><small>$PGLINK(TNEXT)$</small></td>
151 <td align="right"><small>[<a href="$PG(TLAST)$">Last Page</a>]</small></td>
157 <!-- ================================================================== -->
158 <!-- General Resources -->
159 <!-- ================================================================== -->
161 <!-- Since we specify resource settings everytime, no need to save
162 them in archive database.
166 <!-- Arguments to content filters.
167 CAUTION: Verify options against security concerns and make
168 any changes accordingly.
171 m2h_external::filter; inline useicon
172 m2h_text_plain::filter; attachcheck quote maxwidth=80
173 m2h_text_html::filter; notitle
176 <!-- Stricter MSGSEP. Not important if CONLEN active.
177 XXX: Should this strict setting exist or should we just use
178 MHonArc's default value for MSGSEP as the default?
181 ^From \S+\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+
184 <!-- Icons settings copied from documentation. Works with
185 Apache server. Icons not used in index, but attachment
186 filter is given useicon argument. If Apache is not used,
187 or the icon URLs are different, this resource needs to
188 be changed or the useicon argument removed from
189 m2h_external::filter.
192 application/*;[20x22]/icons/generic.png
193 application/msword;[20x22]/icons/layout.png
194 application/postscript;[20x22]/icons/ps.png
195 application/rtf;[20x22]/icons/layout.png
196 application/x-csh;[20x22]/icons/script.png
197 application/x-dvi;[20x22]/icons/dvi.png
198 application/x-gtar;[20x22]/icons/tar.png
199 application/x-gzip;[20x22]/icons/compressed.png
200 application/x-ksh;[20x22]/icons/script.png
201 application/x-latex;[20x22]/icons/tex.png
202 application/octet-stream;[20x22]/icons/binary.png
203 application/x-patch;[20x22]/icons/patch.png
204 application/pdf;[20x22]/icons/pdf.png
205 application/x-script;[20x22]/icons/script.png
206 application/x-sh;[20x22]/icons/script.png
207 application/x-tar;[20x22]/icons/tar.png
208 application/x-tex;[20x22]/icons/tex.png
209 application/x-zip-compressed;[20x22]/icons/compressed.png
210 application/zip;[20x22]/icons/compressed.png
211 audio/*;[20x22]/icons/sound1.png
212 chemical/*;[20x22]/icons/sphere2.png
213 image/*;[20x22]/icons/image2.png
214 message/external-body;[20x22]/icons/link.png
215 multipart/*;[20x22]/icons/layout.png
216 text/*;[20x22]/icons/text.png
217 video/*;[20x22]/icons/movie.png
218 */*;[20x22]/icons/generic.png
221 <!-- ================================================================== -->
223 <!-- ================================================================== -->
225 <!-- Set sorting order of main index pages: Reverse chronological. -->
229 <!-- Show dates in local time. -->
232 <!-- Make date index the default page for the archive. -->
242 <!doctype html public "-//W3C//DTD HTML//EN">
245 <title>$IDXTITLE$</title>
249 <em>Archives are refreshed every 30 minutes - for details, please visit
250 <a href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
252 You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
254 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
255 <tr><td><table border=0 bgcolor="#FFFFCC">
256 <tr><td><big><big><b>$IDXTITLE$</b></big></big></td></tr></table></tr></table>
257 <small><nobr>$THREAD-IDX-LINK$[<a href="../"
258 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr
267 <td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td>
268 <td align="center"><small
269 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
270 Messages in reverse chronological order</small></td>
271 <td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
274 <hr size="1" noshade>
278 <!-- Date listing is done in day groups with the each day listed in bold
279 and messages for that date listed under it.
282 <li><strong>$MSGLOCALDATE$</strong>
291 <li>$SUBJECT$, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%H:%M)$</tt></li>
296 <hr size="1" noshade>
299 <td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td>
300 <td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
305 <!-- ================================================================== -->
306 <!-- Thread Index -->
307 <!-- ================================================================== -->
309 <!-- Reverse thread order. -->
312 <!-- Show no indicator of subject-based thread detection since most
314 NOTE: The blank line is important!
321 <!doctype html public "-//W3C//DTD HTML//EN">
324 <title>$TIDXTITLE$</title>
328 <em>Archives are refreshed every 30 minutes - for details, please visit <a
329 href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
331 You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
333 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
334 <tr><td><table border=0 bgcolor="#FFFFCC">
335 <tr><td><big><big><b>$TIDXTITLE$</b></big></big></td></tr></table></tr></table>
337 >$DATE-IDX-LINK$[<a href="../"
338 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr
347 <td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td>
348 <td align="center"><small
349 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
350 Threads in reverse chronological order</small></td>
351 <td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
354 <hr size="1" noshade>
359 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
363 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
367 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
372 <hr size="1" noshade>
375 <td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td>
376 <td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
381 <!-- ================================================================== -->
382 <!-- Message Pages -->
383 <!-- ================================================================== -->
387 <!-- We clip the subject title to 72 characters to prevent ugly pages
388 due to very long subject lines. The full subject text will still
389 be shown in the formatted message header.
392 <!doctype html public "-//W3C//DTD HTML//EN">
395 <title>$SUBJECTNA:72$</title>
399 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
400 <tr><td><table border=0 bgcolor="#FFFFCC">
401 <tr><td><big><b>$LIST-TITLE$</b></big></td></tr></table></tr></table>
402 <small><nobr>[<a href="../"
403 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small></nobr>
410 $BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
411 href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
412 href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>]
416 <h2>$SUBJECTNA:72$</h2>
421 <td align="right" valign="top">
428 <!-- Format message header in a table. -->
442 <td align="right" valign="top">
467 <!-- Disable explicit follow-up/references section and use $TSLICE$ instead.
471 <!-- Set TSLICE resource to represent default $TSLICE$ behavior and
472 mainly to set the maximum message page update ranges when messages
473 are added to the archive. I.e. The before and after values
474 should represent the largest before and after values we will use
481 <!-- We set up slice formatting so current message in thread is not
482 hyperlinked and "greyed out". We could probably use CSS to
483 do this, but <font> seems to still work with most popular
491 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
492 <em>$FROMNAME$</em></font> <b><=</b>
496 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
497 <em>$FROMNAME$</em></font> <b><=</b>
501 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
502 <em>$FROMNAME$</em></font> <b><=</b>
503 </TSliceSingleTxtCur>
509 <!-- Modify end of message body to include thread slice. We also
510 include convenient next/prev-in-thread links since scanning
511 slice can be inconvenient for simple thread reading.
515 <form method="post" action="/mp/yyz.py" enctype="multipart/form-data">
516 <input type="hidden" name="a" value="$FROMADDRNAME$">
517 <input type="hidden" name="b" value="$SUBJECTNA$">
518 <input type="hidden" name="d" value="$MSGID$">
519 <input type="hidden" name="c" value="$FROMADDRDOMAIN$">
520 <center>reply via email to<br><input type="submit" value=" $FROMNAME$ "></center>
524 <tr><td align="left">$BUTTON(TPREVIN)$</td>
525 <td align="center"><b>Current Thread</b></td>
526 <td align="right">$BUTTON(TNEXTIN)$</td></tr></table>