remove address hiding
[mharc.git] / lib / common.mrc
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<!-- Added for rt#106039 -- bernie -->
35bbca1c 25<!-- And #592561 and #592561, importantly also adding the html header line below in IdxPgBegin and MsgPgBegin -- ward -->
01c223d0
BOFG
26<TextEncode>
27utf-8; MHonArc::UTF8::to_utf8; MHonArc/UTF8.pm
28</TextEncode>
29
30<-- With data translated to UTF-8, it simplifies CHARSETCONVERTERS -->
31<CharsetConverters override>
32default; mhonarc::htmlize
33</CharsetConverters>
34
35<-- Need to also register UTF-8-aware text clipping function -->
36<TextClipFunc>
37MHonArc::UTF8::clip; MHonArc/UTF8.pm
38</TextClipFunc>
39
40<!-- ================================================================== -->
41<!-- Custom Variable Defintions -->
42<!-- ================================================================== -->
43<!--
44 The following variables defined by the web-archive program
45 and not here:
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
51 CVS commit archives.
52 $PNAV-CGI$ URL to period navigation cgi program.
53 $SEARCH-CGI$ URL to search cgi program.
54 -->
55
01c223d0
BOFG
56<AddressModifyCode>
57$_ = 'address@hidden';
58</AddressModifyCode>
59
60<!-- Variables representing period links for index pages.
61 -->
62<DefineVar chop>
63PREV-PERIOD-LABEL
64Prev&nbsp;Period
65</DefineVar>
66
67<DefineVar chop>
68NEXT-PERIOD-LABEL
69Next&nbsp;Period
70</DefineVar>
71
72<DefineVar chop>
73PREV-PERIOD-LINK
74[<a href="$PNAV-CGI$?a=$LIST-NAME$&amp;m=$CUR-PERIOD$&amp;d=prev">$PREV-PERIOD-LABEL$</a>]
75</DefineVar>
76
77<DefineVar chop>
78NEXT-PERIOD-LINK
79[<a href="$PNAV-CGI$?a=$LIST-NAME$&amp;m=$CUR-PERIOD$&amp;d=next">$NEXT-PERIOD-LABEL$</a>]
80</DefineVar>
81
82<DefineVar chop>
83TPREV-PERIOD-LINK
84[<a href="$PNAV-CGI$?a=$LIST-NAME$&amp;m=$CUR-PERIOD$&amp;d=prev&amp;t=t">$PREV-PERIOD-LABEL$</a>]
85</DefineVar>
86
87<DefineVar chop>
88TNEXT-PERIOD-LINK
89[<a href="$PNAV-CGI$?a=$LIST-NAME$&amp;m=$CUR-PERIOD$&amp;d=next&amp;t=t">$NEXT-PERIOD-LABEL$</a>]
90</DefineVar>
91
92<!-- Variable representing markup of search form.
93 -->
94<DefineVar>
95SEARCH-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>
101</form>
102</DefineVar>
103
104<DefineVar chop>
105THREAD-IDX-LINK
106[<b><a href="$TIDXFNAME$">Thread&nbsp;Index</a></b>]
107</DefineVar>
108
109<DefineVar chop>
110DATE-IDX-LINK
111[<b><a href="$IDXFNAME$">Date&nbsp;Index</a></b>]
112</DefineVar>
113
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.
117 -->
118<DefineVar>
119MAIN-PAGE-LINKS
120<hr size=1 noshade>
121<table width="100%" border=0 cellpadding=0 cellspacing=0>
122<tr align="center">
123<th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
124<tr>
125<td align="left"
126><small>[<a href="$PG(FIRST)$">First&nbsp;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&nbsp;Page</a>]</small></td>
130</tr>
131</table>
132<hr size=1 noshade>
133</DefineVar>
134
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.
138 -->
139<DefineVar>
140THREAD-PAGE-LINKS
141<hr size=1 noshade>
142<table width="100%" border=0 cellpadding=0 cellspacing=0>
143<tr align="center">
144<th colspan=4><small>Page $PAGENUM$ of $NUMOFPAGES$</small></th>
145<tr>
146<td align="left"
147><small>[<a href="$PG(TFIRST)$">First&nbsp;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&nbsp;Page</a>]</small></td>
151</tr>
152</table>
153<hr size=1 noshade>
154</DefineVar>
155
156<!-- ================================================================== -->
157<!-- General Resources -->
158<!-- ================================================================== -->
159
160<!-- Since we specify resource settings everytime, no need to save
161 them in archive database.
162 -->
163<NoSaveResources>
164
165<!-- Arguments to content filters.
166 CAUTION: Verify options against security concerns and make
167 any changes accordingly.
168 -->
169<MIMEArgs override>
170m2h_external::filter; inline useicon
171m2h_text_plain::filter; attachcheck quote maxwidth=80
172m2h_text_html::filter; notitle
173</MIMEArgs>
174
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?
178 -->
179<MsgSep>
180^From \S+\s+\S+\s+\S+\s+\d+\s+\d+:\d+:\d+\s+\d+
181</MsgSep>
182
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.
189 -->
190<Icons>
191application/*;[20x22]/icons/generic.png
192application/msword;[20x22]/icons/layout.png
193application/postscript;[20x22]/icons/ps.png
194application/rtf;[20x22]/icons/layout.png
195application/x-csh;[20x22]/icons/script.png
196application/x-dvi;[20x22]/icons/dvi.png
197application/x-gtar;[20x22]/icons/tar.png
198application/x-gzip;[20x22]/icons/compressed.png
199application/x-ksh;[20x22]/icons/script.png
200application/x-latex;[20x22]/icons/tex.png
201application/octet-stream;[20x22]/icons/binary.png
202application/x-patch;[20x22]/icons/patch.png
203application/pdf;[20x22]/icons/pdf.png
204application/x-script;[20x22]/icons/script.png
205application/x-sh;[20x22]/icons/script.png
206application/x-tar;[20x22]/icons/tar.png
207application/x-tex;[20x22]/icons/tex.png
208application/x-zip-compressed;[20x22]/icons/compressed.png
209application/zip;[20x22]/icons/compressed.png
210audio/*;[20x22]/icons/sound1.png
211chemical/*;[20x22]/icons/sphere2.png
212image/*;[20x22]/icons/image2.png
213message/external-body;[20x22]/icons/link.png
214multipart/*;[20x22]/icons/layout.png
215text/*;[20x22]/icons/text.png
216video/*;[20x22]/icons/movie.png
217*/*;[20x22]/icons/generic.png
218</Icons>
219
220<!-- ================================================================== -->
221<!-- Main Index -->
222<!-- ================================================================== -->
223
224<!-- Set sorting order of main index pages: Reverse chronological. -->
225<Sort>
226<Reverse>
227
228<!-- Show dates in local time. -->
229<UseLocalTime>
230
231<!-- Make date index the default page for the archive. -->
232<IdxFName>
233index.html
234</IdxFName>
235
236<MsgLocalDateFmt>
237%B %d, %Y
238</MsgLocalDateFmt>
239
240<IdxPgBegin>
241<!doctype html public "-//W3C//DTD HTML//EN">
242<html>
243<head>
244<title>$IDXTITLE$</title>
35bbca1c 245<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
1d0a170d 246<style> .nowrap { white-space: nowrap } </style>
01c223d0
BOFG
247</head>
248<body>
249<center>
53064240 250<em>Archives are refreshed every 15 minutes - for details, please visit
01c223d0
BOFG
251<a href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
252<br>
51e3c501 253You can also <a href="https://lists.gnu.org/archive/mbox/$LIST-NAME$/">download the archives in mbox format</a>.
01c223d0
BOFG
254<p>
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>
1d0a170d
IK
258<div class="nowrap">
259<small>$THREAD-IDX-LINK$[<a href="../"
749e9814 260>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>][<a
1d0a170d
IK
261href="//lists.gnu.org/mailman/listinfo/$LIST-NAME$">$LIST-NAME$ info page</a>]</small>
262</div>
01c223d0
BOFG
263$SEARCH-FORM$
264</center>
265</IdxPgBegin>
266
267<ListBegin>
268<table width="100%">
269<tr valign="bottom">
1d0a170d 270<td align="left">$PREV-PERIOD-LINK$</td>
01c223d0
BOFG
271<td align="center"><small
272>Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
273Messages in reverse chronological order</small></td>
1d0a170d 274<td align="right">$NEXT-PERIOD-LINK$</td>
01c223d0
BOFG
275</tr>
276</table>
277<hr size="1" noshade>
278<ul>
279</ListBegin>
280
281<!-- Date listing is done in day groups with the each day listed in bold
282 and messages for that date listed under it.
283 -->
284<DayBegin>
285<li><strong>$MSGLOCALDATE$</strong>
286<ul>
287</DayBegin>
288
289<DayEnd>
1d0a170d 290</ul></li>
01c223d0
BOFG
291</DayEnd>
292
293<LITemplate>
294<li>$SUBJECT$, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%H:%M)$</tt></li>
295</LITemplate>
296
297<ListEnd>
298</ul>
299<hr size="1" noshade>
300<table width="100%">
301<tr valign="bottom">
1d0a170d
IK
302<td align="left">$PREV-PERIOD-LINK$</td>
303<td align="right">$NEXT-PERIOD-LINK$</td>
01c223d0
BOFG
304</tr>
305</table>
306</ListEnd>
307
308<!-- ================================================================== -->
309<!-- Thread Index -->
310<!-- ================================================================== -->
311
312<!-- Reverse thread order. -->
313<TReverse>
314
315<!-- Show no indicator of subject-based thread detection since most
316 people do not care.
317 NOTE: The blank line is important!
318 -->
319<TSubjectBeg>
320
321</TSubjectBeg>
322
323<TIdxPgBegin>
324<!doctype html public "-//W3C//DTD HTML//EN">
325<html>
326<head>
327<title>$TIDXTITLE$</title>
dedda27c 328<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
01c223d0
BOFG
329</head>
330<body>
331<center>
53064240 332<em>Archives are refreshed every 15 minutes - for details, please visit <a
01c223d0
BOFG
333href="http://lists.gnu.org/archive/html/">the main index</a>.</em>
334<br>
51e3c501 335You can also <a href="https://lists.gnu.org/archive/mbox/$LIST-NAME$/">download the archives in mbox format</a>.
01c223d0
BOFG
336<p>
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>
1d0a170d
IK
340<div class="nowrap">
341<small
01c223d0 342>$DATE-IDX-LINK$[<a href="../"
1d0a170d
IK
343>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
344</div>
01c223d0
BOFG
345$SEARCH-FORM$
346</center>
347</TIdxPgBegin>
348
349<THead>
350<table width="100%">
351<tr valign="bottom">
1d0a170d 352<td align="left">$TPREV-PERIOD-LINK$</td>
01c223d0
BOFG
353<td align="center"><small
354>Last Modified: $MSGLOCALDATE(LAST;%a %b %d %Y %H:%M:%S %z)$<br>
355Threads in reverse chronological order</small></td>
1d0a170d 356<td align="right">$TNEXT-PERIOD-LINK$</td>
01c223d0
BOFG
357</tr>
358</table>
359<hr size="1" noshade>
360<ul>
361</THead>
362
363<TTopBegin>
364<li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
365</TTopBegin>
366
367<TLiTxt>
368<li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
369</TLiTxt>
370
371<TSingleTxt>
372<li><b>$SUBJECT$</b>, <i>$FROMNAME$</i>, <tt>$MSGLOCALDATE(CUR;%Y/%m/%d)$</tt>
373</TSingleTxt>
374
375<TFoot>
376</ul>
377<hr size="1" noshade>
378<table width="100%">
379<tr valign="bottom">
1d0a170d
IK
380<td align="left">$TPREV-PERIOD-LINK$</td>
381<td align="right">$TNEXT-PERIOD-LINK$</td>
01c223d0
BOFG
382</tr>
383</table>
384</TFoot>
385
386<!-- ================================================================== -->
387<!-- Message Pages -->
388<!-- ================================================================== -->
389
390<ModTime>
391
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.
395 -->
396<MsgPgBegin>
397<!doctype html public "-//W3C//DTD HTML//EN">
398<html>
399<head>
400<title>$SUBJECTNA:72$</title>
35bbca1c 401<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
01c223d0
BOFG
402</head>
403<body>
404<center>
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>
1d0a170d
IK
408<div class="nowrap">
409<small>[<a href="../"
410>Top</a>][<a href="$ALL-LISTS-URL$">All Lists</a>]</small>
411</div>
01c223d0
BOFG
412$SEARCH-FORM$
413</center>
414</MsgPgBegin>
415
416<TopLinks>
417<hr>
418$BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a
419href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a
420href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>]
421</TopLinks>
422
423<SubjectHeader>
424<h2>$SUBJECTNA:72$</h2>
425<hr>
426<table border=0>
427<tbody>
428<tr>
429<td align="right" valign="top">
430<b>From</b>: </td>
431<td align="left">
432$FROMNAME$</td>
433</tr>
434</SubjectHeader>
435
436<!-- Format message header in a table. -->
437
438<FieldOrder>
439subject
440date
441user-agent
442</FieldOrder>
443
444<Fieldsbeg>
445
446</FieldsBeg>
447
448<LabelBeg>
449<tr>
450<td align="right" valign="top">
451</LabelBeg>
452
453<LabelEnd>
454: </td>
455</LabelEnd>
456
457<FldBeg>
458<td align="left">
459</FldBeg>
460
461<FldEnd>
462</td>
463</tr>
464</FldEnd>
465
466<FieldsEnd>
467</tbody>
468</table>
469</FieldsEnd>
470
471<LabelStyles>
472-default-:b
473</LabelStyles>
474
475<!-- Disable explicit follow-up/references section and use $TSLICE$ instead.
476 -->
477<NoFolRefs>
478
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
483 with $TSLICE$.
484 -->
485<TSlice>
48610:10:1
487</TSlice>
488
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
492 graphical browsers.
493 -->
494<TSliceBeg>
495<ul>
496</TSliceBeg>
497
498<TSliceTopBeginCur>
499<li><font color="#666666"><strong>$SUBJECTNA$</strong>,
500<em>$FROMNAME$</em></font>&nbsp;<b>&lt;=</b>
501</TSliceTopBeginCur>
502
503<TSliceLiTxtCur>
504<li><font color="#666666"><strong>$SUBJECTNA$</strong>,
505<em>$FROMNAME$</em></font>&nbsp;<b>&lt;=</b>
506</TSliceLiTxtCur>
507
508<TSliceSingleTxtCur>
509<li><font color="#666666"><strong>$SUBJECTNA$</strong>,
510<em>$FROMNAME$</em></font>&nbsp;<b>&lt;=</b>
511</TSliceSingleTxtCur>
512
513<TSliceEnd>
514</ul>
515</TSliceEnd>
516
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.
520 -->
521<MsgBodyEnd>
522<hr>
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>
529</form>
530<hr>
531<table width="100%">
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>
535$TSLICE$
536<hr>
537</MsgBodyEnd>