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 <!-- ================================================================== -->
25 <!-- Custom Variable Defintions -->
26 <!-- ================================================================== -->
28 The following variables defined by the web-archive program
30 $ALL-LISTS-URL$ URL to all archive listing.
31 $CUR-PERIOD$ Current period in YYYY or YYYY-MM format.
32 $LIST-NAME$ Archive/list name and search index name.
33 $LIST-TITLE$ Archive/list title: generally equals
34 $LIST-NAME$, but can be different like for
36 $PNAV-CGI$ URL to period navigation cgi program.
37 $SEARCH-CGI$ URL to search cgi program.
43 $_ = 'address@hidden';
46 <!-- Variables representing period links for index pages.
60 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev">$PREV-PERIOD-LABEL$</a>]
65 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next">$NEXT-PERIOD-LABEL$</a>]
70 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=prev&t=t">$PREV-PERIOD-LABEL$</a>]
75 [<a href="$PNAV-CGI$?a=$LIST-NAME$&m=$CUR-PERIOD$&d=next&t=t">$NEXT-PERIOD-LABEL$</a>]
78 <!-- Variable representing markup of search form.
82 <form method="get" action="$SEARCH-CGI$">
83 <input type="text" name="query" size="30">
84 <input type="submit" name="submit" value="Search">
85 <input type="hidden" name="idxname" value="$LIST-NAME$">
86 <a href="$SEARCH-CGI$?idxname=$LIST-NAME$">Advanced</a>
92 [<b><a href="$TIDXFNAME$">Thread Index</a></b>]
97 [<b><a href="$IDXFNAME$">Date Index</a></b>]
100 <!-- Main index page nav links if MULTIPG is ever used.
101 This variable could be reference by list-specific resource files
102 if MULTIPG is activated.
107 <table width="100%" border=0 cellpadding=0 cellspacing=0>
109 <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
112 ><small>[<a href="$PG(FIRST)$">First Page</a>]</small></td>
113 <td align="right"><small>$PGLINK(PREV)$</small></td>
114 <td align="left"><small>$PGLINK(NEXT)$</small></td>
115 <td align="right"><small>[<a href="$PG(LAST)$">Last Page</a>]</small></td>
121 <!-- Thread index page nav links if MULTIPG ever used.
122 This variable could be reference by list-specific resource files
123 if MULTIPG is activated.
128 <table width="100%" border=0 cellpadding=0 cellspacing=0>
130 <th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
133 ><small>[<a href="$PG(TFIRST)$">First Page</a>]</small></td>
134 <td align="right"><small>$PGLINK(TPREV)$</small></td>
135 <td align="left"><small>$PGLINK(TNEXT)$</small></td>
136 <td align="right"><small>[<a href="$PG(TLAST)$">Last Page</a>]</small></td>
142 <!-- ================================================================== -->
143 <!-- General Resources -->
144 <!-- ================================================================== -->
146 <!-- Since we specify resource settings everytime, no need to save
147 them in archive database.
151 <!-- Arguments to content filters.
152 CAUTION: Verify options against security concerns and make
153 any changes accordingly.
156 m2h_external::filter; inline useicon
157 m2h_text_plain::filter; attachcheck quote maxwidth=80
158 m2h_text_html::filter; notitle
161 <!-- Stricter MSGSEP. Not important if CONLEN active.
162 XXX: Should this strict setting exist or should we just use
163 MHonArc's default value for MSGSEP as the default?
166 ^From \S+\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+
169 <!-- Icons settings copied from documentation. Works with
170 Apache server. Icons not used in index, but attachment
171 filter is given useicon argument. If Apache is not used,
172 or the icon URLs are different, this resource needs to
173 be changed or the useicon argument removed from
174 m2h_external::filter.
177 application/*;[20x22]/icons/generic.png
178 application/msword;[20x22]/icons/layout.png
179 application/postscript;[20x22]/icons/ps.png
180 application/rtf;[20x22]/icons/layout.png
181 application/x-csh;[20x22]/icons/script.png
182 application/x-dvi;[20x22]/icons/dvi.png
183 application/x-gtar;[20x22]/icons/tar.png
184 application/x-gzip;[20x22]/icons/compressed.png
185 application/x-ksh;[20x22]/icons/script.png
186 application/x-latex;[20x22]/icons/tex.png
187 application/octet-stream;[20x22]/icons/binary.png
188 application/x-patch;[20x22]/icons/patch.png
189 application/pdf;[20x22]/icons/pdf.png
190 application/x-script;[20x22]/icons/script.png
191 application/x-sh;[20x22]/icons/script.png
192 application/x-tar;[20x22]/icons/tar.png
193 application/x-tex;[20x22]/icons/tex.png
194 application/x-zip-compressed;[20x22]/icons/compressed.png
195 application/zip;[20x22]/icons/compressed.png
196 audio/*;[20x22]/icons/sound1.png
197 chemical/*;[20x22]/icons/sphere2.png
198 image/*;[20x22]/icons/image2.png
199 message/external-body;[20x22]/icons/link.png
200 multipart/*;[20x22]/icons/layout.png
201 text/*;[20x22]/icons/text.png
202 video/*;[20x22]/icons/movie.png
203 */*;[20x22]/icons/generic.png
206 <!-- ================================================================== -->
208 <!-- ================================================================== -->
210 <!-- Set sorting order of main index pages: Reverse chronological. -->
214 <!-- Show dates in local time. -->
217 <!-- Make date index the default page for the archive. -->
227 <!doctype html public "-//W3C//DTD HTML//EN">
230 <title>$IDXTITLE$</title>
234 <em>Archives are refreshed every 30 minutes - for details, please visit
235 <a href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
237 You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
239 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
240 <tr><td><table border=0 bgcolor="#FFFFCC">
241 <tr><td><big><big><b>$IDXTITLE$</b></big></big></td></tr></table></tr></table>
242 <small><nobr>$THREAD-IDX-LINK$[<a href="../"
243 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr
252 <td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td>
253 <td align="center"><small
254 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
255 Messages in reverse chronological order</small></td>
256 <td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
259 <hr size="1" noshade>
263 <!-- Date listing is done in day groups with the each day listed in bold
264 and messages for that date listed under it.
267 <li><strong>$MSGLOCALDATE$</strong>
276 <li>$SUBJECT$, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%H:%M)$</tt></li>
281 <hr size="1" noshade>
284 <td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td>
285 <td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
290 <!-- ================================================================== -->
291 <!-- Thread Index -->
292 <!-- ================================================================== -->
294 <!-- Reverse thread order. -->
297 <!-- Show no indicator of subject-based thread detection since most
299 NOTE: The blank line is important!
306 <!doctype html public "-//W3C//DTD HTML//EN">
309 <title>$TIDXTITLE$</title>
313 <em>Archives are refreshed every 30 minutes - for details, please visit <a
314 href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
316 You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
318 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
319 <tr><td><table border=0 bgcolor="#FFFFCC">
320 <tr><td><big><big><b>$TIDXTITLE$</b></big></big></td></tr></table></tr></table>
322 >$DATE-IDX-LINK$[<a href="../"
323 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr
332 <td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td>
333 <td align="center"><small
334 >Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
335 Threads in reverse chronological order</small></td>
336 <td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
339 <hr size="1" noshade>
344 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
348 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
352 <li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
357 <hr size="1" noshade>
360 <td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td>
361 <td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
366 <!-- ================================================================== -->
367 <!-- Message Pages -->
368 <!-- ================================================================== -->
372 <!-- We clip the subject title to 72 characters to prevent ugly pages
373 due to very long subject lines. The full subject text will still
374 be shown in the formatted message header.
377 <!doctype html public "-//W3C//DTD HTML//EN">
380 <title>$SUBJECTNA:72$</title>
384 <table border=0 cellspacing=2 cellpadding=0 bgcolor="#000000">
385 <tr><td><table border=0 bgcolor="#FFFFCC">
386 <tr><td><big><b>$LIST-TITLE$</b></big></td></tr></table></tr></table>
387 <small><nobr>[<a href="../"
388 >Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small></nobr>
395 $BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
396 href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
397 href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>]
401 <h2>$SUBJECTNA:72$</h2>
406 <td align="right" valign="top">
413 <!-- Format message header in a table. -->
427 <td align="right" valign="top">
452 <!-- Disable explicit follow-up/references section and use $TSLICE$ instead.
456 <!-- Set TSLICE resource to represent default $TSLICE$ behavior and
457 mainly to set the maximum message page update ranges when messages
458 are added to the archive. I.e. The before and after values
459 should represent the largest before and after values we will use
466 <!-- We set up slice formatting so current message in thread is not
467 hyperlinked and "greyed out". We could probably use CSS to
468 do this, but <font> seems to still work with most popular
476 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
477 <em>$FROMNAME$</em></font> <b><=</b>
481 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
482 <em>$FROMNAME$</em></font> <b><=</b>
486 <li><font color="#666666"><strong>$SUBJECTNA$</strong>,
487 <em>$FROMNAME$</em></font> <b><=</b>
488 </TSliceSingleTxtCur>
494 <!-- Modify end of message body to include thread slice. We also
495 include convenient next/prev-in-thread links since scanning
496 slice can be inconvenient for simple thread reading.
500 <form method="post" action="/mp/yyz.py" enctype="multipart/form-data">
501 <input type="hidden" name="a" value="$FROMADDRNAME$">
502 <input type="hidden" name="b" value="$SUBJECTNA$">
503 <input type="hidden" name="d" value="$MSGID$">
504 <input type="hidden" name="c" value="$FROMADDRDOMAIN$">
505 <center>reply via email to<br><input type="submit" value=" $FROMNAME$ "></center>
509 <tr><td align="left">$BUTTON(TPREVIN)$</td>
510 <td align="center"><b>Current Thread</b></td>
511 <td align="right">$BUTTON(TNEXTIN)$</td></tr></table>