remove useless duplicate file
[mharc.git] / lib / common.mrc.in
CommitLineData
01c223d0
BOFG
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 -->
4<!-- Description:
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
9 program.
10 -->
11<!-- ================================================================== -->
12
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.
16 -->
17<ConLen>
18
19<!-- Added POSIXSTRFTIME so that we can print out timezone specs for
20 archive generation (RT #244804) - baughj, 2005.06.16
21 -->
22<POSIXSTRFTIME>
23
24<!-- ================================================================== -->
25<!-- Custom Variable Defintions -->
26<!-- ================================================================== -->
27<!--
28 The following variables defined by the web-archive program
29 and not here:
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
35 CVS commit archives.
36 $PNAV-CGI$ URL to period navigation cgi program.
37 $SEARCH-CGI$ URL to search cgi program.
38 -->
39
40<SPAMMODE>
41
42<AddressModifyCode>
43$_ = 'address@hidden';
44</AddressModifyCode>
45
46<!-- Variables representing period links for index pages.
47 -->
48<DefineVar chop>
49PREV-PERIOD-LABEL
50Prev&nbsp;Period
51</DefineVar>
52
53<DefineVar chop>
54NEXT-PERIOD-LABEL
55Next&nbsp;Period
56</DefineVar>
57
58<DefineVar chop>
59PREV-PERIOD-LINK
60[<a href="$PNAV-CGI$?a=$LIST-NAME$&amp;m=$CUR-PERIOD$&amp;d=prev">$PREV-PERIOD-LABEL$</a>]
61</DefineVar>
62
63<DefineVar chop>
64NEXT-PERIOD-LINK
65[<a href="$PNAV-CGI$?a=$LIST-NAME$&amp;m=$CUR-PERIOD$&amp;d=next">$NEXT-PERIOD-LABEL$</a>]
66</DefineVar>
67
68<DefineVar chop>
69TPREV-PERIOD-LINK
70[<a href="$PNAV-CGI$?a=$LIST-NAME$&amp;m=$CUR-PERIOD$&amp;d=prev&amp;t=t">$PREV-PERIOD-LABEL$</a>]
71</DefineVar>
72
73<DefineVar chop>
74TNEXT-PERIOD-LINK
75[<a href="$PNAV-CGI$?a=$LIST-NAME$&amp;m=$CUR-PERIOD$&amp;d=next&amp;t=t">$NEXT-PERIOD-LABEL$</a>]
76</DefineVar>
77
78<!-- Variable representing markup of search form.
79 -->
80<DefineVar>
81SEARCH-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>
87</form>
88</DefineVar>
89
90<DefineVar chop>
91THREAD-IDX-LINK
92[<b><a href="$TIDXFNAME$">Thread&nbsp;Index</a></b>]
93</DefineVar>
94
95<DefineVar chop>
96DATE-IDX-LINK
97[<b><a href="$IDXFNAME$">Date&nbsp;Index</a></b>]
98</DefineVar>
99
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.
103 -->
104<DefineVar>
105MAIN-PAGE-LINKS
106<hr size=1 noshade>
107<table width="100%" border=0 cellpadding=0 cellspacing=0>
108<tr align="center">
109<th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
110<tr>
111<td align="left"
112><small>[<a href="$PG(FIRST)$">First&nbsp;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&nbsp;Page</a>]</small></td>
116</tr>
117</table>
118<hr size=1 noshade>
119</DefineVar>
120
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.
124 -->
125<DefineVar>
126THREAD-PAGE-LINKS
127<hr size=1 noshade>
128<table width="100%" border=0 cellpadding=0 cellspacing=0>
129<tr align="center">
130<th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
131<tr>
132<td align="left"
133><small>[<a href="$PG(TFIRST)$">First&nbsp;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&nbsp;Page</a>]</small></td>
137</tr>
138</table>
139<hr size=1 noshade>
140</DefineVar>
141
142<!-- ================================================================== -->
143<!-- General Resources -->
144<!-- ================================================================== -->
145
146<!-- Since we specify resource settings everytime, no need to save
147 them in archive database.
148 -->
149<NoSaveResources>
150
151<!-- Arguments to content filters.
152 CAUTION: Verify options against security concerns and make
153 any changes accordingly.
154 -->
155<MIMEArgs override>
156m2h_external::filter; inline useicon
157m2h_text_plain::filter; attachcheck quote maxwidth=80
158m2h_text_html::filter; notitle
159</MIMEArgs>
160
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?
164 -->
165<MsgSep>
166^From \S+\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+
167</MsgSep>
168
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.
175 -->
176<Icons>
177application/*;[20x22]/icons/generic.png
178application/msword;[20x22]/icons/layout.png
179application/postscript;[20x22]/icons/ps.png
180application/rtf;[20x22]/icons/layout.png
181application/x-csh;[20x22]/icons/script.png
182application/x-dvi;[20x22]/icons/dvi.png
183application/x-gtar;[20x22]/icons/tar.png
184application/x-gzip;[20x22]/icons/compressed.png
185application/x-ksh;[20x22]/icons/script.png
186application/x-latex;[20x22]/icons/tex.png
187application/octet-stream;[20x22]/icons/binary.png
188application/x-patch;[20x22]/icons/patch.png
189application/pdf;[20x22]/icons/pdf.png
190application/x-script;[20x22]/icons/script.png
191application/x-sh;[20x22]/icons/script.png
192application/x-tar;[20x22]/icons/tar.png
193application/x-tex;[20x22]/icons/tex.png
194application/x-zip-compressed;[20x22]/icons/compressed.png
195application/zip;[20x22]/icons/compressed.png
196audio/*;[20x22]/icons/sound1.png
197chemical/*;[20x22]/icons/sphere2.png
198image/*;[20x22]/icons/image2.png
199message/external-body;[20x22]/icons/link.png
200multipart/*;[20x22]/icons/layout.png
201text/*;[20x22]/icons/text.png
202video/*;[20x22]/icons/movie.png
203*/*;[20x22]/icons/generic.png
204</Icons>
205
206<!-- ================================================================== -->
207<!-- Main Index -->
208<!-- ================================================================== -->
209
210<!-- Set sorting order of main index pages: Reverse chronological. -->
211<Sort>
212<Reverse>
213
214<!-- Show dates in local time. -->
215<UseLocalTime>
216
217<!-- Make date index the default page for the archive. -->
218<IdxFName>
219index.html
220</IdxFName>
221
222<MsgLocalDateFmt>
223%B %d, %Y
224</MsgLocalDateFmt>
225
226<IdxPgBegin>
227<!doctype html public "-//W3C//DTD HTML//EN">
228<html>
229<head>
230<title>$IDXTITLE$</title>
231</head>
232<body>
233<center>
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>
236<br>
237You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
238<p>
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
244></small>
245$SEARCH-FORM$
246</center>
247</IdxPgBegin>
248
249<ListBegin>
250<table width="100%">
251<tr valign="bottom">
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>
255Messages in reverse chronological order</small></td>
256<td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
257</tr>
258</table>
259<hr size="1" noshade>
260<ul>
261</ListBegin>
262
263<!-- Date listing is done in day groups with the each day listed in bold
264 and messages for that date listed under it.
265 -->
266<DayBegin>
267<li><strong>$MSGLOCALDATE$</strong>
268<ul>
269</DayBegin>
270
271<DayEnd>
1d0a170d 272</ul></li>
01c223d0
BOFG
273</DayEnd>
274
275<LITemplate>
276<li>$SUBJECT$, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%H:%M)$</tt></li>
277</LITemplate>
278
279<ListEnd>
280</ul>
281<hr size="1" noshade>
282<table width="100%">
283<tr valign="bottom">
284<td align="left"><nobr>$PREV-PERIOD-LINK$</nobr></td>
285<td align="right"><nobr>$NEXT-PERIOD-LINK$</nobr></td>
286</tr>
287</table>
288</ListEnd>
289
290<!-- ================================================================== -->
291<!-- Thread Index -->
292<!-- ================================================================== -->
293
294<!-- Reverse thread order. -->
295<TReverse>
296
297<!-- Show no indicator of subject-based thread detection since most
298 people do not care.
299 NOTE: The blank line is important!
300 -->
301<TSubjectBeg>
302
303</TSubjectBeg>
304
305<TIdxPgBegin>
306<!doctype html public "-//W3C//DTD HTML//EN">
307<html>
308<head>
309<title>$TIDXTITLE$</title>
310</head>
311<body>
312<center>
313<em>Archives are refreshed every 30 minutes - for details, please visit <a
314href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
315<br>
316You can also <a href="ftp://lists.gnu.org/$LIST-NAME$/">download the archives in mbox format</a>.</em>
317<p>
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>
321<small><nobr
322>$DATE-IDX-LINK$[<a href="../"
323>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</nobr
324></small>
325$SEARCH-FORM$
326</center>
327</TIdxPgBegin>
328
329<THead>
330<table width="100%">
331<tr valign="bottom">
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>
335Threads in reverse chronological order</small></td>
336<td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
337</tr>
338</table>
339<hr size="1" noshade>
340<ul>
341</THead>
342
343<TTopBegin>
344<li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
345</TTopBegin>
346
347<TLiTxt>
348<li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
349</TLiTxt>
350
351<TSingleTxt>
352<li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
353</TSingleTxt>
354
355<TFoot>
356</ul>
357<hr size="1" noshade>
358<table width="100%">
359<tr valign="bottom">
360<td align="left"><nobr>$TPREV-PERIOD-LINK$</nobr></td>
361<td align="right"><nobr>$TNEXT-PERIOD-LINK$</nobr></td>
362</tr>
363</table>
364</TFoot>
365
366<!-- ================================================================== -->
367<!-- Message Pages -->
368<!-- ================================================================== -->
369
370<ModTime>
371
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.
375 -->
376<MsgPgBegin>
377<!doctype html public "-//W3C//DTD HTML//EN">
378<html>
379<head>
380<title>$SUBJECTNA:72$</title>
381</head>
382<body>
383<center>
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="../"
1d0a170d
IK
388>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>][<a
389href="//lists.gnu.org/mailman/listinfo/$LIST-NAME$">$LIST-NAME$ info page</a>]</small></nobr>
01c223d0
BOFG
390$SEARCH-FORM$
391</center>
392</MsgPgBegin>
393
394<TopLinks>
395<hr>
396$BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
397href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
398href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>]
399</TopLinks>
400
401<SubjectHeader>
402<h2>$SUBJECTNA:72$</h2>
403<hr>
404<table border=0>
405<tbody>
406<tr>
407<td align="right" valign="top">
408<b>From</b>: </td>
409<td align="left">
410$FROMNAME$</td>
411</tr>
412</SubjectHeader>
413
414<!-- Format message header in a table. -->
415
416<FieldOrder>
417subject
418date
419user-agent
420</FieldOrder>
421
422<Fieldsbeg>
423
424</FieldsBeg>
425
426<LabelBeg>
427<tr>
428<td align="right" valign="top">
429</LabelBeg>
430
431<LabelEnd>
432: </td>
433</LabelEnd>
434
435<FldBeg>
436<td align="left">
437</FldBeg>
438
439<FldEnd>
440</td>
441</tr>
442</FldEnd>
443
444<FieldsEnd>
445</tbody>
446</table>
447</FieldsEnd>
448
449<LabelStyles>
450-default-:b
451</LabelStyles>
452
453<!-- Disable explicit follow-up/references section and use $TSLICE$ instead.
454 -->
455<NoFolRefs>
456
457<!-- Set TSLICE resource to represent default $TSLICE$ behavior and
458 mainly to set the maximum message page update ranges when messages
459 are added to the archive. I.e. The before and after values
460 should represent the largest before and after values we will use
461 with $TSLICE$.
462 -->
463<TSlice>
46410:10:1
465</TSlice>
466
467<!-- We set up slice formatting so current message in thread is not
468 hyperlinked and "greyed out". We could probably use CSS to
469 do this, but <font> seems to still work with most popular
470 graphical browsers.
471 -->
472<TSliceBeg>
473<ul>
474</TSliceBeg>
475
476<TSliceTopBeginCur>
477<li><font color="#666666"><strong>$SUBJECTNA$</strong>,
478<em>$FROMNAME$</em></font>&nbsp;<b>&lt;=</b>
479</TSliceTopBeginCur>
480
481<TSliceLiTxtCur>
482<li><font color="#666666"><strong>$SUBJECTNA$</strong>,
483<em>$FROMNAME$</em></font>&nbsp;<b>&lt;=</b>
484</TSliceLiTxtCur>
485
486<TSliceSingleTxtCur>
487<li><font color="#666666"><strong>$SUBJECTNA$</strong>,
488<em>$FROMNAME$</em></font>&nbsp;<b>&lt;=</b>
489</TSliceSingleTxtCur>
490
491<TSliceEnd>
492</ul>
493</TSliceEnd>
494
495<!-- Modify end of message body to include thread slice. We also
496 include convenient next/prev-in-thread links since scanning
497 slice can be inconvenient for simple thread reading.
498 -->
499<MsgBodyEnd>
500<hr>
501<form method="post" action="/mp/yyz.py" enctype="multipart/form-data">
502<input type="hidden" name="a" value="$FROMADDRNAME$">
503<input type="hidden" name="b" value="$SUBJECTNA$">
504<input type="hidden" name="d" value="$MSGID$">
505<input type="hidden" name="c" value="$FROMADDRDOMAIN$">
506<center>reply via email to<br><input type="submit" value=" $FROMNAME$ "></center>
507</form>
508<hr>
509<table width="100%">
510<tr><td align="left">$BUTTON(TPREVIN)$</td>
511<td align="center"><b>Current Thread</b></td>
512<td align="right">$BUTTON(TNEXTIN)$</td></tr></table>
513$TSLICE$
514<hr>
515</MsgBodyEnd>